I have the following idea in mind - when a person is standing in specific location inside a room it will trigger 50 mini vibration motors to vibrate as long he is standing there.
Regarding the electronics, I was thinking of making 50 driver circuits like the two shown in the image below. Can I control 50 motors from one digital pin of the Arduino? Will I need to buffer the digital output from the Arduino in order to open the gate of 50 transistors? Do you have any other suggestions?
As for detecting a person, do you have any suggestions for a sensor? I was thinking of placing a square FSR sensor below a piece of flat wood (4mm) to detect a person standing in a specific place. Does this make sense, or would it be better to use a movement sensor?
If you want to control each motor individually...
A bunch of 8-channel TPIC6B595 power shift registers will only use up three or four pins of the Arduino. You don't need any other parts if you use them, except for a cap on the power supply.
Use a 5volt supply, and a 22ohm resistor in series with each motor.
Leo..
Like that?
In that case arduino ground is not connected to motors ground. If so - no need of a diode at all?
(power supply will be one that can deliver the needed Ampere)
No. Please understand:
The motors require a specific voltage and draw a related current (U/R). If the transistor has some voltage drop then add it to the required voltage. The motor power supply must provide that voltage and at least that current.
An opto coupler does not help and is not required, you simply connect the Arduino and motor PSU GND.
Voltage regulators is over the top.
Just replace the three 1N4004 supply diodes with a 5Amp or 10Amp bridge rectifier.
Between the (-) and (+) terminals are two diodes in series (and two sets in parallel).
That will drop a 5volt supply to ~3.3volt with that load. Close enough.
Don't use the AC terminals.
You can use a 1N5404 for the mosfet if you think the 1N4004 there is too small.
Leo..
You only need one mosfet, one 100n cap, and one 1N5404 (3Amp diode) for the fet.
Dropping the 5volt supply to about 3volt (not crytical) can be done with two or three 10Amp diodes or with one bridge rectifier (which is a part that contains two diodes in series).
Expect the power supply diodes to get hot (3.5watt per diode).
A 10A bridge rectifier with a hole in the middle could be easier to mount a heatsink to.
Leo..
I tried to look at KBPC1010 10A bridge rectifier and can't understand which pins is Anode and which is Catode. also - there is 4 pins and one of the 4 is marked with (+) . How do I wire this bridge rectifier? do I need only one or two?
You could probably do this with an alarm type IR sensor ( or whatever ) and switch the motors directly without the Arduino. Add a time delay relay if needed and the obvious power supply to run the motors, job done .