Society of Robots - Robot Forum
Mechanics and Construction => Mechanics and Construction => Topic started by: xjtxdyex on April 08, 2009, 05:26:08 PM
-
Hey all, i am new to this forum and just finished reading the robot for under 50 dollars. while i don't have much expierience building robots as a hobbyist i do have expierance building robots with a team. My main expertise goes to mainly mechanics (including pneumatics, treads, design flaws, and other mechanics) and design, knowing only basic wiring and programming methods (incidentally i know what needs to be done but not how to do it lol). But while reading the 50 dollar robot i noticed that it does not give a tutorial on how to attach a remote control to work simultaneously, with the autonomous ( i think a switch on the controller would need to be programmed to switch between the two). But how difficult would this be programming wise and adding it onto the board?
-
Hey all, i am new to this forum and just finished reading the robot for under 50 dollars. while i don't have much expierience building robots as a hobbyist i do have expierance building robots with a team. My main expertise goes to mainly mechanics (including pneumatics, treads, design flaws, and other mechanics) and design, knowing only basic wiring and programming methods (incidentally i know what needs to be done but not how to do it lol). But while reading the 50 dollar robot i noticed that it does not give a tutorial on how to attach a remote control to work simultaneously, with the autonomous ( i think a switch on the controller would need to be programmed to switch between the two). But how difficult would this be programming wise and adding it onto the board?
You can salvage the remote circuit of a toy car and use two sensor ports on the ATmega8.
I had a toy car with 2 motor controllers for forward and back.
I used 4 relays, 4 diodes and various resistors.
So if you do forward on the controller the sensor value is differend than the value if you do forward.
You can program the programmer so if the value is for example 110 that your robot goes forward.
And you can also install some sensor this way, instead of those remote modules witch only control servos.
Danny
-
I'm no expert, but couldn't you just make it so it has this?
-
I'm no expert, but couldn't you just make it so it has this?
Yes, but with a toy car circuit its cheaper.
-
oh I forgot that he was using a RC circuit and not a professional Rx / Tx Controller with servo outputs
-
I'm no expert, but couldn't you just make it so it has this?
ya i was thinking of that but wouldn't i need to change the programming? ...again am a little bit of a noob when it comes to the programming
-
I'm no expert, but couldn't you just make it so it has this?
ya i was thinking of that but wouldn't i need to change the programming? ...again am a little bit of a noob when it comes to the programming
Do not just splice them together like that. You will get a lot of signal interference on the signal line, and you may have conflicting power supplies on the 5v line.
-
ya, I thought that might happen :P
-
could you use a third channel hooked up to an input and when its high it somehow switches over to the rc control? like it turns on a nc relay?
-
ya, couldn't you just have 1 GND and positive and then have a remote switch to switch back from autonomous control to R/C control and visa versa>
-
But while reading the 50 dollar robot i noticed that it does not give a tutorial on how to attach a remote control to work simultaneously, with the autonomous
Actually this is pretty easy. Pseudocode:
measure_signal();//depends on your remote, record remote signal
if (signal>0) //signal received
do_what_remote_says();
else //remote control isn't used
run_autonomous_mode();
If you use an RC remote, use this code to read the remote signal:
http://www.societyofrobots.com/robotforum/index.php?topic=3099.0 (http://www.societyofrobots.com/robotforum/index.php?topic=3099.0)