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

From OpenMBD
Jump to: navigation, search
(Created page with "{{HANcoder}} == 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...")
 
 
(15 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
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.
 
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.
  
{|
+
[[File:VehicleLogger.JPG|800px]]
![[HANcoder/Examples/SN65HVD230|SN65HVD230 CAN transceiver module]]
 
![[HANcoder/Examples/MPU6500|MPU6500 6 Axis Accelerometer and Gyro Sensor Module]]
 
![[HANcoder/Examples/GPS|SparkFun GPS Logger Shield]]
 
|-
 
|[[File:.png|400px]]
 
|[[File:Bodas_RC28_14.png|400px]]
 
|[[File:ProdriveGCU.png|400px]]
 
|}
 
SN65HVD230 CAN transceiver module
 
MPU6500 6 Axis Accelerometer and Gyro Sensor Module
 
SparkFun GPS Logger Shield
 
  
 +
== What hardware do you need ==
 +
* Olimex E407
 +
* 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]]
 +
* 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)
 +
* microSD card
 +
* screw terminal connector
 +
* 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.
  
  
 +
[[File:SN65HVD230.JPG|100px]]
 +
[[File:MPU6500.jpg|100px]]
 +
[[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
  
  
 
== Possible extensions ==  
 
== 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.
 
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 [[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.