I'm currently working on a project with my son and have a few questions. I have attached a drawing of what I'm trying to accomplish. His project involves a beam scale that when weight is added will allow the beam to move in the upward direction.
81 rpm Mini Econ Gear Motor (Slow Motor
227 rpm Mini Econ Gear Motor (Fast Motor)
I will try to accomplish this by using 2 IR Photo Sensors from a 12v source. The picture attached in the details below show how it is setup.
The Project:
-
main power switch to power on everything from a 12v source.
-
start switch - will be the main switch to operate the system. It will power both Mini Econ motors to drive the beam upward.
-
Mom on Switch - will only be used if fine tuning is needed and will be a (Mom - on) switch that bypasses the IR sensors to get the beam at the precise location.
You'll notice that there is a top IR sensor and bottom IR sensor.
I’m hoping that in theory:
-
Start switch will power both motors to turn simultaneously.
-
While both motors are running, the beam sits idle in the fast motor sensor or bottom IR sensor
-
When the beam starts to move upward and clears the bottom sensor, the faster motor 227 rpm will shut off. I would assume this has to be wired for a NC circuit. So that when the beam clears the IR sensor, the circuit will be broken and thus the motor will shut off.
-
Now the beam is between the bottom IR sensor and the top IR sensor while only running on the single slower 81 rpm motor. This slower turning motor allows the beam to rise at a much slower pace for a precise stop.
-
The beam continues to rise on only the 81 rpm motor, until it reaches the top sensor.
Once the top sensor is breached, power is killed to the 81 rpm motor. I would assume that this need to be wired NO circuit. So that when the beam enters the top IR, the circuit is broken and thus now both motors are off. -
The top Sensor can be fine-tuned for precise stops. But if stops are not precise, the Mom on switch will allow “bumping” of the slower motor to get the beam to the precise location. It must override the IR sensors to get to the precise stopping point.
I believe that the motor wiring is my issue.
12v power is converted to 5v for the IR sensors.
5v neg to IR neg
5v pos to VCC
Out signal to the IN1 or IN2 depending on which motor to control.
12v power sent through main switch into start switch which then goes to DC+ on Relay module. DC- goes to battery.
I believe my issues are on the other side of the relay. So any information would be greatly appreciated.