Hi all,
I have an arduino uno that is sampling current and voltage from multiple sources in an off-grid setup.
I am sampling :
- battery current (bidirectional, 200A max) ACS758 200B
- solar current (from 2 different regulators, 100A max each) ACS758 200B and ACS758 100B
- turbine current(50A max) ACS758 100B
- genset current(100A max) ACS758 200B
( I am planning to replace all sensors to unidirectional barr the battery current one )
in addition to
- battery voltage (barring catastrophy, 23v to 32v)
- turbine voltage (0v to 150v)
The environment is possibly very electrically noisy inside the distribution box near the solar/turbine regulators.
The arduino has an ethernet sheild to provide networking to the outside world.
Also, the arduino takes care of turning on/off 2 ssrs.
- to turn a 240v outlet on when batteries are full and off when below a set point in battery capacity
- to turn off and on turbine brakes depending on many conditions
To be clear, this is an existing installation and has been working 24/7 for about 3 years. My issue is that the data (sent from arduino to local server every 10sec) that I am collecting from it is noisy..
I have attempted to follow the datasheets for the ACS758s but I don't know for sure what happens when connecting up multiples powered from the same bus lines
also , the datasheet is not clear as crystal with regards to output filtering so I was flying blind using a bit of trial and error when doing component picking.. I did testing with only one sensor and I am thinking that is part of my issue. Also, it seems the uno can produce a bit of crosstalk between the analog input pins so I am sort of chasing my tail...
so currently using (per current sensor)
- 0.1uF cap between 5v rail and gnd
- 10nF cap between output and gnd
3 4.7k resistor between sensor out and arduino analog in pin
voltage sensing is done with voltage dividers
Arduino is powered from a wallwart, switchmode 7.5v ..
The reason for the questions now is because I am planning to make a new custom sheild to replace my v1.0 sheild and now is the time to get these things right..
Any advise ?
Thanks in advance