Monday, October 1, 2012

Week 6

What we did in class:

Similar to the week before, we used transistors again. We learned how a transistor can switch a voltage or current through the collector to emitter channel that is bigger than the voltage applied at the base. We also had to use the motors again. We tried to create this diagram onto our breadboards.

The left prong is B(ase), the middle is C(ollector), and the right is E(mitter). E goes to ground, while B is connected to a resistor which goes to pin 10 in the microcontroller. The motor connected at C and power. The diode is connected at C also, as well as at ground.

Next, we tried to make another circuit based on the following diagram:

We used a L293D Quadruple Half-H Driver. The diagram explains in clear detail how pins 6, 7, and 10 are connected. This circuit makes the motor spin clockwise and then counter-clockwise. The intervals in which it spins can be adjusted on Arduino by adjusting the delays.

No comments:

Post a Comment