Skip to content

nguyencanhtrung/emecsthon2016-TUKL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###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.


Initial Setup Tutorial

#####Setup git

  1. Download and install git for linux/windows
  2. Open terminal or git bash
  3. Set your name $git config --global user.name ""
  4. Set your mail address $git conifg --global user.email email@xx.com

#####Create blink project

  1. Open Simplicity Studio and Simplicity IDE
  2. File->New->Silicon Labs MCU Project
  3. Next->Example->STK3700_blink->Copy contents->Finish

#####Get the current version

  1. Open terminal or git bash
  2. Go to a location of your choice
  3. Clone repository $git clone https://github.com/nguyencanhtrung/emecsthon2016-TUKL.git
  4. Copy all files in project folder STK3700_blink. Overwrite all files if necessary. Do not forget the hidden folder .git!
  5. Check status $git status

About

A project for auto balance platform, implemented in EMECS-thon 2016 (6/2 -8/2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published