electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

controlling a DC Motor using pic16F877 and a distance sensor


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> controlling a DC Motor using pic16F877 and a distance sensor
Author Message
1qwerty1



Joined: 09 Mar 2008
Posts: 1


Post09 Mar 2008 18:01   

controlling a DC Motor using pic16F877 and a distance sensor


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
Back to top
dhana



Joined: 29 Feb 2008
Posts: 2


Post12 Mar 2008 10:39   

controlling a DC Motor using pic16F877 and a distance 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
Back to top
Google
AdSense
Google Adsense




Post12 Mar 2008 10:39   

Ads




Back to top
makri



Joined: 01 Jan 2004
Posts: 126
Location: India, Kerala


Post14 Mar 2008 18:08   

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


see this

http://www.edaboard.com/ftopic155264.html

makri

Added after 9 minutes:

see this pdf very good for pic and motor control

http://kcchu888.tripod.com/Ch8_MCU2.pdf


makri
Back to top
harakiri



Joined: 24 May 2008
Posts: 4


Post24 May 2008 3:54   

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.. .
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> controlling a DC Motor using pic16F877 and a distance sensor
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
DC Motor control using PIC16F877 & L298 (Motor driver) (14)
Forward and Reversing DC Motor using sensor (3)
Controlling Servo Motor using a PC (16)
controlling 5phase stepper motor using parallel port (43)
Speed Control of DC Motor using PIC16F877? (16)
Using PIC16F877 to control speed of motor (13)
light intensity and distance of color sensor (11)
Stepper Motor Controlling Tutorials and VB Codes Requireds? (2)
DC MOTOR CONTROLLING( speed and forward-backward control) (1)
PIC16f877 and temperature sensor Lm35 interface via pic adc (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS