DingkunLiu / RC-Car

Motion Sensing RC car based on acceleration sensor and MSP430

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Motion sensing RC car

A motion sensing RC car based on acceleration sensor and MSP430 micro-controller

Features

1. Motion sensing RC car: Turn the acceleration sensor to control the direction of the car
2. Music playing: Play simple music with two independent motor

Usage Instructions

Connect P1.3 P1.4 P1.5 to buttoms which give low level when pressed
Press P1.3 buttom to start/stop anything
Press P1.4 buttom to start/stop moving
Press P1.5 buttom to start/stop playing music(must stop moving first)

Physical Display

Car
alt

Remote Control Unit
alt

Hardware Requirement

  1. Car with 2 wheel and 1 universal wheel
  2. MSP430G2553 development board * 2
  3. HC-05 Bluetooth module *2 (one master one slave)
  4. Motor * 2
  5. MPU-6050 * 1
  6. Motor driver board * 1
  7. Power supply

System Design

alt

Driver Board Design

alt

Pin Configuration

HC-05 connected to UART P1.1 & P1.2

Driver Board Controlle
alt

Control Unit Controller (MPU6050)
P1.3 & P1.4 & P1.5 set as control logic input
alt

About

Motion Sensing RC car based on acceleration sensor and MSP430

License:MIT License


Languages

Language:C 100.0%