barnsie
Newbie level 2
- Joined
- Jun 4, 2010
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- New Zealand
- Activity points
- 1,307
I am very new to electronics. My project involves connecting two outputs from a digital compass to a 12 volt DC geared motor. I have the compass working properly. My problem is the motor needs to rotate clockwise and anti clockwise in response to the two different compass signals and do nothing when there is no signal. I do not need to control the speed of the motor or how far it rotates. It seems simple but I don't know how to do this.
The compass outputs are equivalent to an open collector of an NPN transistor and capable of sinking 20mA continuously or 25mA intermittently.
The motor is rated 140 mA no load, 800mA at rated load and stalls at 3000mA.
I am using a motor twice as big as needed so should be drawing around 400mA.
I think a L298 or LMD18200 motor driver chip may be suitable but my compass does not generate a PMW signal. Will this matter? Do I need an oscillator to generate a signal. Is there an easier way that will use the compass output. I will need to make, or get made 500 of these circuits a year so ease of assembly is important. Any help would be appreciated.
The compass outputs are equivalent to an open collector of an NPN transistor and capable of sinking 20mA continuously or 25mA intermittently.
The motor is rated 140 mA no load, 800mA at rated load and stalls at 3000mA.
I am using a motor twice as big as needed so should be drawing around 400mA.
I think a L298 or LMD18200 motor driver chip may be suitable but my compass does not generate a PMW signal. Will this matter? Do I need an oscillator to generate a signal. Is there an easier way that will use the compass output. I will need to make, or get made 500 of these circuits a year so ease of assembly is important. Any help would be appreciated.