Evaluating Sensor Hub with Launchpad MSP430

1.Introduction
In this project,a firmware was developed to acquire data from several sensors,including MPU9150,BMP180,SHT21,SIL29023,and TMP006.A simple I2C interface protocol was developed to communicate with sensors.Several filtering algorithms are applied to eliminate sensor noise,including moving average filter,median value filter,FIR lowpass filter.Device angle was calculated using atan(arc tangent)function and data fusion of gyroscope and accelerometer.An User interface consisted of switches,LEDs,and PC text output was built to evaluate different sensors and switch between low power mode and working mode.Finally all the raw sensor data and filtered data were sent to PC through UART and plotted in real-time.  Continue reading “Evaluating Sensor Hub with Launchpad MSP430”

Rotary Inverted Pendulum

This is a project I built with my teammates in an Electronics Design Contest in 2013.That contest was a electronics marathon as we were required to choose one of the given tasks and finished it in 4 days.No provided materials,no help from others so we had to built it from scratch.It’s definitely not perfect but we successfully finished all the requirement :) !

Continue reading “Rotary Inverted Pendulum”

Building A Self Balancing Race Car

This post is to introduce the self-balancing smart car I built in 2013.My teammate and I spent several months to build a self-balancing car from a RC car chassis,and we also made most of the hardware modules and coded overnight just want to make it run faster and faster before the contest.Still remember the day when we competed with hundreds of teams from other universities :) Continue reading “Building A Self Balancing Race Car”

Prototyping An Entrance Guard System

This is a project I’ve in 2014 and later on it was posted right here 门禁系统的设计与实现-2014.12.6更新(in Chinese).
In this project I tried to build an Entrance Guard System using Atmega328.Here’s the main features:
  • LCD screen and keyboard for interacting
  • Voice communication(telephone quality)
  • Relay circuit for controlling 12v magnetic door lock
  • Password login
DSC_0407_1

Continue reading “Prototyping An Entrance Guard System”

CNC Controller

Well ,this is a project I’ve done in 2013.It’s a part of the whole CNC project which lasted for 2 years.
Back to 2012,I built my first CNC machine in order to have a powerful machine that enable me to make more complicated project.After building the machine I started to tune the control system.The controller I used is called GRBL,which is a powerful opensource firmware that based on Atmega328 and also compatible with Arduino.The firmware is really legit but the GUI is really shabby.And it looks like this:

Continue reading “CNC Controller”