Practical Projects in Physical Computing
 
 



NOTES

If you are interested in robot construction, this circuit is essential to understanding the anatomy of robot bones. The DPDT relay is set up as an H bridge between the PIC and a motor. I put some LEDs in parallel with the motors so you can see the direction change. The motor was taken out of a siren light. I will use the mechanism from the light to make a rotating miniature telescope.

Relay DataSheet

PBasic Program

Relay contacts rated at
5A 250VAC
Relay coil 5VDC

Note the NPN and
Clamping diode

Back 

H-BRIDGE with a DPDT Relay

 

VIDEO

 

 

 

         

 

 
all images and video ©2008 Joel Murphy