###A balancing system ######TU Kaiserslautern #######@EMECS-thon
Achievement: People Choice Award
Team Members:
A small project was implemented within 48 hours in EMECS-thon 2016 (a competition for Embedded System students between 6 universities in Europe - students have 48 hours to learn about a new micro-controller and develop their own projects running on this)
- Platform: Gecko 3700 starter kit
- IDE: Simplicity
- Programming language: C
Topic description
The system receives commands and accelerometer data from an Android smartphone. Basing on the command, it will perform in according operation modes Basically, the system has 2 operation modes.
- Manual mode, movement of the plate is adjusted based on the movement the smartphone (extract data from accelerometer)
- Automatic mode, performing self-balancing which means the system be able to hold the ball at the center of the plate in every circumstance
Communication part
-
The system communicate with Android smartphones by using an extra bluetooth module (HC-05), this module is connected with micro-controller through USART.
Sensors and actuators
-
Infrared sensors and LEDs are used to detect location of a ball.
-
Actuators are 2 servomotors which control the angles of plate based on PWM signal generated by micro-controller.
#####Setup git
- Download and install git for linux/windows
- Open terminal or git bash
- Set your name $git config --global user.name ""
- Set your mail address $git conifg --global user.email email@xx.com
#####Create blink project
- Open Simplicity Studio and Simplicity IDE
- File->New->Silicon Labs MCU Project
- Next->Example->STK3700_blink->Copy contents->Finish
#####Get the current version
- Open terminal or git bash
- Go to a location of your choice
- Clone repository $git clone https://github.com/nguyencanhtrung/emecsthon2016-TUKL.git
- Copy all files in project folder STK3700_blink. Overwrite all files if necessary. Do not forget the hidden folder .git!
- Check status $git status