Freematics Vehicle Data Logger is a programmable device with OBD-II and GPS accessibility. Inside it is an AVR ATMega328P (compatible with Arduino UNO) and peripherals accessible with Arduino libraries including voltmeter, accelerometer, gyroscope, temperature sensor, microSD seat and Bluetooth (BLE and SPP) module.
After our first Kickstarter campaign was over, we have been keeping up pushing the project Freematics forward, though the goal of the campaign wasn’t reached. The sample of Freematics OBD-II Adapter V2 is now under testing. The V2 has several changes and improvements. The most important one is the GPS support. One serial UART of STM32 was led out to 4 pins for connecting GPS module. The STM32 processor will process the NMEA data input from the connected GPS module and parse it. We have extended ELM327 AT command-set to provide access to the parsed data. The added commands are:
- ATBR1 <baudrate> – setting serial baudrate for AT command line interface (default 38400bps)
- ATBR2 <baudrate> – setting GPS serial baudrate (first setting turns on GPS parsing)
- ATGRR – retrieving raw data (NMEA) from GPS module (once a complete line)
- ATSGC – sending GPS command (mainly for changing GPS module paramteres)