Standby mode and motion triggered wakeup

Inquiry and support for Freematics products
Post Reply
stanley
Site Admin
Posts: 1018
Joined: Sat Mar 01, 2014 3:15 am

Standby mode and motion triggered wakeup

Post by stanley »

Freematics ONE is able to work in a low power mode in which the working current is as low as 10mA. The main controller ATmega328p can still be active and access MEMS sensor, BLE or microSD. Instead of checking OBD to detect ignition being switched back on, we can do motion detection by periodically checking MEMS sensor to wake up the whole device (OBD, GPS, GSM/WIFI) when the car starts to move. This allows maximize power saving so that the car battery won't go flat for months. The latest revision of sample sketches (datalogger and telelogger) in Github demonstrate this approach.
https://github.com/stanleyhuangyc/Freem ... irmware_v4

The motion threshold in config.h can be adjusted to your own flavor. I have done a couple of tests these days and it proves this works quite well. Comparing with repeatedly request OBD PID to trigger wake up, this is much more power efficient.
gospod
Posts: 7
Joined: Thu Oct 26, 2017 6:39 am

Re: Standby mode and motion triggered wakeup

Post by gospod »

Could you please share example?
How could got it working with OBD-II UART Adapter V2 (for Arduino)?
Post Reply