summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2015-03-23 17:10:45 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2015-03-23 17:10:45 +1100
commit06a579e730bb356cb3e14ef4a166cbfc6bc8affc (patch)
tree2e051671ab4e3e151dfb18b2ae26ab6d339e7607
parentb77a6bada4262ea9fcc211b9ae8f5a3c767cb7bd (diff)
parent2a38a152a32bcaeeed02cec897b609d44f98e8c9 (diff)
download2021-arduino-obd-06a579e730bb356cb3e14ef4a166cbfc6bc8affc.tar.gz
2021-arduino-obd-06a579e730bb356cb3e14ef4a166cbfc6bc8affc.tar.bz2
2021-arduino-obd-06a579e730bb356cb3e14ef4a166cbfc6bc8affc.zip
Merge branch 'master' of https://github.com/stanleyhuangyc/ArduinoOBD
-rw-r--r--megalogger/README.md18
1 files changed, 11 insertions, 7 deletions
diff --git a/megalogger/README.md b/megalogger/README.md
index 40f9b1c..bd9ada5 100644
--- a/megalogger/README.md
+++ b/megalogger/README.md
@@ -8,6 +8,7 @@ The sketch utilize following custom Arduino libraries:
OBD-II Library
TinyGPS Library
MPU6050 Library
+ MPU9150 Library
MultiLCD Library
@@ -16,13 +17,13 @@ Configuration
MegaLogger has several configurable options all stay in the config.h file. Major options include:
- OBD_MODEL - defines the model of OBD-II Adapter (UART or I2C)
+ OBD_MODEL - defines the model of OBD-II Adapter (OBD_MODEL_UART or OBD_MODEL_I2C)
USE_GPS - defines whether GPS is used
- USE_MPU6050 - defines whether
- MPU6050 (accelerometer & gyro) is used
+ USE_MPU6050 - defines whether MPU-6050 is used
+ USE_MPU9150 - defines whether MPU-9150 is used
ENABLE_DATA_LOG - toggles data logging on microSD card
ENABLE_DATA_OUT - toggles data streaming (to mobile devices via Bluetooth)
- STREAM_FORMAT - sets streaming data format (binary or text)
+ STREAM_FORMAT - sets streaming data format (FORMAT_BIN for binary format or FORMAT_CSV for text format)
OBD-II
------
@@ -33,10 +34,10 @@ GPS
---
The kit comes with optional GPS receiver which should be connected at Serial2. The incoming NMEA data stream is parsed by TinyGPS library.
-Motion Sensor
--------------
+MEMS Sensors
+------------
-Motion sensor (accelerometer & gyro) are embedded in I2C version of OBD-II Adapter. They are accessed via I2C by MPU6050 library.
+MEMS Sensors (MPU-6050 or MPU-9150) are embedded in I2C version of OBD-II Adapter. They are accessed via I2C by MPU6050/MPU9150 library.
Data Logging
------------
@@ -70,6 +71,9 @@ GPS and motion sensor data are defined as special PID which OBD-II standard does
#define PID_GPS_DATE 0x11
#define PID_ACC 0x20
#define PID_GYRO 0x21
+ #define PID_COMPASS 0x22
+ #define PID_MEMS_TEMP 0x23
+ #define PID_BATTERY_VOLTAGE 0x24
Data Streaming
--------------