Hello, I am trying to make a slot machine with arduino duemilanove and it seems like I am having a problem with stepper controlling. I need to control 3 steppers and 22 different leds. Also I'm thinking to add ethernet shield to that, to send statistics to internet server. Is this even possible with duemilanove or mega?
Is what possible?
Controlling 3 stepper motors, yes.
Controlling 22 LEDs? With a Duemilanove, no. With a Mega, yes.
Adding an ethernet shield? Yes. Easier on the Duemilanove than a Mega, but possible on both.
What problems are you having controlling the three steppers?
Controlling 22 LEDs? With a Duemilanove, no.
With a Duemilanove, yes easily if you expand your outputs with a couple of shift registers or port expander.
With a Mega, yes.
No unless you have external switching hardware like transistors to get over the 200mA current limit.
If you intend to use the slot machine at least half seriously, think about including a randomiser in hardware.
Korman
What problems are you having controlling the three steppers?
I'm having problem with my little experience with using steppers, also i think that IO connectors on my duemilanove would not be enough.
If you intend to use the slot machine at least half seriously, think about including a randomiser in hardware.
What kind of randomiser should I use? One kind of randomiser I found was this: USB Hourglass on Vimeo Is there any easier options?
Also can 9v DC adapter run all these, or does all these need more input voltage?
Also can 9v DC adapter run all these, or does all these need more input voltage?
Without any knowledge of what motors you are using this is impossible to answer.
Sorry I forgot to provide link to motors :-[
Anyways I think that I'm going to order 3 motors from here Stepper Motors. Maybe the cheapest one, and it seems like it's running with 12v.
and it seems like it's running with 12v.
So you will need to give it 12V then. ![]()
also i think that IO connectors on my duemilanove would not be enough.
That depends on how you drive the motors. If you use a H bridge then you will need 4 lines per motor, but if you use a stepping motor drive board you only need two per motor (step and direction).
If you run out then you need some shift registers or a port expander.