Servo the homemade robot
Loading...
10,796
Loading...
Uploader Comments (mnash123)
see all
All Comments (29)
-
thats so cool!
-
Lmr!!!
-
0:28 not very smart now haha xD
Amazing work dude!
-
@luketorpedo i agree. i've since migrated to AVR's
Loading...
hey man wats goin on,i seen ur robot an i thought it was kinda cool,but im having problems making a obstacle sensor to actually controll my robot that im making,thought u could give me a couple pointers on how to make a sensor an how to connect it to controll my robot,thanks....
JAMAICANJAKE86 1 year ago
@JAMAICANJAKE86 Assuming you are programming a microcontroller "brain", the reactions will be based in the programming -- e.g. program to take a reading from a distance sensor, followed with if(read_dist > xx) {all stop(); look_left(); take_readingL(); look_right(); take_readingR(); if(readL > readR) turn_right(); else turn_left();} //loop... if your bot is completely analog (no mcu) then digital sensors (like buttons/switches) cleverly connected will be your best bet
mnash123 1 year ago
Nice work. I'm having a go at fiddling with PIC myself, but the damn things are hell to program.
luketorpedo 1 year ago
@luketorpedo when you're ready to smash that pic into seventeen pieces take a look at the Arduino, then take a moment to see the Arduino[.cc] website and all its documented and referenced glory
mnash123 1 year ago
@mnash123
Way ahead of you buddy! Got a few videos up experimenting with them already. I'm still using the PIC, but only because its a reliable signal generator.
Only thing that bothers me about arduino compared is the fixed inputs in conveniant pin locations, such as analouge mixed with I2C, also the issues with some library combinations as it has been said that there are problems combining software serial and servo libraries.
luketorpedo 1 year ago
@luketorpedo i just took a look at the libraries -- looks like the servo library uses a timer which i could see causing crazy, so just keep em off the timers and you should be worry free. also replace softwareserial with newsoftserial (which will be softwareserial soon, so no need to rush)
mnash123 1 year ago