Rumblebot Arduino VS Cat
Loading...
749
views
Loading...
Uploader Comments (dinomaui)
see all
All Comments (5)
-
Ok cool! I'll get work on it this holiday =D
-
Hey really sweet! Mind sharing what's going on in the process?
Move > contact/time? > Stop > delay? > Rotate > 270deg? > Move
any sensors?
-
really cool could u send me more information on how to do this i have some of these spare
Loading...
The final version uses a Parallax ultrasonic sensor and one bump switch mounted up front. The code is written so it drives and scans at the same time, pausing only IF it senses an object within about 30 cm or the bump switch get's triggered ... THEN it turns and drives again or ELSE it keeps driving and runs through the code again.
A basic IF, THEN, ELSE routine.
I have a spot reserved at the Bay Area Maker Faire in May, where I'll be giving a demo and explaining how to build one.
dinomaui 2 years ago
Sorry dude, I live in singapore. I'm gonna code one up during my hols for my cat. You didn't implement an ISR right? Also, do you happen to know if the Arduino supports ISR?
qwertyjem85 2 years ago
Not sure what ISR is. :) Enlighten me...
dinomaui 2 years ago
Interrupt Service Routine. It simply waits for an interrupt signal and runs whatever's inside it. So you don't have to keep polling for something.
Say like you want to have a blinking LED while the rumble is roaming, the delay would cause the bot to stop and go in the same way the LED is blinking, so the ISR can run the timer to say 30ms, when 30ms is up, turn-off LED... while the main program is still running.
qwertyjem85 2 years ago
OK I thought that's what it was. If C+ programming supprts ISR then yes, the Arduino probably does.
Thanks!
dinomaui 2 years ago