Augment RC vehicle control with an IMU-based transmitter
When piloting a vehicle remotely, it’s only natural to tilt your controller one way or the other to “help” guide it in the right direction. While usually this has no effect whatsoever, YouTuber Electronoobs decided to take this concept and run with it, creating a remote control transmitter that responds to an onboard MPU-6050 inertial measurement unit.
The transmitter’s Arduino Nano takes movement data, and sends the corresponding signals to a custom receiver board on the RC car via a pair of HC-12 wireless modules. A second Arduino mounted in the car then commands the vehicle’s DC motors with the help of an H-bridge.
This is a radio controller that has 2 analog channels and the data is out from a MPU-6050 gyro module. So, we could control a toy car for example just by rotating the controller. I usually use the nRF24 module, but in this project I also want to show you how to use the HC-12 module. You will learn how to get the IMU data, how to use the HC-12 radio connection and how to control 2 DC motors using PWM signals and an H-bridge.
It’s quite a versatile build, and it can even be set up to output PWM signals if you need to interface with more advanced electronics.
October 13th, 2018 at 01:42:49
October 17th, 2018 at 01:03:14
Touch MY SPAGEETTT
be exterminated by gay Nibba