Wednesday, 17 October 2012

Project 3 - Uncanny (Day 7)

I worked a lot for the stepper motor today. I borrowed Tom's step motor and tried it working with the H Bridge that I bought from TradeMe. I researched on making the step motor work and found lots of tutorials on it. I found a neat instructions on plugging the H bridge to the Arduino and the stepper motor. After the wires are connected all together, I tried to run it with the code that I've found and it turns out the motor is only vibrating. The knob isn't working at all. I tried several codes to work on it even the example from the Arduino which is the MotorKnob and nothing made any difference. I tried to contact Tom and he gave me some advice on how to work it. Several attempts has been done and nothing follows up with what it suppose to do. I got some readings from the H bridge when I ran the code from the Arduino and I my thoughts is that the step motor doesn't have enough power to run the knob. One problem that I've found with the help from Tom, is the 5V socket is not wired. The H bridge needs a 5V from the Arduino and the ground from the Arduino should be wired to the H Bridge as well. Tom came to studio and helped me on solving the problem. He tried a lot of trial and error and in the last moment, we run the code at the rate speed of 5 and the knob turns but really slow. We tried the strength of the knob and it does kind of turn. In the end I'm considering if we're still going to use these motors since it's not working as much as I wanted.


No comments:

Post a Comment