Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Connect and disconnect two wires using microcontroller

Status
Not open for further replies.

gsg

Junior Member level 1
Junior Member level 1
Joined
Feb 23, 2010
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,434
I'm using a motor controller that has two wires which need to be shorted every time the motor direction is reversed. I want to operate this using a microcontroller (dsPIC33).

Can someone please tell me how i can control short (and later disconnect) these wires using the microcontroller? Can I use a relay/switch? If yes, how do I connect it?
 

Relay part is the easy one, but how are you going to sense the direction of the motor ..
Usually it is done with a 2-wave rotary encoder somehow driven by the motor’s shaft ..

Rgds,
IanP
:|
 

The motors i've got came with an attached controller box. I dont really know what is inside that box. Only that it has two wires for speed control, two for power and two that need to be shorted to drive the motor in reverse direction.
Now the speed and direction control signals are coming from a dsPIC microcontroller. The encoding is done separately and it is handled by the dsPIC directly.
I only need to control the direction of motor by shorting these two wires. But i dont know what current they draw or what they are connected to.. so how do i connect the relay/
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top