Hi Ken,
Sounds like things are finally rolling for you.
You may want to look at this section
http://www.picbasic.co.uk/forum/cont...r=346-amicus18
It is a hardware replacement for the ardrino that uses PICs and PBP.
Hi Ken,
Sounds like things are finally rolling for you.
You may want to look at this section
http://www.picbasic.co.uk/forum/cont...r=346-amicus18
It is a hardware replacement for the ardrino that uses PICs and PBP.
Dave
Always wear safety glasses while programming.
Hi everyone, I have not disappeared..
I have a PBP question/problem.I need to create a pulse width modulated pulse every 20 milliseconds. I also need to have the PIC be doing all its work between these 20 msec events.
INTERRUPTS should do it, but I have not been able to decode the manual on how to use them. How do I (can you point me to an example?) set an interrupt for when a 20msec timer (driven by the 4mhz oscillator) overflows? During most of the 20 msec the PIC has to do its sensor triggering and decision making business. Every 20 seconds it must send out two carefully crafted pulses to the Electronic Speed Control and to the steering servo.
Help.....
Here I am again..... My R/C based model car robot is being marketed by Ten80 Education. The kit is down to aproximately $110. The target students are in middle school - seventh and eighth grades - ages 12 to 14. How do we help young folks conceptualize the microprocessor domain? -- Particularly without electronics like an oscilloscope? Please help me think of 'real world' examples like one demonstrating a millionth of a second and/or a machine driven my a megahertz clock.
Here's a short list
An Input - An Output - A pin
A signal -- a Digital signal -- an Analog signal
A microsecond - A millisecond
A pulse - The pulse width - pulse frequency
Ground (Gnd) - Operating voltage (Vcc) - A voltage regulator
Noise - DC motor - Electro Magnetic Force (emf) - Back emf
Servo
Resistance - A resister
microprocessor architecture terms
sonar - speed of sound
Ken
Dave
Always wear safety glasses while programming.
Bookmarks