I have a long standing project that im finally getting time to work on.
Here are the functions I plan on implementing: Ammeter 2x PID devices (using 1 temp sensor and 1 relay each) 7x relays 3 onewire busses serial connection to a display (display is 5v) Ammeter with 2 CTs (one for each leg)
Here are the components that i plan on using: MCP23017 for the relays Songle 5v 10A relays x5 SSR 40A relay x2 CP2104 USB to Serial LM2576 to convert 12v to 5v AZ1117CH to convert 5v to 3.3v ADS1015 ADC to sample current
A couple concerns I have. i have a need for 2 serial ports (Rx AND Tx) one to debug/flash and the other to send and receive to a display like an ITEAD smart display. as far as i know Serial1 is Tx only so i was thinking a DPDT slider to switch between the 2. does that sound right?
I will have the MCP and the ADS on the I2C channel. MCP will be all output with no interrupts. The ADS will have a high sample rate. does the sample rate affect the communication across the channel?
now that the ADC is external, i "can" move to an ESP32 but it adds coding complications that I might not need.