In the previous episode, we could control 8 servo motors by using 8 potentiometers.
In this tutorial, we are going to use the HC12 communication board so that we can remotely control the other robot.
And also I’m going to show the outdoor test about working range. Let’s get started
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Bluetooth?
When it comes to remote control project, Bluetooth seems like a standard method even though it is not easy to set up for the beginners.
There are so many steps as you can see. In any situation, you have to set up by using AT commands so that they can communicate with one another.
In some Bluetooth board, it is also
strange that we have to keep pressing the setup button in order to setting up
Step 2: Solution
After doing few hours research, I found something good at last. It is HC-12
link : HC-12 wireless Module https://amzn.to/2rjuvoj
Step 3: HC-12
It is so easy to apply this module to your project.
It can be bought for just 4 dollars.
I think that its range is pretty impressive even though it is not that expensive.
Step 4: Ready-to-go Module (pros)
Best of all, The reason I bought this module is that I can send my message to all of the modules at the same time without any configuration.
As long as they use the same channel, they can send and receive data. The HC-12 has 100 channels. This function seems like Zigbee.
In short, with this module, the master robot can send its angle data to a large number of robots without any configuration.
Step 5: Ready-to-go Module (cons)
I think it is nice except that it cannot be connected with any smartphones because it is not a Bluetooth.
Step 6: How to Use
In order to use the HC12 modules, we only need to connect the module in proper way.
Here is our Arduinos. They were physically connected to each other.
Just cut the middle and connect it to the modules like the schematic, then the modules will work by themselves.
Step 7: Schematic
It is very simple. Buy 2 modules, connect them and done.
Step 8: We Don’t Need to Change Any Code
You know what? we don’t need to change any code! It sounds wonderful!
Step 9: Field Test
I was wondering how far do they can communicate to each other.
I made a simplified version which sends and receives data every single second.
If they are working well, the servo motor moves.
It turned out that the signal reaches around 400m in the default setup.
Step 10: In the Next Episode…
In the next episode we are going to make 8 joint humanoid robot for capturing joint’s angle
If you have any question, feel free to let me know it.
Participated in the
Make it Move Contest