kami-nashi / DSMPi

Sparklerific set of scripts and such to run ECMLink on a Raspberry Pi, complete with bells, whistles, buttons, and oled screens
GNU General Public License v3.0
9 stars 2 forks source link

Add 5v sensor data capture #1

Open kami-nashi opened 4 years ago

kami-nashi commented 4 years ago

Add 5v sensor data inputs Needs to dump to csv -> DSMUtil friendly Consider syncing this with the "record" button for ECM link (f12) for better DSMUtil overlay accuracy based on time. Should be able to scale multiple sensors Python may be acceptable, unless scaling up requires too much CPU, or timing is problematic -> move to C/C++

kami-nashi commented 4 years ago

Note: Looks like this will need a ADC and/or a Logic Converter. Each sensor will be a 'channel', so considerations need to be made for how many channels per device and how devices chain together.

kami-nashi commented 4 years ago

I have a Logic Converter on order, should arrive on 4/7/2020.

kami-nashi commented 4 years ago

Also, have a pair of ADS1115's on order, also to arrive on 4/7. Allegedly, it may be all I need and some code for it can be found here:
https://github.com/ControlEverythingCommunity/ADS1115 https://www.adafruit.com/product/1085