Project BATAKO

Dependencies:   ADXL345 HMC5843 ITG3200 cpplib mbed mbed-rtos

BATAKO test project

In this project, mbed is connected to the PC with virtual serial port on USB.

ここでは mbed はUSB上の仮想シリアルポートでPCとつながっています。

Output shown in connected PC:

/media/uploads/gltest26/batako003.jpg

The charts are drawn in real-time with Processing development environment.

グラフは Processing の開発環境でリアルタイムに描画されます。

Processing Source of PC client

64bit version of Processing does not support serial port, so use 32bit regardless of your system.

64ビットの Processing はシリアルポートをサポートしていないので、OSに関係なく32ビットを使いましょう。

ソースはこちらに仮置き https://gist.github.com/677b6cd8487e6f6b7f7b

Changes

RevisionDateWhoCommit message
29:78f899c90940 2012-10-02 gltest26 Added calibration curve correction of thermal drift in ITG3200 gyro sensor. 9DoF_Stick tip
28:db69c3e314b3 2012-10-02 gltest26 Shared the I2C object among devices in intuitive way. 9DoF_Stick
27:e1dd4bfa65d7 2012-09-29 gltest26 Fixed multiple sensors interfering which caused freezing. 9DoF_Stick
26:25030c84d0c5 2012-09-17 gltest26 Added position integration and gravity calibration 9DoF_Stick
25:a8221715d3aa 2012-09-14 gltest26 Introduced RtosTimer to integrate gyro sensor output in precise period. Thread did not work well. 9DoF_Stick
24:1ec83e784b25 2012-09-13 gltest26 Published cpplib and deleted TextLCD for preparing to publish this project 9DoF_Stick
23:f3f5d5d8a05a 2012-09-13 gltest26 Added basic command interaction through serial port. Recalibrate and temperature toggle commands are demonstrated. 9DoF_Stick
22:4b3ab6c4c746 2012-09-13 gltest26 Tested frequency modulation with Ticker class. Also linked with private forked libraries. 9DoF_Stick
21:e76fbcbe9817 2012-09-12 gltest26 Utilized ITG3200 library's calibration ability, instead of messing with offset values manually. 9DoF_Stick
20:0b2d6985a456 2012-09-11 gltest26 Deleted old comments and simplified codes. 9DoF_Stick
19:2b76f0cf74f1 2012-09-11 gltest26 Replaced I2C raw access for ITG3200 with a dedicated class to access the device imported from another user's project. 9DoF_Stick
18:180d7b303412 2012-09-11 gltest26 Added temperature output as serial port's 13th parameter. 9DoF_Stick
17:fb07468f243c 2012-09-10 gltest26 Integrated the gyro sensor over time to acquire rotation Quaternion, but it seems to require calibration to get it working correctly. 9DoF_Stick
16:b33a1a4705d3 2012-09-09 gltest26 Output all 9 values from 9DoF Stick in a line in the serial port. 9DoF_Stick
15:bf2b1ff3b001 2012-09-09 gltest26 Imported and replaced accelerometer ADXL345's I2C interface with external library, which had a bug that I have fixed. 9DoF_Stick
14:aafd9d65ae49 2012-09-09 gltest26 Added compass for readings, too. 9DoF_Stick
13:e1b7b1c61c78 2012-09-09 gltest26 Tested gyro sensor in 9Dof-Stick via I2C 9DoF_Stick
12:3a0392b8d9ab 2012-09-09 gltest26 First test program for 9DoF Stick, which just reads accelerometer via I2C and writes it to USB serial. 9DoF_Stick
11:42f8d0867d41 2012-09-04 gltest26 Output raw accelerometer values instead of integrated ones for debugging. accel
10:5e0060b97711 2012-09-04 gltest26 Experimented with gravity direction calibration.; It first measures the acceleration for some moments and assume it to be the gravity.; In reality, the accelerometer cannot be precisely stationary. accel
9:197a5bfedffd 2012-09-02 gltest26 Accelerometer first test; It works, but we fall forever accel
8:90296bb5b11f 2012-09-01 gltest26 Tested calculation time measurement default
7:238aedd5a01b 2012-08-26 gltest26 Trigonometric functions calculator (infinite loop)
6:e2139c11ef2e 2012-08-26 gltest26 Quaternion calculator (infinite loop)
5:29b6a1231e39 2012-08-26 gltest26 Tested serial port and TextLCD at the same time
4:7c1a462218c4 2012-08-19 gltest26 Tested Quatd compilation random
3:f3f3d5e34181 2012-07-23 gltest26 Tested cpplib::Quatd for compilation
2:cdbc04b7f87e 2012-07-22 gltest26 random pattern test random
1:a9fa97fd56a2 2012-07-22 gltest26 Four LEDs pattern test
0:d5ce6b72587d 2012-07-22 gltest26 testing PWM