Page 1 of 1

Add analog input to V4

Posted: Thu Jun 29, 2017 8:54 am
by cervantesg
Hello, I have a Freematics Vehicle Data Logger V4, we are working on a project where they want to log GPS, temperature and some digital inputs (count door opening).

Can we reuse this logger so some input pins can be used to read analog and digital inputs instead of OBD2?

Regards

Re: Add analog input to V4

Posted: Sat Jul 01, 2017 11:28 pm
by stanley
There are two analog input pinouts on the PCB board (near the LED) accessible as A0 and A1 in Arduino.

Re: Add analog input to V4

Posted: Mon Jul 03, 2017 8:25 pm
by protomor
What about digital inputs?

Re: Add analog input to V4

Posted: Mon Jul 03, 2017 11:28 pm
by stanley
I believe ATmega328's analog pins can be used for digital I/O too. They can even be used as software serial.