Go Down

Topic: driving 2 12v 2A DC motors with Mega (Read 1 time) previous topic - next topic

TwinkleToes

Ok so I put it on X10 and adjusted the meter. and this is the reading that I got.

jremington

Did you follow the instructions to zero both ends of the scale first?

What is your interpretation of the indicated value?

TwinkleToes

yes I zeroed in both ends of the scale. it seems like it is 1.8 ohms.

jremington

#18
Aug 06, 2018, 09:24 pm Last Edit: Aug 06, 2018, 09:26 pm by jremington
1.8 Ohms sounds reasonable, in which case the start/stall current, operating from a 12V supply, would be around 6.7 Amps. A 10 Amp motor driver should work.

Or, follow this tutorial for a MOSFET driver http://bildr.org/2012/03/rfp30n06le-arduino/

Contrary to the advice given in that tutorial, you should use a logic level MOSFET, like the one recommended.

TwinkleToes

1.8 Ohms sounds reasonable, in which case the start/stall current, operating from a 12V supply, would be around 6.7 Amps. A 10 Amp motor driver should work.

Or, follow this tutorial for a MOSFET driver http://bildr.org/2012/03/rfp30n06le-arduino/

Contrary to the advice given in that tutorial, you should use a logic level MOSFET, like the one recommended.
Ok so the tutorial makes good sense and all. Now On one of the motors I need to be able to connect the Optical sensor to the Single-head pump. This is what will controll on/off. So I would need to run the sensor in-line with the mosfet between the gate and the arduino?

groundFungus

#20
Aug 07, 2018, 01:10 am Last Edit: Aug 07, 2018, 01:12 am by groundFungus
Quote
Optical sensor to the Single-head pump
What optical sensor?  I see no optical sensor in any of the links.

Is this a sensor that counts motor rotations or something else? 

There are many types of "optical sensor".  We need more information about your sensor.  What is the sensor sensing?

Quote
So I would need to run the sensor in-line with the mosfet between the gate and the arduino?
No, you would connect the sensor to the Arduino, read the sensor with the Arduino and control the motor based on the data from the sensor and some rule(s).

TwinkleToes

So the sensor can be found at this link. And if I understand correctly I attach that separately to the Arduino and use the Arduino to read the optical sensor and then based on the reading of the sensor the Arduino talks to the motor?

https://www.amazon.com/Optical-Infrared-Sensibility-Controller-Marinecolor/dp/B00Z9NUJWW/ref=pd_nav_hcs_rp_t_1?_encoding=UTF8&psc=1&refRID=5TAZMG4NSD6FTGK8DA06

groundFungus

Quote
And if I understand correctly I attach that separately to the Arduino and use the Arduino to read the optical sensor and then based on the reading of the sensor the Arduino talks to the motor?
That is right.

Have you connected the sensor and can you read it?

TwinkleToes

I really don't have any idea how to properly connect the sensor. The 4 wires are all different. This is why am looking for advice on here. I honestly know nothing about how all of this is supposed to work.

jremington

For wiring and usage instructions, consult the technical or user manual that comes with the sensor.

TwinkleToes

Part of the issue is that I have contacted the manufacturer and they haven't gotten back with the wiring diagram or anything

jremington

#26
Aug 08, 2018, 01:51 am Last Edit: Aug 08, 2018, 01:51 am by jremington
I buy only sensors that come with technical data and instructions.

groundFungus

#27
Aug 08, 2018, 03:31 am Last Edit: Aug 08, 2018, 03:39 am by groundFungus
I think that the sensor is wired like this:



Google "Optical Infrared Water Liquid Level Sensor " and this is a common 4 wire diagram.

BanditDave

yes I zeroed in both ends of the scale. it seems like it is 1.8 ohms.
It's been a very long time since I used an analog meter BUT

On the X10 range that would be 18 ohms

TwinkleToes

I think that the sensor is wired like this:



Google "Optical Infrared Water Liquid Level Sensor " and this is a common 4 wire diagram.
Wouldn't that mean that I would need some resistors off the yellow and red wires before going to ground? Im new to reading schematics and the like.

Go Up