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
SigKSens on D1 Mini with ADS1115 for power monitoring
#1
Photo 
Need help here. I have an D1 Mini which I previously have run I2C connection to a MPU 9250 on and it have worked flawless. Now I want to change it and use it with a ADS 1115 to monitor my batteries instead, but I can not get it to work. I have changed  //#define ENABLE_MPU for #define ENABLE_ADS1115 in config.h, and I2C is of course enabled. When I look at the serial monitor i see "Scanning for i2c Sensors..." but when I look for it through my browser in <IP adress>/getSensorinfo, I get nothing. When I try to set <IP adress>/setSensorAttr?address=0x48&attrName=diff0_1&path=vessels.electrical.batteries.voltage  I get the error message: { "success": false }

I plan to hook up a Hall sensor (https://www.ebay.co.uk/itm/ACS758LCB-050...3091956413) and a 0-25V sensor (https://www.ebay.co.uk/itm/222848285280) to monitor my current (pun intended...) battery status by sending data over signalK - possibly by tweaking it in NodeRed - but first I have to get this damned thing to work! ;-)


Attached Files Image(s)
   
Reply


Messages In This Thread
SigKSens on D1 Mini with ADS1115 for power monitoring - by Ranur - 2020-01-27, 08:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)