So I'm working on a project right now. I have an Arduino Esplora and and Arduino Uno and I want to connect both of them through a wireless module. The thing I'm looking to accomplish is to use the joystick from the Arduino Esplora, connect it wireless-ly to the Uno, so it can take the output from the joystick and use it to control a robotic arm I will build. Can you advise me for a Xbee replacement I can use that would fit my project? Thank you all!
The analogue from a joystick is represented as a number in the Arduino (0-1023 for a voltage from Zero to aref), so you will be transferring a digital representation of an analogue value.
You can convert this back on the other side by using analogout (this is just a PWM signal and not a true DAC)
If you don't need the precision then you can scale this to a value between 0-254 and send it as a single byte.
Depending on the version of the device it is good for over 1Km with the correct antenna setup.
Any problems working with it are due to not reading the documentation
Bainesbunch:
The analogue from a joystick is represented as a number in the Arduino (0-1023 for a voltage from Zero to aref), so you will be transferring a digital representation of an analogue value.
You can convert this back on the other side by using analogout (this is just a PWM signal and not a true DAC)
If you don't need the precision then you can scale this to a value between 0-254 and send it as a single byte.
Depending on the version of the device it is good for over 1Km with the correct antenna setup.
Any problems working with it are due to not reading the documentation