This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Analog motor sensors
#5
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
Reply


Messages In This Thread
Analog motor sensors - by manitu - 2016-03-24, 07:15 PM
RE: Analog motor sensors - by Vamonos - 2016-03-24, 08:04 PM
RE: Analog motor sensors - by Sailoog - 2016-03-25, 11:59 AM
RE: Analog motor sensors - by Sailoog - 2016-03-25, 12:05 PM
RE: Analog motor sensors - by manitu - 2016-03-27, 01:57 PM
RE: Analog motor sensors - by Sailoog - 2016-03-28, 12:41 PM
RE: Analog motor sensors - by manitu - 2016-04-04, 11:40 PM
RE: Analog motor sensors - by henker - 2016-07-26, 01:16 PM
RE: Analog motor sensors - by Sailoog - 2016-07-26, 05:22 PM
RE: Analog motor sensors - by henker - 2016-08-12, 07:00 PM
RE: Analog motor sensors - by PaddyB - 2016-07-26, 05:59 PM
RE: Analog motor sensors - by e-sailing - 2016-08-12, 11:17 PM
RE: Analog motor sensors - by henker - 2016-08-13, 12:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)