Category Archives: Blog

The Story of Electricity Pt1

The Story of Electricity Part 1

Published on Nov 19, 2012

Shock and Awe – The Story of Electricity. Spark: Jim Al-Khalili tells how the first ‘natural philosophers’ began to unlock electricity’s mysteries, studying its curious link to life and building instruments to create it

Capacitance of a human body

by Paul E. Schoen of P S Technology, Inc.

There is some more information [regarding the resistance of a human body] at , where it states that the external human body resistance is about 1k to 100k Ohms, and the internal resistance is 300 to 1000 ohms. Only a thin layer of dry skin separates the internal resistance from an external object.

The human body capacitance to a far ground is 100-200 pF, which is really a minimum value. This correlates to an impedance of about 13 megohms at 60 Hz, which corresponds to a minimum of 9 uA at 120 VAC to ground. This is enough to be sensed and used for capacitively operated light dimmers.

Here is a way to measure your body capacitance:

The inside of your body can be considered a conductor, and thus if you place your hand flat on a metal plate, you will form a capacitor with an area of perhaps 15 square inches, with a thin (maybe 0.005”) insulating layer of dry skin, which will form a capacitor much higher in value than the 200 pF stated above. According to a formula in , this would be C = 0.2249 * k * A / d = 1350 pF, (assuming k for skin is 2, about like dry paper). This will be an impedance of about 2 megohms , and current of 60 uA. This is still below the normal threshold of sensation, and still far below the usual safe current levels of 1 to 5 mA.

The actual thickness of the epidermis (per ) varies from 0.05 mm (0.002”) for eyelids to 1.5 mm (0.06”) for palms and soles, but the actual outer layer of the epidermis that is a good insulator is composed of flat, dead cells, which is much thinner. So the capacitance could be much higher than the quick estimate above.

Probably the main reason for electrical current to reach levels high enough for electrocution to occur (6 to 200 mA for 3 seconds, according to ), is when skin becomes sweaty or otherwise loses its dry protective layer, which quickly exposes the underlying 1000 ohms or less, which will conduct 120 mA at 120 VAC.

There are safe ways to measure the body’s resistance and capacitance using realistic higher voltages, skin conditions, and contact surfaces, but I’m not going to suggest anyone try it. Suffice it to say that ohmmeter readings are misleading, and any carelessness around any kind of voltage source can be dangerous.

For very high voltages, there are standard minimum distances that must be maintained between a worker and an energized line: . I found this on a search for rubber glove testing.

The field intensity near high voltage lines is so great that it might be fatal to touch them even if you were suspended in free air. You may notice that birds can sit on lower voltage transmission lines which are 5kV to 50 kV or so, but not on 200kV+ lines.

Minimus 32 Dev Board – LUFA drivers and Atmel Studio 6.1

So I bought a Minimus32 Development board from [shortlink url=”” title=”Mod Traders”]


Couple of reasons for the purchase, Its was cheap, and it had a small processor and USB support out of the box.

OK, 1 and 2 are true, 3 is a little more complex.

After trawling the internet All I found was out of date information, information on the original Minimus board, or information using an old version of Atmels IDE. Having struggled in the past with old IDE’s I decided to use the newest one and brave it out.

So, For Windows…

You can download Atmel’s latest IDE free from here [shortlink url=”” title=””] It is a Visual Studio based IDE and looks pretty good. Unfortunately there is no support for the bootloader contained in the minimus32 board.

So to get a hex image onto the Minimus 32 you need Flip downloadable for free here [shortlink url=”” title=””]

Braving the new environment I cut and pasted a demo code sample (blink )

#include <avr/io.h>
#define F_CPU 16.000E6
#include <util/delay.h>
#include <avr/wdt.h>

void init_ports(void)
PORTB = 0b00000000;
DDRB = 0b00000000;

PORTC = 0b00000000;
DDRC = 0b00000000;

PORTD = 0b00000000;
DDRD = 0b01100000;      // Set LEDs as output

int main(void)
MCUSR &= ~(1 << WDRF);

if (PIND & 0b10000000) {
PORTD = PORTD & ~0b01000000;
PORTD = PORTD |  0b00100000;

PORTD = PORTD & ~0b00100000;
PORTD = PORTD |  0b01000000;
} else {
PORTD = PORTD | 0b01100000;

I set the uP to ATMEGA32U2 hit build and It compiled first time.

Went into Flip, loaded the .hex file and sent it to the Minmus32. After a little playing with the buttons it ran.

(Tip: to put the Minimus into “Load” mode you need to press RESET, press HWB, release RESET and release HWB, just roll your finger over the buttons)

So a USB example.

I found that you can get the latest version of the LUFA libraries from here [shortlink url=”” title=””] and the are already formatted for Studio 6

Loaded the Libraries and tried the demo project for USB to RS232

It compiled, but wouldn’t run.

Cutting a long story short there were a number of things wrong. The Processor speed was incorrect, the target board wasn’t set correctly and the LUFA libraries didn’t contain the code specific to the Minimus32 Board.

So. to fix these.

In Atmel Studio 6, Goto Project->Toolchain -> AVR/GNU C Compiler -> Symbols

Ensure they look like this


Stand on Teslacoil


[shortlink url=”” title=”Continued From V8 Tesla Engine”]

After playing with the V8 Tesla engine I realised that I could build a stand on tesla coil. The lack of mains power could make this “fairly” safe.

So I started with a topload that was big enough and strong enough to stand on. I started with a pair of 110mm PVC tubes and joined them together. The thought was to make an oval tesla coil (big mistake).

After winding the secondary, by hand (1000T of 0.33mm wire ) on to the former I started to realise that there was a problem, the wire stretched slightly and started to sag between the two tubes. To give the wire some support I wound PVC tape around the coils as I completed them. This was partially successful, but as I had nothing to loose so I continued.


The Topload needed to be strong enough to

stand on too and smooth and an oval.

So I started with an MDF former of 3 oval sheets spaced to a total height of 2.5″, and an external wrap of pipe lagging to give the external shape.

Over this I added paper mache and then a covering of plaster and PVA glue to give it strength. This last layer could be sanded to smooth out the edges.

Img20130914_10302The Primary, I quickly roughed out from 50′ of 5mm break pipe held in an oval spiral with cable ties and adhesive.

The output from the V8 tesla engine is fed into a primary cap and an crude sparkgap.






Here is the coil working at the Nottingham Gaussfest.

Note that the problems with the secondary coil are starting to show with a breakout at the bottom.

But it was worth having a go at standing out the coil. After a while I found that the tuning point changed only a single turn when I was standing on the coil.

Below is a video of the first run with me on top.

So I realised that the secondary needed to be re-built The pictures below show the damage.20140305_194312







So the rebuild begins


This time I’ve packed out the space with some cardboard in the void between the PVC pipes and sheets under the coil bridging the two pipes. The cardboard is held in place with many layers of adhesive craft paper that was varnished before the wire was wound on.

The finished article looks a load better then the old one, but there is still some minor ‘droopage’ between turns. So the coil was heavily varnished after winding.

Hopefully it will not suffer the same breakouts as the old.


Also I decided to clean and re-mount the sparkgap the old copper pipe gaps were a little? corroded.

The Sparkgap is mounted on to a channelled acrlyic chamber that allows a high volume fan to blow air over the gaps for cooling and more importantly spark quenching.

20140208_163246 20140215_154730






Better results from the new coil