Inverter with Arduino

Barani from 8th standard wanted to learnt something in electronics. He came and asked that he wanted to build an inverter using a Arduino. It was new for me so I told him lets learn together. Then we took all the components that are need to build a inverter. We started by writing a code to blink a LED at 50Hz. Then we dumped the program in the Arduino. Then we connected it with a CRO to see the square waveform. The square waveform was generated and we were able to see it. Then we connected the remaining circuit on bread board. We used a voltage source from which we got 9 volt DC input and fed it to a transformer. The transformer was giving 230 volt AC output. Then we connected a 5 Watts bulb to the output. The bulb turned on. We leant That using a 9 volt DC supply can give a 230 volt AC output. We really enjoyed doing that. During the week we had a Skype call with a school in Italy. Barani was able to explain the whole process to them. He felt very happy to show and share his project and learnings to them.