Thank you, Dave. That is exactly the kind of reference I need. :D
Got more ideas?
Type: Posts; User: Kenjones1935; Keyword(s):
Thank you, Dave. That is exactly the kind of reference I need. :D
Got more ideas?
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...
Hi everyone, I have not disappeared..
I have a PBP question/problem. :confused: I need to create a pulse width modulated pulse every 20 milliseconds. I also need to have the PIC be doing all its...
Folks from MIT's Lincoln Laboratory have taken an interest in my robocars for kids. LL has an Education Outreach program which schedules workshops each summer. If you like go to ...
Looks interesting, but I do not understand..... VBB says it is Arduino oriented.
"http://www.picbasic.co.uk/forum/content.php?r=95-Some-electronics-links" contains:
...
PICs are often used for controls. Do you all know of any available simulation packages?
I must have spelled HPWM wrong. :confused:
Thank you Mr/Ms Mackrackit
pdppi14e.lib catches all my questions (for example how does PAUSE work) except one. HPWM is nowhere to be found. I know it is a hardware feature (whatever that means)....
One of you knowledgeable people please come to my aid.
I am studying the .ASM code which my PBP produces. My Microchip 16F887 Data Document DS41291F page 232 lists the Assembly Language commands...
Scalerobotics:
I used the oscilloscope you gave me way back when. You are correct. The PWM signals appear to be there from the get go, but the wheels neither rotated nor steered until the...
I compile the code with the WHILE command. During the first three seconds after powering up the wheels steer and roll as expected. I then comment out the WHILE, recompile and program. For the...
HPWM is a hardware command. It runs while PAUSE is pausing except (it appears) when it is the first "active" command in the code. Really. Truly. The only difference between those two snippets of...
I need help gang. This is definitely a PBP issue. Do you all have any idea where I should start?
Ken
Would it help if I were to show you the assembly language code for the above two compilations?
Ken
Hello, I am back with a robocar - PBP question. I wish I had the will power to really study this.
My robocars use HPWM to control the steering and to drive the Electronic Speed Control => DC...
thronborg,
You might find the code examples in post #374 helpful. This dates back to August 2010 when I was first incorporating a pot into my system.
Ken
It has been a while. Some local 'education' folks have taken an interest in my project. This is good.
Here is a new video. It amply demonstrates what happens when we cross the line from 'code...
When I added the reserved word 'DIG' to each WRITE statement I inadvertently dropped the all important defining word 'WORD'.
What's that about old dogs and new tricks? Seems true after all.
KEn
Last night I did a successful Compile and Program code for my 16F887 robocar. All looked OKAY. The new code loaded and the car ran. I slept fine.
This morning I added a couple more statements...
Yes, two feet from the wall is fine when the car is moving at walking speed. At 20mph or more as would be appropriate in a hockey rink I think the car needs more maneuvering room.
The model...
I think my little car needs to know where it is relative to the wall it is trying to follow and what maneuver it is presently trying. Right now the code has three states:
1. Trying to go straight...
The WEB says that a standard hockey rink is 200' by 85' with curved corners on a 10' radius. Here in Fitchburg we have both indoor ice hockey rinks and outdoor street hockey rinks where the players...
Yes, that is what my SRF05 says too. Presently my code has been pinging at about 5 times per second for each SONAR. I can up that rate.
My thoughts have been that more sophisticated math might...
The SONARs respond within a few milliseconds of each trigger. At 1100 feet per second the SONAR hears an echo from a wall five feet away in less than ten msec. There may be problems with the shape...
I got the PICket 3 to program both my 16F887 and my 32MX460. That's fine, but I am not doing well with C. I have not programmed in C since 1992. In those days I was part of a large corporation...