Power an AtMega with mains AC

Hi all!
I wnat to power an AtMega with the mains AC power, but without use a transformer, using what is always used for this cases, a poliester cap and a half wave rectifier or a full wave rectifier. then a zener diode and a resistor

Some test this?

I can't found any note at Atmel website.

Microchip has an application note on this (using capacitor instead of zener...should be much more efficient):

--
Need a custom shield? Let us design and build one for you.

Just for reference: Those are the power consumptions for an Arduino without any external components:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1283271728/1

However there are very inexpensive and small USB chargers for cell phones (around $2, around 500mA) .....

Yes!, better than microchip AC power sources!, better ripple and very less power loose at regulation.

Now to build it! i'm gonna to use a 1:1 transformer to test this.. i don't want to test it with me like LOAD! :o

Very thank all!!

Best regards
Frank

Just to say that such a connection directly to the mains is dangerous and in some places actually illegal.

It is unlikely to get safety approval in the EU.

The big problem happens when you consider a single failure, namely that of the input capacitor. If anyone got damaged by using this technique then you would be libel to possible criminal sanctions. A lot depends on how this will be used in the final application.