is there any possibility that you could have got 12v onto the IO pins
at any point?
I can't see how that could have happened.
I've drawn a schematic. The van is a campervan with all appropriate fixtures and fittings.
The electrics (USB/ leisure battery/charger etc) was fitted as part of the conversion done by athe company that did the conversion.
I pulled all grounds together on my breadboard ie
1 from Pixl
1 from each ina226
1 from the van
I've not put the lines in for SCL/SDA as it just clutters the drawing.
The INA226 have to measure everything relative to GND so if you
connected each one to GND of each battery, then connected the
batteries in series for 24v, one of the INA226 could have been at 12v
relative to the Pixl. Does that seem possible?
Not that I can see.
What confuses me is that the setup had been working for days without issue. I'd stopped / started it a number of times.
Is it possible the reboot (due to revised code) caused the problem?
The DS300 is the CBE distribution box. +B1 and +B2 are the leisure and normal van battery.
Thanks
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon
I can't see how that could have happened.
I've drawn a schematic. The van is a campervan with all appropriate fixtures and fittings.
The electrics (USB/ leisure battery/charger etc) was fitted as part of the conversion done by athe company that did the conversion.
I pulled all grounds together on my breadboard ie
1 from Pixl
1 from each ina226
1 from the van
I've not put the lines in for SCL/SDA as it just clutters the drawing.
What confuses me is that the setup had been working for days without issue. I'd stopped / started it a number of times.
Is it possible the reboot (due to revised code) caused the problem?
The DS300 is the CBE distribution box. +B1 and +B2 are the leisure and normal van battery.
Thanks
1 Attachment