DerpBOT Arlo chassis
Shocken_Awe
Posts: 11
Hello everyone today marks day... -1 of my new robotics project, DerpBOT which will be based off the Arlo chassis. About three years ago I discovered Parallax and played around with the BOE Bot, from there I tried using the Propeller microcontroller. That did not go so well, SPIN and I did not agree well. When I saw that the Prop controller now uses C I picked it back up and found it to my liking. Now I am starting on a new project. once I start getting my components in I will make sure to take pictures and document the building and programming. Already have a project board and two motor controllers shipping, and have 3 PING))) sensors sitting in a box from a few years back. Heres to a new year with a new toy!
Comments
the C version of the code for it DifferancePING(((.c
This is the first test circuit and program. Its fairly simple, it just polls two PING((( sensors, gives distance to terminal and compares the distances measured. If the same it will also emit a tone. Found I had to add pause commands between the two sensor polls to keep sensor 1 from hearing sensor 2 and another pause after to get accurate longer range measurements, but all in all its only a 175 millisecond pause for the entire script, more than fast enough for what I plan to use this for. These sensors will be my primary short range distance reading and be part of a directional decision tree. once I get more of the Arlo chassis I will program these to detect edges of walls/door frames/etc. and decide if the robot can continue forward just by turning to the side alittle. I hope the code is useful the forums would not take the .side format. If not its a simple code and I can type it out longform, not sure what I will do once the code starts growing though.
I assume that you are using SimpleIDE for your project (if not, please ignore me)...
In SimpleIDE's Project menu there is the "Zip" item. Once you have your code compiling, you can use the Zip command to archive a copy of your whole project as a .zip file, which can be easily transported through the "inter webs" i.e. attached to the forum thread!
dgately
So now here is the more usable ZIP file of my simple test program: DifferancePING(((.zip
BTW, see my comments in this thread about using the distribution board while also using USB.
Are you measuring the center pin on the headers?
Glad I forgot to send this...I belive I found the problem. I just tried measuring voltages again and my battery only reads 9 volts, I feel abit silly but I'm sure it wont be the last time I chase ghosts.
You will notice I abandoned the Arlo chassis, I never could afford the wheel and motor set but was given an old Roomba to mess around with and remembered this project. I never did figure out why I am not getting proper voltage at the servo headers but took a risk and ran a wire from the 5 volt output of the Power Dist board and am using that to back feed the header which is working just fine. So for only have a few test programs checking the PING))) sensors, motor controlers, and LCD which all seem to work just find after 4 years of collecting dust on a shelf. Hopefully now I can actually get this thing up, running, and scaring the cats!
https://forums.parallax.com/discussion/138125/erco-s-figure-eight-challenge
https://youtube.com/watch?v=Qw-pYkKygXE