irvined1982 / arduino-ELM327

ELM327 Library for Arduino
GNU General Public License v2.0
69 stars 31 forks source link

Request to add support for low power and sleep modes #3

Open stirobot opened 9 years ago

stirobot commented 9 years ago

The ST chip should support low power modes. I have tried unsuccessfully to add runCommand("STSLU", data, 20); to the ELM327::beigin but it did not work as predicted (car died after a week parked. I have yet to hook up a multimeter and watch for a change in draw).

I may continue work on this, but I think it would benefit a lot of people who intend to plug in a WIG-09555 device and leave it there for a while without draining their battery.

Although this indicates that there may be a bug in the firmware version that may ship with the sparkfun device: https://www.scantool.net/forum/index.php?topic=6409.0, which would mean adding the command mentioned above to the begin statement could work.