9 Degrees of Freedom module which integrated MEMS Accelerometer, Gyroscope, Compass, Barometer and GPS receiver in just 4x4cm.
|1||3V3||Power supply 3.3 Volt|
|2||TXD||I||Cpu TXD serial line wired to GPS RX line|
|3||RXD||O||Cpu RXD serial line wired to GPS TX line|
|7||SDA||I/O||I2C Bus DATA|
|8||SCL||I||I2C Bus CLOCK|
|10||GND||Power supply GND|
The I2C bus is wired to the Compass, Accelerometer, Gyroscope and Barometer chips.
Fore more details please refere to the schematic.
These are the usable connectors where to plug this board using the factory default Linux image:
|Daisy connector||Serial device||I2C device|
|FOX Board G20 (+Daisy-1) D1||/dev/ttyS2||/dev/i2c-0|
|FOX Board G20 (+Daisy-1) D6||/dev/ttyS4||/dev/i2c-0|
|FOX Board G20 (+Daisy-1) D8||/dev/ttyS3||/dev/i2c-0|
They use Daisy classes defined inside the the Acme Systems ablib.py.
This example reads the NMEA message send by the GPS chip on the /dev/ttyS4 serial port (FOX.D6 or TERRA.D10 daisy connectors) and shows them on the Linux command line.
Run it by typing:
~/playground/python/daisy7# python readNMEA.py $GPGGA,115609.085,4157.9279,N,01204.6836,E,1,10,0.8,20.6,M,48.9,M,,0000*6D $GPGSA,A,3,09,12,15,29,17,25,27,04,02,14,,,1.4,0.8,1.2*3E $GPGSV,3,1,11,12,72,325,41,09,64,115,52,27,53,121,44,25,37,272,49*7D $GPGSV,3,2,11,14,31,308,44,02,21,117,38,04,20,078,35,29,17,205,51*78 $GPGSV,3,3,11,15,16,182,39,17,06,039,33,22,00,273,*47 $GPRMC,115609.085,A,4157.9279,N,01204.6836,E,000.0,041.6,170712,,,A*66 $GPVTG,041.6,T,,M,000.0,N,000.0,K,A*0E $GPGGA,115610.085,4157.9279,N,01204.6836,E,1,10,0.8,20.6,M,48.9,M,,0000*65 $GPGSA,A,3,09,12,15,29,17,25,27,04,02,14,,,1.4,0.8,1.2*3E ...
This example filters the NMEA messages GGA - Global Positioning Systems Fix Data and shows the Latitute and Longitude value on the system console provideing an URL to see on Google maps the current GPS position.
Run it by typing:
~/playground/python/daisy7# python googleCoordinates.py Latitude: 41.9654233333 Longitude: 12.07834 URL: https://maps.google.com/maps?q=41.965423,12.078340 Latitude: 41.9654233333 Longitude: 12.07834 URL: https://maps.google.com/maps?q=41.965423,12.078340 Latitude: 41.9654233333 Longitude: 12.07834 URL: https://maps.google.com/maps?q=41.965423,12.078340
Insert URL value on your browser and shown where the Daisy-7 is:
This example reads the X,Y and Z axis linear accelleration via I2C bus.
Run the example then move the DAISY-7 board so see linear speed variations.
~/playground/python/daisy7# python acc.py X= 1216 Y=-16528 Z= -2992 X= 1200 Y=-16272 Z= -2944 X= 1136 Y=-16288 Z= -3024 X= 1184 Y=-16272 Z= -2976 X= 1184 Y=-16304 Z= -2992 X= 1168 Y=-16352 Z= -2976
This example reads the X,Y and Z axis angular speed from the gyroscope chip via I2C bus.
Run the example then move the DAISY-7 board so see angular speed variations.
~/playground/python/daisy7# python gyro.py X= -10 Y= -18 Z= 8 X= -13 Y= -17 Z= 8 X= -2 Y= -16 Z= 6 X= -8 Y= -18 Z= 7 X= -7 Y= -18 Z= 8 X= -36 Y= -18 Z= 14
To read the Honeywell HMC5883L compass chip we have integrated in the ablib library part of the Think Bowl I2C Python Library.
Some features of this library are:
This is an example of code to use them:
~/playground/python/daisy7# python compass.py X= -147 Y= -184 Z= -437 X= -215 Y= -314 Z= -375 X= 57 Y= -292 Z= -420 X= 138 Y= -222 Z= -427 X= 315 Y= -128 Z= -353
Daisy-7 is a 9 Degrees of Freedom module (9DOF) with digital MEMS (accelerometer, gyroscope, compass, barometer) and a GPS receiver IC in just 4x4cm.
Note: the daisy flat cable to wire this board is not included. Don't forget to buy it (code FLAT-20CM)
GPS active antenna with SMA male connector to use Daisy-7 add-on board.
20 cm ribbon cable with 10 wires compatible with the Acme Daisy Cabling System.
At least one of these cables is required to connect each Daisy module.
if you need different lengths please consider making your own the cable using the IDC socket JJ-02291-10P-F and the flat cable FC-3754-1M.
Atmel© Certified Partner
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. We not provide any direct support for the Open Source preinstalled software but, through these pages and forum posts, all of the information required to obtain the sources, install, use and update the Open Source software that can be run on the Acme boards. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source so you have to check the license terms provided by the authors (usually the GPL) before using it in any commercial or non-commercial product, by yourself. Before to contact us please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore could be better to post your questions to the Acme Systems forum and ensure that all of the site contributors and large software community can read and reply to your questions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.