First of all, pardon me as i’m a newbie…
My background is at programming and i’ve recently been commissioned to build an installation at an event where i believe arduino may help.
The project is to build a series of fans, around 30, (doesn’t need to be CPU fans, can be just motors holding a strap of plastic or card), where i blow into a microphone and it outputs the force to the fans making them start.
The code to make that work is not a problem. I can make that work with ease… What i’m struggling with is to find out how to connect multiple motors to an arduino, is that even possible? i’ve search around and it got me nowhere, maybe here you can point me to the right direction.
Sorry if this has been asked before… i have not found a simple answer for this many connections to a single device… ( money is not an issue here - in case more devices are needed - suggest solutions as you will )
I need to control them independently,(sort of: they will be stacked in columns) but i do not need to control the speed.
Because they will be stacked in columns i do need to control which columns should i activate depending on the force of the blow. (hence the sketch : the asterisks show an example of simultaneous columns that need to be activated at the same time ranging from 1 to 6 - 1 column min, 6 activated columns max).
Is it easier to treat them independently? or can i group them in some sort of shields or control drivers? (or am i going totally the wrong way?)
I'm thinking, if arduino would be connected, instead of battery you should use power supply plugged in AC outlet. Relay usually drain a lot of currents, and battery probably, would discharged too fast. If 12V motor is expensive, than you can go with 3V motors and buy separate 3 V power supply. So you would need two of them, 12V for relay board , and 3V for motors.
Other option to eliminate 12V from a map, is find a relay board that could be powered from arduino +5V, and it should consume less than 500 mA.
Let me just say how excited I was to come upon this thread! My current project has a lot in common with you and I read and re-read this thread, looking up all sources and materials. About me; I am a masters architecture student currently working on my thesis project in which I am collaborating with engineers. We are designinsg and building an environmentally responsive ‘curtain’ of sorts. This curtain is made up of many inflatable components. Each component has the potential to inflate or deflate thanks to a light sensor (each component has a light sensor and a fan attached to it )that triggers the arduino to tell the fan to blow in the positive when hit with light and reverse direction (suck air out) when sensing dark.
How did you project turn out? I see that the ‘sensor’ in your project is based on volume/sound input.
The sensor in my project is related to light. Right now I am struggling with figuring out exactly the right light sensor which will be attached to an inflatable component. (If anyone reading this has any light sensor suggestions that would be great! I have a list going but the important aspect is that these wont be directly attached to the arduino board. They have to exist inside these inflatable components. (see sketch attached) This light sensor will most likely have only 2 inputs and not work on a scale. IE it will trigger the arduino to tell the fan to turn in the positive direction when dark (filling the component with air) and turn the motor in reverse when the sensor senses light. (sucking out the air from the component)
I am dealing with the following issues. Many are the same as your past project.
hooking up multiple pc fans to 1 arduino board-
Did you resolve the power supply issue? Did you use an external 12 v DC power supply or did you follow @magicians suggestion of finding a relay board that can handle the large amount of voltage and channel it to the 5v arduino?
relay board- I realize that you needed a relay board to assign 5 fans to one relay as you had 6 columns of fans, and you needed the columns to act together as one. Is that correct? Since my fans are all acting independent of one another, ie responding to their individual light sensors, Do I need a relay fan ? I know I need something that will handle the overload of voltage going to the 5v arduino board.
physically handling the wiring from that many fans-
I am assuming you had an interesting layout and we are talking about long chords all ending at one point/the arduino board. How did the wiring turn out?