I'm starting a larger robot project where I will be controlling a robot VIA. an Arduino Mega. It will be controlling many systems including Lights, Sounds thru a Dfplayermini and 3 DC motors Via TB6612FNG.
I'd like to create a remote control using and Arduino Nano (trying to keep controller small). Using a joystick module to control 2 of the Dc motors, and several Buttons to control many lights and sounds and functions via the Dfplayermini.
I was thinking of using Maybe Bluetooth To control the Mega from the Nano, but I am unsure where to start or if what Im thinking of, is possible. I've looked into methods of having 2 arduinos talk to each other but with things like i2c they all have them wired and I'm looking to go wireless. and IF possible avoid Radio Frequency (RF modules) because of interference.
Can anyone help with Ideas thoughts suggestions for modules, where I should be looking, or any problems with what Im trying to accomplish before I get going?
Thanks.
Bluetooth is radio frequency. Bluetooth is pretty short range. A few meters at best. I would use the rf24 radios. Much more range. Robin2's simple rf24 tutorial shows how to use them. I have used them for many different things, including robot control with no interference issues at all.
groundFungus:
Bluetooth is radio frequency. Bluetooth is pretty short range. A few meters at best. I would use the rf24 radios. Much more range. Robin2's simple rf24 tutorial shows how to use them. I have used them for many different things, including robot control with no interference issues at all.
Thank you, I did some reading on the link you directed me to, and it looks like from that and some videos I saw that the rf24 may work for what Im looking to do.
The question I have is the Pins used on the Arduino(s). For Both the Dfplayer mini and the rf24, they are saying that I must use both pins 11 and 10. In the case of the DFplayer mini, it is as the TX and RX connections to the Arduino/player.
Are their Alternate pins that can be used? Why is this?
I also see that they are "SPI" pins on the Nano and NOt? on the Mega? (Assuming that this is why they are used)
Rather the mega are pins 50-53?
Using the Nano as the transmitter and the Mega as the receiver, and having the Mega use BOTH the rf24 and the Dfplayermini, Will I run into problems using both? (IE: what pins would I need)
In past I have used the DFplayer but the other functions were able to be moved around so I could free up 10 and 11 so it did not come into play.