by silveroblado » Mon Aug 15, 2011 2:53 am
I m doing kind of similar project, but what i want to do is that, when my IR sensor detects any obstacle, my dc motor should stop and the value from the encoder should be stored inside the PIC, after overcoming the obstacle my dc motor with encoder starts, again when obstacle comes, my PIC 16f877a should store the value from the encoder (number of pulses or counts) from the start.
When the robot reaches its final destination, the LCD should be able to display the values stored in PIC (counts from encoder), the positions where obstacles were found (straight line).
And the last question I want to ask is why is the name of video of quadrature encoder by cytron been named PID control when they are using PIC, without PID controller!!?
Please give me some hints so that i can start programming.......Till now I can only show the values of the complete journey of my robot using the LCD.....but whats the way of storing the values when it stops at various points!!
I put this question here, because i saw the video!!