accelerometer Based Hand Gesture Controlled Robot using Xbee
accelerometer Based Hand Gesture Controlled Robot using Xbee: This project is about controlling a robot through accelerometer using Xbee and pic microcontroller. You must have listened about line follower robot, obstacle avoidance robot, metal detector robot and tv remote controlled robot. All these robot works with some kind of sensors. But this accelerometer Based Hand Gesture Controlled is about controlling a robot wirelessly through hand gestures. Accelerometer MPU 6050 is used to measure gesture of hands. This direction of movement of hands is sent to microcontroller and pic microcontroller send this data to another microcontroller through which is attached with robot. Based on received data microcontroller take the action to control direction of robot in forward, reverse, left and right direction. So this Accelerometer Based Hand Gesture Controlled robot using pic microcontroller is used to control movement of robot wirelessly. Zigbee is used to send data wirelessly.
Objective of project:
The aim of this project was to design a wirelessly controlled vehicle whose movements were controlled by the gestures of the user.
- The Project is about integrating the wireless technology and inertial measurement unit (IMU) to control a vehicle.
- A wireless communication is set up using Xbee (Zigbee) modules connected to PIC18 microcontrollers.
Introduction of accelerometer Based Hand Gesture Controlled Robot using pic microcontroller
Robots has many applications in domestic as well as industrial areas. So this is useful for control of machines through gestures only. There are many people who posted articles on Accelerometer Based Hand Gesture Controlled robot . But all these people used Arduino and IR communication to send data wirelessly. But In this project, I have used Xbee module to transfer data of accelerometer to another microcontroller through Xbee module. I have also used pic microcontroller instead of Arduino. Arduino is very easy to use and there are many libraries of arduino available online. But there is not support available online for pic microcontroller interfacing with MPU 6050 6 axis sensor and also less support available for interfacing of pic microcontroller with Xbee. Therefore I decided to use different modules and different microcontroller for this project. Although it took my a lot time, but I am able to implement Accelerometer Based Hand Gesture Controlled robot successfully. 🙂
Components used in accelerometer Based Hand Gesture Controlled
Following are the main components used in Accelerometer Based Hand Gesture Controlled using pic microcontroller:
- Pic microcontroller: Pic microcontroller is main part of this project. It receives data from MPU6050 sensor data according to gesture of hands and send this data through Xbee to another Xbee module which is attached with robot.
- Xbee module: We have used two Zigbee modules in this project. One with gesture controlled sensor and other with robot part. One Xbee module send data to other module through RF communication. Zigbee technology that is used to communicate between the transmission and reception modules of the project. PAN ID used = 1122, One device was selected as a coordinator and the other was selected as an end device. The end device was connected to the microcontroller reading the data from IMU. The coordinator device was placed on the vehicle. We used transparent mode of communication with API mode disabled. Therefore the Xbees did not need to do any processing as all data processing was done by the microcontrollers attached.
- accelerometer MPU 6050 sensor: The IMU is a device that sends accelerometer and gyroscope data, in short it is used to recognize the gestures of the user which are then translated into directions for the vehicle.It is surprisingly low cost and accurate motion sensing sensor. This is a 6 axis sensor. It can detect movement of any object in six axis. It sends data to microcontroller through I2C communication. If you do not about I2C communication pic microcontroller, I recommend you to read it first.
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw