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.
From your question, you want to control the speed of the motor using a pulse generator, is that right ?
Change the pulse width (or the duty cycle) to change the speed of the motor.
1. What motor do u want to use ? DC motor or 3-phase motor or 1-phase motor, or BLCD motor, or step motor.... ?
2. What type of PIC microcontroller do u want to use ? 8 bit, 16 bit or 32 bit ?
3. Do you know anything about PID algorithm ? Do you know how is digital PID, how to convert analog PID to digital PID, how to identify parametter of motor ? How to give parametter of PID controller (Kp, Ti, Td)...
You should give a detail question, you'll give a detail answer !
hi every body
i have the same problem ,i am working at a project using pic
i want to measure the speed of a motor by an optical-encoder using pic and display the speed by LCD
the circuit like this :
motor with an optical-encoder+pic +LCD for displaying
i am also programing with mikroc
any one know how to do that please helpe :?:
consider that your optical encoder like that shown in image
and you will count nnumber of revolutions
then you IR source and IR sensor
like that in old mouses computer
IR sensor is connected as input to the pic
you count how many times pulses happen in every revolution if it has 16 pulses like that in image to make complete revolution
then 1 revolution == 16 pulses
then in next step you need to relate this with time
you will activate timer that start at the begining of the first pulse count for minute and when minute is counted as the pulses are read
then interrupt will stop counting and the speed is displayed
you may make it per second to make it better
thanks mahmoud
i knew how the motor work but the problème in the programme
I realy don't know how the timer worked with
if you knew how the timer progamme helpeeeeeeeeee me please
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.