Hello, I got to work with 2 motors that already have the receiver system operating at 315 MHz.
What I wold like to know is if I can use one 315 MHz transmitter, with 2 buttons which allows me to either control motor A or motor B? The RF modules are these: http://www.techmake.com/products/wireless/wrl-0002.html
I don't know if it has the sufficient data lines to use 2 different buttons.
Is it possible to do different commands in one signal?
Thanks in advance.
Yes. It is easy to do. Each button on the transmitter side could send an integer, like 25 for button 1 and 50 for button 2.
On the receiver end you would do a:
if (RcvdData == 25) {
turn on motor A;
}
else if (RcvdData == 50) {
turn on motor B;
}
So I would need 2 Arduinos Uno for example, one in the transmitter side and one in the receiver side.
Yes.
Yes. Use the VirtualWire library to send the messages.
davidsalomon:
So I would need 2 Arduinos Uno for example, one in the transmitter side and one in the receiver side.
No, not really - you can always pull the chip out of your Arduino board and put another in. But you will need two (at least!) microcontrollers - like ATmega328, used by Arduino UNO. Though there are others, like small ATtiny85 to keep costs down or ATmega1284 when you want more I/O pins.
ATmega328 is a safest option. Check out arduino on breadboard guides on youtube how to use an ATmega328 chip on its own.
Radio modules are available on ebay for just over £1 (is bought directly from China - takes 3-4 weeks, but deliveries surprisingly reliable).
How're deliveries to Antarctica? Gotta imagine that's a little more spotty.