70 likes | 191 Views
Application of G-Sensors. Final project for extra project (will arrange a presentation in the last class). Applications of G-Sensor. Game (Wii). Mobile Phone (photo browser). Music Pacer ( 運動型 mp3 隨身聽 ). G-Sensor – OS5000. Data formats: Roll, Pitch, Yaw, Ax, Ay, Az
E N D
Application of G-Sensors Final project for extra project (will arrange a presentation in the last class)
Applications of G-Sensor Game (Wii) Mobile Phone (photo browser) Music Pacer (運動型mp3隨身聽)
G-Sensor – OS5000 • Data formats: • Roll, Pitch, Yaw, Ax, Ay, Az • E.g. -78.5,7.5,300.5,-0.993,0.133,0.15 • Ax, Ay, Az: 3 axis acceleration readings, x,y,z • Sample rate: 20 sample/sec • Reference: http://hscc.cs.nctu.edu.tw/jennic/manual/OS5000_Compass_Manual.pdf
Method of get samples • Scenario: • Steps: 1.Read sample via Uart1. 2.Write sample to your PC(via Uart0) or sink(using wireless). • Set serial port of Jennic: • Buad rate : 19200 • Date : 8bit • Parity : none • Stop : 1bit Uart0 Uart1 OS5000 Jennic
An Example with 2 Sensors on Arm and Forearm Arm g g 0 Forearm 0 g time 0 -g (側面) x y G-Sensor (正面) (地心) z ** sampling rate = 30/sec
Project Description(for bonus) • Choose a specific action and log 3-axis acceleration samples measured by some G-Sensors. • Golfing, batting, pitching, exercise, aerobics, stretching, … • Plot the corresponding waveforms. • Make observation and analyze the behavior of the waveforms. • Discuss a potential application of your results. • Give an example. • Possibly combined with existing techniques, e.g. GPS.