Controlling 2 RC devices at once
balsi
Posts: 4
Is there a way to program the device so that I can operate two RC vehicles with the same remote. For example, using P8X32A on one remote transmitter so that I can operate one RC vehicle, and while using the same remote operate another RC vehicle on a different frequency? Obviously the first RC vehicle would be shut off, but I don't want to have to toggle anything on the remote. Just start the second RC vehicle and the remote would immediately be ready to respond. How would I code the SPIN file or is this possible?
Comments
I think you can do this without a microcontroller with normal RC equipment.
I'm sure the frequency on the transmitter could be hacked, but it would not be easy, and probably would not fall into FCC specifications with the Propeller.
How would you start the second RC vehicle? I'd imagine the easiest solution would be to have a switch on the remote, but that's directly against your criteria. Can you post a link to the RC vehicle and equipment you are using?
Ultimately we're going to work towards collision avoidance and GPS integration but for now we just want to get multiple frequencies transmitting simultaneously of the board.
Publison - I want to avoid interference with other RC devices so I want to use my own custom frequency for each vehicle. "The frequency is determined by the transmitter output stage. " which is controlled by the SPIN file so this is really what I need help with coding.
Duane Degn - I just want to use a simple tx connection to i/o pins on the P8X32A
SRLM - That's just it, I don't want to toggle between frequencies. I want them all transmitting in a loop.
If somebody could give me a basic coding script (or point me to the right tutorial), that would helpful as I have no experience in programming this. Also can I run the antenna of an RCA jack on something like to Quick Proto board feature here http://www.gadgetgangster.com/find-a-project/56.html?projectnum=258 or will a simple 6 or 8" wire to the onboard jack pin connection (solder side) work for transmission.
Anyway, without repeating everything again, bottom line is I need info on the code for the SPIN file more than anything else.
Publison - The point is to run them on different and unique frequencies and I will be adding collision avoidance, gps and other features later on.
Duane Degn - The P8X32A would be the transmitter. The goal is to create a new transmitter with the P8X32A not hack the existing.
SRLM - I don't want a switch for toggling. I want the frequency to transmit in a loop. The vehicles can be turned on remotely as well. One car dies, the other can take over.
So I basically need two or three frequencies constantly transmitting from the remote when it's turned on. There will only be one receiver at a time and the other frequencies will just be looping until the second car kicks.
Does anybody know a person here who can supply the code to make this happen?
XBee's are popular and are relatively easy to use transceivers. I like to use Nordic nRF24L01+ modules as transceivers with the Propeller (see post #1 of my index for an ebay link (see my signature for link to index)).
I've also hacked a Spektrum RC transmitter to allow a Propeller chip to communicate directly with the transmitter module. Using the hacked Spektrum transmitter, I can fly my RC helicopters with a Wii Nunchuck.
Each car will need a receiver or transceiver to recieve the signals. Each car may also need a microcontroller to communicate with the transceiver and control the car functions.
I don't know of anyone who has code to do just waht you want. There are lots of examples on the forum where people (including myself) have done some of the things you want to do. Post #2 of my index has a list of my projects. Post #12 has a very incomplete list of other robot and robot controller projects.
The fact that the Propeller can generate a video modulated carrier with audio mixed in or an audio modulated FM or AM signal doesn't mean that this signal is useful for anything other than a demonstration of the Propeller's capabilities.