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.

controlling a DC Motor using pic16F877 and a distance sensor

Status
Not open for further replies.

1qwerty1

Newbie level 1
Joined
Mar 9, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
hi i need help with a circuit diagram and code if any oen can help
i need to control a DC motor using a pic16f877a where the dc motor is on a contant speed and then when the distance sensor a SHARP's GP2D12 detects diffrence in the distance it stop and resturns to a setpoint.
can someone help me with a circuit diagram and a code which would include the A/D conversion needed for the sensor and for the PWM program to be able to read data from the sensor
 

first time you must to build dc motor driver may be hybridge type for drive 2 direction and write code for gennerate pwm drive.
For constant speed then make circle plate and set led and ldr for reflect light for check round of motor and round / time
 

Re: controlling a DC Motor using pic16F877 and a distance se

I am on the same project with u... i am woriking with it now..... I am using C... i will ppost anything if it still can help.. .
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top