drink machine made on a arduino is there pins enuf?

Our weekly LIVE video chat. Every Wednesday at 8pm ET!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
simondid
 
Posts: 38
Joined: Sat Mar 01, 2014 9:46 am

drink machine made on a arduino is there pins enuf?

Post by simondid »

Hey :P
Sry if this post is in the wrong place ... I’m new in here

so I’m looking to make a drink machine my project is going to be made out of 1 step motor to drive the drink platform and 5 solenoid valves for the bottles. I also want a display to control what drink to make and so on.

I’m looking to bay this touch screen
http://www.adafruit.com/products/1651#Learn
ore this one just becouse off the stik for selecting
http://www.adafruit.com/products/802

the solenoid valves I think I’m going to use is this
http://www.adafruit.com/products/413

The stepper motor that I’m going to use is this one because I already Goth it
http://www.let-elektronik.dk/3307-bipol ... epper.html

But I’m worried that I might run out of pins/ports to control all of this on the arduino uno ??

Any one that can help me figure this out before I start ordering parts ?

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: drink machine made on a arduino is there pins enuf?

Post by adafruit_support_bill »

There are 7 pins required by the shield. You will need one per solenoid. Motor control will depend on which controller you choose. If you pick one that has a 2-pin (direction and step) interface, you should have enough pins for your project.

User avatar
simondid
 
Posts: 38
Joined: Sat Mar 01, 2014 9:46 am

Re: drink machine made on a arduino is there pins enuf?

Post by simondid »

Great to hear :P

So I think I’m going to be using this circuit
Image

witch i think is like a 4 pin control circuit.
But i think it's easy to control form code it will just be a question on setting 1 analog pin high and shifting between the 4 pins am I right ??


sry for all the easy question I currently have 0 hardware so I’m just thing the project true before ordering any stuff

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: drink machine made on a arduino is there pins enuf?

Post by adafruit_support_bill »

That circuit will not work for your motor. It is a bipolar motor and cannot be wired as unipolar. You need a controller with an H-bridge.

Your motor also requires 2.2amps per phase, so the common L293D-based controllers will not work. Check the controllers at www.pololu.com, or the Phidget controller recommended for use with that motor: http://www.let-elektronik.dk/1067-phidg ... epper.html

User avatar
simondid
 
Posts: 38
Joined: Sat Mar 01, 2014 9:46 am

Re: drink machine made on a arduino is there pins enuf?

Post by simondid »

dam i see that the phidget controller i kinda expensive... and i will prefere to build the cirut my self...
due you have a dawing for a cirut that can be used for this ??


i found this in some old dukomentation i hade laying around but i don't think it can delever enuf power
Image

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: drink machine made on a arduino is there pins enuf?

Post by adafruit_support_bill »

The L298 chip in that circuit is only rated for 2A. You need at least 2.2A. Check the stepper controllers at www.pololu.com. They have a good selection at reasonable prices.

User avatar
simondid
 
Posts: 38
Joined: Sat Mar 01, 2014 9:46 am

Re: drink machine made on a arduino is there pins enuf?

Post by simondid »

Unfortunately i need to build some off the circuits in this project myself and can't go buy all off the because it's a school project ...

but that circuit will work right if the motor wasn’t that big ??
I think the easy way to go then is to find a smaller stepper motor

Is there no where I can find a chip that can take more A then the l298 that have kind of the same layout so I can use the same circuit drawing??

sry for the many basic questions

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: drink machine made on a arduino is there pins enuf?

Post by adafruit_support_bill »

You could find a smaller motor, or wire two L298 chips in parallel as in this link: http://www.ikalogic.com/4a-h-bridge-mot ... schematic/

User avatar
simondid
 
Posts: 38
Joined: Sat Mar 01, 2014 9:46 am

Re: drink machine made on a arduino is there pins enuf?

Post by simondid »

great i think i'm going to tray the parallel circut :P

Locked
Please be positive and constructive with your questions and comments.

Return to “Ask an Engineer! VIDEO CHAT (closed)”