Several weeks after school, I built a small Arduino device. I wanted to move to the next step, and I needed a controller. I started looking for a controller that would allow me to choose what kind of signal to use, but I was unsuccessful. So, I made one myself. I have an NRF24L01+ module, which I will use to control this robot, but there is a place for a Bluetooth chip connection. I reduced the space in the model to help fit the NRF chip, and I may need to make similar changes to make room for the Bluetooth module.
Hardware in the controller:
-
Arduino Uno – https://www.sainsmart.com/products/2-pcs-sainsmart-uno-r3-atmega328p-development-board-compatible-with-arduino-uno-r3-de-stock
-
Arduino Joystick Shield v2.4
-
9V battery connector – https://www.addicore.com/9V-bat-jack-p/ad260.htm
-
Toggle Switch – https://www.adafruit.com/product/3221
-
9V battery
-
A short piece of wire
Tools:
-
Soldering Iron
-
Wire Cutters
-
Wire Strippers
-
3D Printer
Here is the programming and how to link with another NRF24L01+ chip. https://www.instructables.com/id/How-to-Use-NRF24L…
Step 1: Printing the Case
The case I made is printed with PLA in two different parts. The top is just a flat surface with many holes. I printed supports under the USB port slot on the bottom. Attached are the .stp and .f3d file types to print.
3D printing files download:
Download Download Download Download
Step 2: Powering the Circuit Board
To power the circuit board, I soldered wires to the 9mm power socket on the Arduino. I connected the positive wire to the toggle switch.
Step 3: Insert the Arduino and battery into the case
Start with the power switch and battery, then move to the Arduino. Once all components are in a test state, ensure no wires are disconnected.
Step 4: Install the Joystick
Align the pins of the Arduino and the joystick, then place the joystick down on the lip of the case.
Step 5: Assembly
I started putting all the buttons and sticks together. Then I did a final power test before closing the power. To turn it off, just add a nut to the toggle switch and slide the switch down to keep the top of the case open.
To purchase the kit, please follow the WeChat mini program: 8哥定制