nRF24L01 Joystick & Tank

For few years now I had the Multichasis tank and I wanted to build the custom joysticks controller to it. However, life took me in some directio and I didn't had the time or power to work in it. In recent days, i found more time and energy and that is what I have been working on

This project has two parts to it. The Transmitter and Receiver. In total what you will need for this project are the following items.

  • 2 nrf24 - I'm using the nRF24L01+ PL/LNA for this project but you can use also just the nRF24L01+.
  • 2 transivers adapters (optional) - this adapter will be good for the + as well as PL/LNA
  • 2 Joysticks - Should only cost you few dollars. I got mine from sparkfun
  • 2 Joysticks Adapters (optional) - again should only cost few dollars and you can pick it up from sparkfun.
  • Adafruit Motor Shield - I'm using V2.3
  • Adafruit Pro Trinket 5V - However you can use any microcontroller that has enough GPIO to support the inputs. If you are wanting the same controller you can pick it up here
  • Arduino Uno
The tank I have been using is out of circulation on sparkfun but i'm sure you will be able to find it somewhere else, or just use what you have for your project. Here is a link to sparkfun page

The transmitter is generic so you can use the code with anything you want. All it does is reading the values from the joysticks and sending them through the nrf radio. The real magic happnes on the receiver side where we take these values into action. Therefore, if you don't have a "Tank" on the receiver side, but still need to interperate values you are sending through, you can still use the code and modify it to your project.

below are the wiring diagrams for both the receiver and tranmitter.

Transmitter Diagram

Wiring Diagram
Transmitter Wiring Diagram

Receiver Diagram

Wiring Diagram
Receiver Wiring Diagram

You can watch my video explaining in more detail how I built and code this project

You can also download the code on my github page