Great. got me a Rpi2 yesterday , to tinker with until I get my Rpi3.
A friend who works with electronics, who gave me the Rpi2 , offered to make me a 3 dollar analog sensor interface.
I'ts basically a atMega 328 dim, a reset switch, pull-up resistors and a few lines of code.
It has 4 analog inputs if we use I2C , 6 if we use SPI. (8 if we use a different atmega 328 format)
+ 4/4 digital I/O's..
The resistance of the sensor would need to be scaled , either in the atmega , or preferably in openplotter so you get support for any resistive sensor. the scaling itself is a single line of code , dividing the ref voltage over the pull-up and the sensor resistance.
Could something like this be supported directly in Openplotter? we could allso use a bigger atmega for more I/O's.
Wichever ADC solution you choose as your reference , I will buy one , just to have the same hard ware as others.
however, a intuitive way to take analog input voltages from SPI/I2C/whatever source , scale them , and turn them into NMEA/signalK values, and the possibilities are unlimited.
.manitu
A friend who works with electronics, who gave me the Rpi2 , offered to make me a 3 dollar analog sensor interface.
I'ts basically a atMega 328 dim, a reset switch, pull-up resistors and a few lines of code.
It has 4 analog inputs if we use I2C , 6 if we use SPI. (8 if we use a different atmega 328 format)
+ 4/4 digital I/O's..
The resistance of the sensor would need to be scaled , either in the atmega , or preferably in openplotter so you get support for any resistive sensor. the scaling itself is a single line of code , dividing the ref voltage over the pull-up and the sensor resistance.
Could something like this be supported directly in Openplotter? we could allso use a bigger atmega for more I/O's.
Wichever ADC solution you choose as your reference , I will buy one , just to have the same hard ware as others.
however, a intuitive way to take analog input voltages from SPI/I2C/whatever source , scale them , and turn them into NMEA/signalK values, and the possibilities are unlimited.
.manitu