For this week's assignment we were to have a secret ingredient as in Iron Chief. Our secret ingredient was a motor and sensor. I decided to try circuit 10 in my book and thought I would be able to accomplish it with ease then add to it. Well, think again. This is the first week I have totally failed. I got my code to check out and uploaded and nothing. I took apart the board 6 times and uploaded the original code in the examples of the Ardinio software and still nothing, no motor movement. I saw Travis was having the same problem and he double checked his motor using a battery so I tried this. When I put each of the motor wires to the ends of the battery it hummed like a top. I also tried the three troubleshooting suggestions in the book and still not luck. I will keep working with this one but I wanted to get my blog in before the deadline.
For this circuit I used 1 transistor, 1 diode, DC Motor, 330 Resistor, and 6 jumper wires. The wiring was very sight forward.
Below is the schematic, the picture of my completed board, the copy of my code and my short video.
I'm so sorry that you got frustrated :( I had the same problem as Travis, and I ended up finding out that I had to turn the transistor around. Instead of it plugged in facing right (| , it had to face left |) . I know it's a little late, but maybe that will help.
ReplyDelete