Hey guys, In this post I’ll be showing you how to make a long range Arduino remote controller on a PCB for your robot.
If you are stuck somewhere feel free to comment your doubts below and I’ll try my best to clear it.
Here is the PCB I designed to make remote controllers for my robots.
These remote controller have joystick, buttons, accelerometer and extra pins to connect other analog sensors. I got these PCBs designed using EasyEDA and got it done from JLCPCB.
EasyEDA Is an easier but powerful online PCB design tool which allows electronics engineers, hackers, educators, hobbyists, makers, and enthusiasts to design and share their projects’ schematics as well as PCB layout. This is a design tool integrated LCSC components catalog and JLCPCB service that helps users to save time to make their ideas into real products. I will get back to it in detail.
JLCPCB Is one of the best Online PCB manufacturing company from where you can order PCBs online without any hassle. The company works 24 hours a day, 7 days a week nonstop. With their high tech machinery and automated work stream, they can manufacture huge quantities of high-class PCBs within hours.
JLC PCB can develop PCBs of various complexity. They develop Simple and cheap PCBs with Single layer board for hobbyists and enthusiasts as well as complex multi layer board for high standard industrial applications. JLC works with large product manufacturers and may be the PCB of devices you are using such as laptop or mobile phones were made at this factory.
Making a PCB for Arduino Remote Controller
Here I have the joystick and an accelerometer, arduino nano and wireless module. Everything worked flawlessly. But the problem was the whole board looked really messy with all the jumper wires going here. So I decided to take you to next level. Getting my own PCB.
First we will take a look at the components needed to make your DIY Remote Controller for RC robot.
- Breadboard – Get it Now
- Arduino joystick – Get it Now
- Accelerometer – Get it Now
- Push button – Get it Now
- LED – Get it Now
- Jumper wires – Get it Now
- Arduino Nano – Get it Now
- HC12 wireless module – Get it Now
We will divide our long range remote controller into 3 parts
Input is the unit using which the remote controller gets data from the user. For example Joystick, Accelerometer, buttons, potentiometer etc. For this project, we will be using Accelerometer, Joystick and push buttons.
The Processor is the part that reads the data from the input unit, process/condition them for the Transmitting unit to send. Here we will be using Arduino Nano to process input.
The Transmitter is the part that sends the data from the remote controller to the robot’s receiving unit wirelessly. For our project, we will be using the HC12 Wireless module.
First connect all the components together on the breadboard so that I can troubleshoot easily if something goes wrong. This is how I assembled all the components on the breadboard.
To draw circuits and design PCBs, we have online PCB designing tools from EasyEDA, provides all the necessary capability for online PCB Design and PCB Printing of Circuit Boards with hundreds of components and multiple layers with thousands of tracks.
I drew a circuit in EasyEDA which included all the components on the breadboard – the joystick, accelerometer, Arduino Nano and HC12 module and 4 buttons which are connected to the digital pin of the Arduino. These buttons will be useful in the future.
I also added a 7805, regulator which will helped me to provide an input voltage between 7 volt and 35 volt in the input, so that I can use a 5 volt USB power supply, 9-volt battery or even a 12 volt lithium polymer battery without any issues.
I also added some indicator LEDs that will let me know if something stopped working. You will find the circuit to my EasyEDA below.
- 5 Vout – VCC Arduino
- Gnd – Gnd
- X – A2
- Y – A3
- Switch – D12
- 5 Vout – VCC Arduino
- Gnd – Gnd
- 10 – TX
- 11 – Rx
- 5 Vout – VCC Arduino
- Gnd – Gnd
- X – A0
- Y – A1
- S1- D2
- S2 – D3
- S3 – D4
- S4 – D5
Next, designing the PCB. PCB Layout is actually a significant part of PCB Design, we use PCB Layouts to make PCBs from schematics. I designed a PCB where I could solder all the components together.
For that, first save the schematics and from the top tool list, Click on the convert button and Select “Convert to PCB”. This will open up a window like this. Here, you can place the components inside the boundary and arrange them the way you want. The easy way route all the component is “auto-route” process. For that, Click on the “Route” Tool and Select “Auto Router”.
This will open up an Auto Router Config Page where you can provide details such as clearance, track width, layer information etc. Once you have done that, click on “Run”.
Here is the link to EasyEDA Schematics of Remote Controller. Please feel free to dowload or edit the schematics/PCB layout.
Thats it guys, your layout is now complete. This a dual layer PCB which means the routing is there in both side of the PCB. You can now download the Gerber file and use it to manufacture your PCB from JLCPCB.
JLCPCB is a PCB manufacturing company with a full production cycle. Which means they start from “A” and finishes with “Z” of PCB manufacturing process. From raw materials to finished products, everything is done right under the roof.
Go to JLC PCBs website and create a free account. Once you have successfully created an account, Click on “Quote Now” and upload your Gerber File.
Gerber File contains information about your PCB such as PCB layout information, Layer information, spacing information, tracks to name a few.
Below the PCB preview, you will see so many options such as PCB Quantity, Texture, Thickness, Color etc. Choose all that are necessary for you.
Once everything is done, click on “Save To Cart”. In the next page, you can choose a shipping and payment option and Check Out Securely. You can either use Paypal or Credit/Debit Card to pay.
Thats it guys. Its Done. The PCB will be manufactured and shipped with in days and will be delivered to your doorstep within the mentioned time period.
Once I got the PCB I checked all the connections and started soldering all the components onto it. Now it’s time to upload the code the coding part is exactly the same as the breadboard version. Simply download the code using the download link below and upload it to your arduino of the remote controller.
You will find complete code, explaination and instructions of DIY Remote Controller Here.
It is an Off Road 6 Wheel Drive Crawler which can be remotely controlled using an Arduino remote controller. Here also we will be using the same robot, only thing different here will be the code which we will upload to the robots Arduino. Click Here for Complete Tutorial.