Difference between revisions of "Controlling AC devices with AVR using Relays"
Line 4: | Line 4: | ||
=Hookup= | =Hookup= | ||
+ | The Ultra AVR Dev board comes with Relays on board. You simply need to hook up the relay inputs with the the port pins as shown in the figure below. | ||
=Code= | =Code= | ||
=Demo= | =Demo= |
Revision as of 17:42, 28 March 2016
Everyone of us wants to control a bulb, a fan etc at some point in time. We will look at driving single phase AC devices with a Relay using Atmega32.
Basics
Hookup
The Ultra AVR Dev board comes with Relays on board. You simply need to hook up the relay inputs with the the port pins as shown in the figure below.