Offline
Newbie
Karma: 0
Posts: 30
|
 |
« on: November 18, 2012, 09:44:57 am » |
hey guys im working on a RC car and i have hooked the RC receiver up to the arduino and i am able to determine when im holding the throttle and should accelerate, right now im just lighting LED's when im throttling,reversing or just at hault.atm i send the RC signals to the receiver using a hitec RC controller, this works fine, but i would like it to be autonymous and therefore i need to send values to the receiver from the arduino, idk if i have to hook up the FM sender and use it or just connect the arduino to the receiver and send values through the wire directly to the receiver  sorry for my poor English, its not my main language :/ i tried explaining, if u have any questions, just ask 
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #1 on: November 18, 2012, 09:56:59 am » |
you can use Bluetooth, RF or Wifi, connect one of those to the TX and RX pins on the arduino and go from there
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #2 on: November 18, 2012, 10:06:33 am » |
yea i could use any of thoose, but as i said i have already hooked the arduino up to the RC receiver that controls the motors, i just need to write the code that makes the arduino spoof an FM signal from the controller, im not going to send a FM signal im just going to send it throught the arduino connection to the receiver, damn its hard to explain xD
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #3 on: November 18, 2012, 11:18:15 am » |
I don't think that could be done, I could be wrong and it might work but I doubt it.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Milton Keynes UK
Offline
Tesla Member
Karma: 88
Posts: 6287
-
|
 |
« Reply #4 on: November 18, 2012, 11:50:14 am » |
yea i could use any of thoose, but as i said i have already hooked the arduino up to the RC receiver that controls the motors, i just need to write the code that makes the arduino spoof an FM signal from the controller, im not going to send a FM signal im just going to send it throught the arduino connection to the receiver, damn its hard to explain xD
I'm not clear what you want to do. If you want the Arduino to take signals in from the RC receiver (the signals that would usually go to servos and speed controllers) that is easily done. If you want the Arduino to output the sort of signals needed to control servos and speed controllers, that is also easy. What you can't do - and I'm not sure whether you're trying to - is make the Arduino simulate the radio signal that would usually come from the RC transmitter. That is not something the Arduino can do - but if you think you need to do that then please explain what you're trying to achieve and perhaps we can suggest a better way to achieve it.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15309
Measurement changes behavior
|
 |
« Reply #5 on: November 18, 2012, 12:35:35 pm » |
I think what the OP is asking for is if he can make a arduino generate a PPM message stream modulating FM RF signal generator on the same frequency that his existing R/C receiver is using. That is can he build a arduino based R/C FM transmitter. At least that is my take on it.
Lefty
|
|
|
|
« Last Edit: November 18, 2012, 01:16:19 pm by retrolefty »
|
Logged
|
|
|
|
|
Dubai, UAE
Offline
Edison Member
Karma: 20
Posts: 1626
|
 |
« Reply #6 on: November 18, 2012, 01:07:43 pm » |
My take is that the op has an arduino in the car and would like that arduino to control the car. It is easily done but before we suggest how - 1. Confirm this is what you want 2. Confirm whether the car has proportional control or is it full on, full off type control ? Duane b rcarduino.blogspot.com
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #7 on: November 18, 2012, 02:00:39 pm » |
well i have the receiver mounted and im receiving values  i am currently using a manualy controled joystick to throttle, but i want the arduino to automatically throttle  therefore i would need to send a FM signal  i can take out the receiver from the joystick and try, but i would like to verify that this is possible first  please link me to anything that could help  basicly making it go by itself(path).
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #8 on: November 18, 2012, 02:11:41 pm » |
How will the arduino know how to adjust the throttle? Where is it getting the data to do so.? The arduino won't do anything unless told to. Unless your talking about a fail-safe in which the arduino will take over when you lose signal, but then how will it know the receiver has lost signal?
I'm confused as to what you want to accomplish with the arduino being automatic.
You have a transmitter and receiver with servos, what will the arduino be doing, what is its purpose?
|
|
|
|
« Last Edit: November 18, 2012, 02:16:21 pm by HazardsMind »
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #9 on: November 18, 2012, 02:15:48 pm » |
i want it to be autonymous xD i will code a path for it to drive  like this for example Serial.print("start moving forward") delay(like 1000 sec or so) Serial.print("start moving left")
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #10 on: November 18, 2012, 02:21:54 pm » |
Oh like a maze bot, ok well do you have sensors, or will it be GPS mapped.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #11 on: November 18, 2012, 02:30:21 pm » |
none of the above xD its not a maze bot, its a path bot, driving a given programmed length
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #12 on: November 18, 2012, 02:46:06 pm » |
You could have saved all of us from being confused if you told us exactly what you were doing in the beginning. -_-
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 30
|
 |
« Reply #13 on: November 18, 2012, 02:51:07 pm » |
mhm, as i said.. poor english  anyways got any idea how to ?
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Online
Edison Member
Karma: 27
Posts: 1539
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #14 on: November 18, 2012, 02:56:47 pm » |
Sensors!, ultrasonic distance sensor, IR distance sensor, line tracker, or you can physically measure the path by hand.
Your pick.
The arduino needs some input to function, what you want to do required some kind of sensor.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W, Gameduino
Arduino Tutorials, coming soon.
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
|