How can I implement a stepmotor(uniderectional ou bidirection) control, x axis movement, using scratch for arduino and arduino?
Can someone send an example?
For servo motor is ok(only one port is necessary). But for step motor , as far as I understand, it´s necessary 4 outputs, but the scracth for arduino supports only 3, although the arduino´s hardware suports more than 3.
Thanks in advance,
Luis.'.
Offline
I believe this goes in Connecting to the Physical World, I'll have it moved for you.
Offline
LuisNolasco,
Here is my Scratch mod for two servo motors by Arduino.
http://squeakland.jp/abee/tmp/NanoBoard … Camera.zip
This mod was used for controlling the huge giraffe robot.
http://thecardboardcollective.com/2012/ … faire-2012
Offline
Can you add a readme.txt to your .zip file how to do what with these files?
Stepper motors can be extracted from defunct CDROM and disk drives.
What hardware do you need? Which arduino? Power driver?
Please make a list of and approx. $ cost of each item.
Offline
eventexception wrote:
What hardware do you need? Which arduino? Power driver?
You need two servo motors for radio control model.
http://arduino.cc/en/Reference/Servo
You may drive small motors by USB bus power (5V, 500 mA max) . If you want to use big motors, you need an extra power supply. It depends on the specification of each motors. Connect motors to digital pin 9 and 10 of your Arduino. You can use any type of Arduino that supports these pins.
Of cource, you need upload my sketch (pde) to your Arduino before you play.
Please check the prices at your local shop. I'm not sure about the prices in your country.
Last edited by abee (2013-01-23 05:05:48)
Offline
Here is an alternative approach
Its not packaged up but it does work
http://cymplecy.wordpress.com/2013/01/1 … mparduino/
Simon
Offline