Hello all,
I was wondering if this was possible.
I have an arduino uno and mega where I can connect them wirelessly using rf receivers and transmitters.
I was wondering if i can input a command such as stop in the serial monitor where the 2 wheels stop moving. Is it possible to have a transmitter connected to the computer board(mega) send a command like stop where the receiver does the command ? Would rf transmitters be best to use or would it be best to buy xbees?
For example the project will have the mega will send commands and read data of the uno when uno has a detection on the pit sensor on it and the uno have a transmitter that sendings when it gets a detection and receives data when commands are sent ? Basically in conclusion both boards can have 1 rf transmitter and receiver of different frequencies if they are best to use ?
Thanks again!
You want something with two way communication, so you could use two RF modules with different frequencies, if its cheaper for you. Or you can spend a little more and buy RF module that already support two way communications. Another thing you may want to consider is your range. How far do you plan on the two Arduinos to be away from each other? Xbees would have the furthest range but are difficult to setup, and Bluetooth would have the shortest, but easier to setup.
The distance should not be very long. Probably less than 20 feet for most of the time:. Also, do you know if the rf ones need Manchester coding to cancel out noise? I heard about it when doing research and also a bit confused on it. Do you think for the two way module this needs to be done or does this always need to be done ?
Thanks again!
I don't know what Manchester coding is, so I cant help there. Sorry. Since your range is very short, go with Bluetooth, its just a wireless Serial connection.
Alphacap22:
Hello all,
For example the project will have the mega will send commands and read data of the uno when uno has a detection on the pit sensor on it and the uno have a transmitter that sendings when it gets a detection and receives data when commands are sent ? Basically in conclusion both boards can have 1 rf transmitter and receiver of different frequencies if they are best to use ?
Thanks again!