How to build a 21st century protection board

I think I've found an easier option to work with from the hardware side. ADC128D818
for A/D conversion and PCF8574A to take care of digital I/O should cover everything. Are these compatible to write software for?

http://www.mouser.com/ds/2/405/adc128d818-439003.pdf

http://www.mouser.com/ds/2/405/pcf8574a-555743.pdf

I bought some PCF8574s sometime back, I'm sure I was going to do something with them. When you can find them in a databook from 1987, and they are still here, they are very popular. I see the ADC128D818 has integrated temp sensor, nice. Short answer, yes.

MI
 
I used PCF8574As in the Pitchfork Preamp controls, so I'm familiar with them. I know they are on a hi state on power up so quick turn off code is needed. I've got DC protection designed. I may need to add a pull-up resistor to P7 yet. I need time to read the data sheet again.
As usual I'm late to this party. This is a perfect solution for what I want to do, plus way more. But I could adapt it. Any PCB group buy in the plans, or did I miss a post somewhere?

Rick
 
In fact, to add a channel (or multiple channels) you can just duplicate R26, C12, C13, D13, D21 as many times as needed and connect the right sides of D13, D21 in parallel, as it's done with 2 channels already here. Is that what you're looking for?

Arduino supports 2 hardware interrupt channels and both of them are already engaged with DC offset and over-current sensors.
 

Attachments

  • @Protection-sch-2.0.jpg 2015-10-17 17-06-45.png
    @Protection-sch-2.0.jpg 2015-10-17 17-06-45.png
    139.6 KB · Views: 322
I have 2 complete standalone DC detection circuits. One on each binding post of the amp. Their signal output pulls the line low in normal operation, and lets it go high on fault. I'm bringing the signal from each to the control board separately. Being they pull the line low for normal operation, they can't be paralleled together, or the signal wouldn't go high unless both were in fault. I'm trying to reuse your code as much as possible, but I've noticed you used two hardware interrupts already. I've been reading that software interrupts can be slow to react, and I'm still pretty terrible at coding. I can combine the signals with a dual optocoupler (creating an inverting buffer) and modify the code to require a high signal. I'm just wondering if that would operate better.
 
Last edited:
S1 is a "Reset" button, only needed for testing/debugging.
U6, R20, D13-15 are handling the remote on/off trigger signals and optional "Power On/Off" switch - if you don't use the trigger signals, you can drop those.
I can't find D8 (looking at schematic from the post #583).