Skip to main content

Posts

Showing posts from September, 2020

77. Controlling Micro servo Robotic Arm with MPU-6050 sensor module

 Hey everyone! I am back with an interesting project. Today, you will be learning about controlling a Simple 2 axis Robotic Arm, made from Micro servo motors, with an MPU-6050 sensor module. Please feel free to visit my previous blog post to learn about the MPU-6050 sensor module. Hardware components used in this project Arduino Mega 2560 - You could use any other Arduino microcontroller, but make sure you use an external power supply. USB Type A/B cable (for Arduino Mega 2560) MPU-6050 sensor module SG-90 Tower Pro Micro Servo motor (x2) Male-to-Male Jumper wires (x6) Male-to-Female Jumper wires (x5) Setup Schematic MPU-6050 sensor module VCC - 3.3V GND - Ground SDA - D20 (Arduino Mega 2560), A4 (Arduino Uno and Nano) SCL - D21 (Arduino Mega 2560), A5 (Arduino Uno and Nano) INT - D2 Micro servo motor (Roll) S (Yellow/ Orange) - D9 + (Red) - 5V - (Black/ Brown) - GND  Micro servo motor (Pitch) S (Yellow/ Orange) - D10 + (Red) - 5V - (Black/ Brown) - GND Coding As I already mention

76. MPU-6050 (Accelerometer + Gyro) sensor module: A friendly introduction

 Hey everyone! Sorry that I have not posted in a while. Today, I am back with a tutorial about interfacing the MPU-6050 sensor module with your Arduino microcontroller board. The InvenSense MPU-6050 is a low-cost, highly accurate inertial measurement unit (IMU) with six degrees of freedom (DOF) . IMUs can measure acceleration, inertia and a number of other parameters to allow you to determine their spatial position and velocity. It contains a MEMS 3-axis accelerometer and a MEMS 3-axis gyro in a single chip. It also has an onboard Digital Motion Processor (DMP) which processes complex 6-axis MotionFusion algorithms. This sensor module is also capable of accessing external magnetometers or other sensors through an auxiliary master IIC bus to provide complete 9-axis MotionFusion output. The MPU-6050 sensor module also consists of a temperature sensor but it's less accurate. Examples where MPU-6050 may be used Automotive industry - To deploy airbags, Vehicle roll handling Game control