Difference between revisions of "HANcoder/Training Material/Vehicle Logger"

From OpenMBD
Jump to: navigation, search
 
(8 intermediate revisions by one other user not shown)
Line 5: Line 5:
  
 
[[File:VehicleLogger.JPG|800px]]
 
[[File:VehicleLogger.JPG|800px]]
 
  
 
== What hardware do you need ==
 
== What hardware do you need ==
 
* Olimex E407
 
* Olimex E407
* GPS shield, for example the [[HANcoder/Examples/Hardware/GPS_Logger_Shield| GPS Logger Shield]]
+
* GPS shield, for example the [https://www.antratek.nl/gps-logger-shield?gclid=Cj0KEQjwuOHHBRDmvsHs8PukyIQBEiQAlEMW0Dd4j-n4SSp0ZNpl6XTj6PV_ZWKAwI6jAble2BBIDegaAr4l8P8HAQ| GPS Logger Shield]
 
* MPU6500 6 degrees of freedom Accelerometer and Gyro senosor, [[HANcoder/Examples/MPU6500|more information]]
 
* MPU6500 6 degrees of freedom Accelerometer and Gyro senosor, [[HANcoder/Examples/MPU6500|more information]]
* CAN transceiver, for example the [[HANcoder/Examples/SN65HVD230|SN65HVD230 CAN transceiver module]]
+
* CAN transceiver, for example the [http://www.waveshare.com/sn65hvd230-can-board.htm| SN65HVD230 CAN transceiver module]
 
* OBD2 connector (search for J1962 on AliExpress for example)
 
* OBD2 connector (search for J1962 on AliExpress for example)
 
* microSD card
 
* microSD card
Line 17: Line 16:
 
* prototype PCB
 
* prototype PCB
 
* cigarette to 2.5mm power jack [https://www.allekabels.nl/nieuwe-producten/7184/1281597/car-cigarette-lighter-cablebrlenght-18-mtr-plug-dc-jack.html?gclid=CjwKEAjwq5LHBRCN0YLf9-GyywYSJAAhOw6msx0UN1Fhuz7HIzIspP8f71M0wf6P1RSBNH6ejxS_zBoClSLw_wcB (for example this one)] or you can get power directly from the OBD2 connector.
 
* cigarette to 2.5mm power jack [https://www.allekabels.nl/nieuwe-producten/7184/1281597/car-cigarette-lighter-cablebrlenght-18-mtr-plug-dc-jack.html?gclid=CjwKEAjwq5LHBRCN0YLf9-GyywYSJAAhOw6msx0UN1Fhuz7HIzIspP8f71M0wf6P1RSBNH6ejxS_zBoClSLw_wcB (for example this one)] or you can get power directly from the OBD2 connector.
 
  
  
 
[[File:SN65HVD230.JPG|100px]]
 
[[File:SN65HVD230.JPG|100px]]
 
[[File:MPU6500.jpg|100px]]
 
[[File:MPU6500.jpg|100px]]
[[File:GPSLoggerShield.jpg|400px]]
+
[[File:GPSLoggerShield.jpg|200px]]
 +
 
 +
== Building the vehicle logger ==
 +
The vehicle logger has four functions: GPS, OBD2, 6 DoF sensor and logging all the data to an SDcard
  
  
Line 28: Line 29:
 
With the addition of a steering angle sensor it will be possible to calculate the slip angle of the tires and it can be calculated whether the car is over-steering or under-steering.
 
With the addition of a steering angle sensor it will be possible to calculate the slip angle of the tires and it can be calculated whether the car is over-steering or under-steering.
  
[[HANcoder/Examples/Vehicle_Logger_Step_2| next]]
+
 
 +
The [[HANcoder/Examples/MPU6500|first step]] is to read out the 6DoF sensor, the MPU6500.

Latest revision as of 11:24, 13 April 2018


Project description

The goal of the vehicle logger is to collect data from the vehicle to be able to say something about the driving style and performance of the vehicle. With a GPS sensor the time and location and velocity of the car are recorded. A 3-axis gyroscope and 3-axis acceleration sensor is supported to be able to detect rotational speeds and accelerations on the vehicle chassis. Finally the OBD-connector of the car is used to read engine specific data. All the data is stored onto a micro-SD card.

VehicleLogger.JPG

What hardware do you need


SN65HVD230.JPG MPU6500.jpg GPSLoggerShield.jpg

Building the vehicle logger

The vehicle logger has four functions: GPS, OBD2, 6 DoF sensor and logging all the data to an SDcard


Possible extensions

With the addition of a steering angle sensor it will be possible to calculate the slip angle of the tires and it can be calculated whether the car is over-steering or under-steering.


The first step is to read out the 6DoF sensor, the MPU6500.