OpenMarine
Using ADS1115 in differential mode - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Feature Requests (https://forum.openmarine.net/forumdisplay.php?fid=5)
+--- Thread: Using ADS1115 in differential mode (/showthread.php?tid=475)

Pages: 1 2


RE: Using ADS1115 in differential mode - PaddyB - 2018-02-11

(2018-02-11, 08:40 AM)olewsaa Wrote: Hi,
I have been working on this for some time. I did implement the differential mode in OpenPlotter. I also submitted the code.
However, I have now switched to an Internet of Things on Board (IoToB) approach. I will try to avoid running cables around the boat
if I can avoid it. Most of my work is documented and all source code are available. ESP32 together with SignalK is a revolution, it's
so easy to implement IoToB devices. OpenPlotter happily accept the data and display nicely.
Thanks for sharing the code, I've gone a similar route with an ESP8266 sending temperature, pressure and voltage data to Openplotter but just used EasyEsp to send it using MQTT. SignalK would be better plus it will hopefully make multiplexing NMEA data easier with software serial, using bits of your code will make that much easier. Thanks!


RE: Using ADS1115 in differential mode - affinite - 2018-03-06

(2018-02-11, 04:01 PM)PaddyB Wrote:
(2018-02-11, 08:40 AM)olewsaa Wrote: Hi,
I have been working on this for some time. I did implement the differential mode in OpenPlotter. I also submitted the code.
However, I have now switched to an Internet of Things on Board (IoToB) approach. I will try to avoid running cables around the boat
if I can avoid it. Most of my work is documented and all source code are available. ESP32 together with SignalK is a revolution, it's
so easy to implement IoToB devices. OpenPlotter happily accept the data and display nicely.
Thanks for sharing the code, I've gone a similar route with an ESP8266 sending temperature, pressure and voltage data to Openplotter but just used EasyEsp to send it using MQTT. SignalK would be better plus it will hopefully make multiplexing NMEA data easier with software serial, using bits of your code will make that much easier. Thanks!

Ole, Paddy I am also on this path ...
I'm interested to know why you think that SignalK will be better than MQTT for this application ?
Performance seems fine over MQTT
Thanks
Steve


RE: Using ADS1115 in differential mode - PaddyB - 2018-03-06

(2018-03-06, 10:59 AM)affinite Wrote: Ole, Paddy I am also on this path ...
I'm interested to know why you think that SignalK will be better than MQTT for this application ?
Performance seems fine over MQTT
Thanks
Steve

Not precise real reason, just seems like it's a tiny bit less work for openplotter to do, converting from MQTT to signalk plus makes a little bit more sense to me so looking at it later it's hopefully a bit easier to see what's going where. Just seems a bit 'running round the houses' when the esp can do some of the work before sending the data out. 
On the other hand there are downsides, I love MQTT and leaving the data going out of the esp makes it simple to get onto the web to look at when away from the boat. Hmmm ...  Smile