Jump to content


Check out our Community Blogs





- - - - -

Day 5 - Electricity is shocking!

Posted by Sundance, 10 January 2014 · 3404 views

accidents electric buzz
First of all I would like to say that I may or may not have electrocuted myself but if I did do so it was for research purposes and not an accident at all, I am not stupid* enough to touch two wires that when connected will produce a current. Albeit it was only a small current I did feel it and it felt good.

*Subject to daily basis and amount of alcohol consumed.

Now I did say I would post pictures and source code when it was completed and I will, when it is completed I will but for now I will give you an idea of how the source code will work using some psuedocode I say pseudo what I really mean is just a real rough code layout.
Psuedo code for the email script

X = 0
While True:
    if new email = false:
        check email
        wait 10 minutes
        run IF statement again
    else if new email = True:
        blink RED LED
        check how many new emails
        mail = how many new emails
        X = X + mail
        print "You have X" mail
        prompt user to press enter
        return to start of loop
So it will run in a continuous loop and only really execute if a new email is detected, when I finish writing it all out and comment it all for easy readability I will share it (I'm not a fan of posting half written code)

So that is all there really is to it in terms of things to aim for, no doubt I will figure out more things to add to it but we will go from there! I will blog about the download script on day 6 and my progress on it.

  • 0



 

Albeit it was only a small current I did feel it and it felt good.

 

As an electrician, you have no idea how funny this is to me. :biggrin:

    • 1

It was only about 5v

    • 0

5V is safe as socks, often the voltage inducing current required to surpass the threshold of sensation is anywhere from 12V on a hot, sweaty day to 30-80V in a dry environment. This is DC, AC is worse, you've nothing to fear from 5V though aside from shorting something out and having a burn, but those are what (resettable) fuses are for.

 

The code looks great. You could implement the loop's logic in many ways, so it will be fascinating how you do it.

    • 2

Here is some safety tips when working with electricity:

    • 2

Good to see that you are making progress with this project...can't wait to see how it turns out! And glad that you haven't electrocuted you self!

 

 

Albeit it was only a small current I did feel it and it felt good.

 

As an electrician, you have no idea how funny this is to me. :biggrin:

 

I got a chuckle out of that too lol.

    • 0

Could you even feel 5v? (unless it was on your tongue...)

 

The last "shock" I got was from our diswasher which was plugged into a socket with faulty earth. The lack of earth gave a floating a/v voltage, If I remember was less that 20v. It was very odd as I could feel my hand vibrating due to it... 

 

Glad I've never had anything bigger...

    • 0

i get shocked from time to time, as what i generally mess around with is 120-480v. Fun stuff.

    • 0

You can sense the voltage but you won't really 'feel' it if that makes sense? Like how you can feel sand is hard but it is not really noticeable if you only have a few grains in your fingers.

 

Thanks for all the positive replies guys! I'm currently messing around with it now so I'll let you know more soon!

    • 0
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download