Consider using PID control for your motors. This way your car will be less nervous in is reactions. Look for the routines by Henrik Olson at http://www.picbasic.co.uk/forum/showthread.php?t=5874
Ioannis
Consider using PID control for your motors. This way your car will be less nervous in is reactions. Look for the routines by Henrik Olson at http://www.picbasic.co.uk/forum/showthread.php?t=5874
Ioannis
There is a large world wide subculture of robotics. Does it have a common higher level language? Are there some PIC's obviously better suited for certain kinds of sense and control tasks than others? Where can I read about such things? (I get SERVO magazine. I shall look more carefully for leads there. But where on the WEB?)
Ken
Maybe C is what you mean?
I think it's all in the software. Meaning the programmer.
Sure a dsPIC may do better in signal processing or faster, but requires that the programmer can code in C or assembly.
But generally speaking all micros can do more or less all sort of things.
Did you look at the link I posted? I think isthe key to your nervou problems. PID does just that.
Ioannis
This video is the same as the previous except it has an additional segment. The car goes down the hall, turns around and comes all the way back to me!!
http://video.yahoo.com/watch/7169550/18673820
Ioannis, I agree a potentiometer driven by a servo controlling direct current into the wheel motor would give the PIC smooth speed control.
For this home project with only my personal resources that is a complication I hope to avoid.
I would like some help directing me to a way to make interrupt driven PWM pulses delivered 50 times per second. My impression is with PBP GOSUB does not include arguments. This is very restricting. Am I correct?
Ken
I saw an article in SERVO which speaks about the VEX robotics computer package. The PIC is a 18F8520. My impression of the Microchip PICkit3 is that it is very close - it has a 18F8722 and a 18F87J11. The cost of a complete PICkit3 is only $164.00. Would using this tool make my project easier? more robust? more powerful? more flexible?
Ken
More code space is about all that you will get from those chip, might be some things that the 887 does not have but probably nothing to help you.
If you want to try one of those chips, check to see if the PicKit2 and PBP supports them, get on and put is on a solderless breadboard.
Save yourself $160.00
Dave
Always wear safety glasses while programming.
I may have not unerstood what exactly is your problem. Please can you repeat for me?
Ioannis
Bookmarks