In this project I'll make the dc motor speed control with the accelerometer.
But we will add the warning system according to which in addition to speed. So what this system can help us? For example, according to the slope by placing accelerometer on the robot can adjust the speed of the autonomous robot of the motor. Tilt the engine to provide more power than is giving rise slope. In addition, the next project will control the system via Bluetooth wireless.
More information : http://www.robimek.com/arduino-alarm-sistemli-dc-motor-hiz-kontrolu-projesi/
Step 1: Materials:
- Mpu6050 gyro sensor
- DC Motors
- Jumper Cables
I did not need to use motor drives our project.
For we will only make the engine speed control with analog edeğer change in voltage. Just go if we would have to use two-way drive.
Step 2: Electronic Circuit Diagram:
A digital pin to 9 pin the engine to the GND pin on the other, plus the buzzer digital pin end of the 12's put the negative end of the GND I eat.
If you use the Arduino UNO SCL pins analog accelerometer sensor 5, let's put the sd to 4 analog pins. If you are using pins on the Arduino Mega writing already available.
Step 3: Video and Code:
Motor control is realized by moving the x-axis
More informarion and arduino code : http://www.robimek.com/arduino-alarm-sistemli-dc-motor-hiz-kontrolu-projesi/