Hey everybody, I'm re-working my very first board layout. It's been in production for just over 3 years, mostly working well, but with two manageable problems:
Based on all that, I'm re-designing the board from scratch in DipTrace. The basic concept works well for our needs. It's using analog Hall Effect sensors in conjunction with a comparator to detect a magnet in two potential "on" positions, effectively making a non-contact momentary on-off-on switch with ~5V outputs and indicator LEDs.
The only deliberate schematic changes are the addition of a reverse protection diode, which shorts the supply inputs if they're wired backwards (it's ok because the supply rail feeding this board is limited to 130mA max current,) and the addition of test points which can be used to access the analog Hall Effect signals.
I realize now with hindsight that the feedback resistors which are providing hysteresis can interact with each other, pushing the Vref voltage around more than might be desirable, but that's not an issue for us because: a) It's physically impossible for both outputs to be triggered at once unless something major is broken, and b) the Vref levels are already adjusted based on where the double-feedback arrangement sets the resting Vref voltage.
The one other thing I know is odd is that there are holes incredibly close to pads at D1 and D2, but that is exactly as drawn in the datasheet for the LEDs (they're reverse-mount, projecting through holes in the PCB down to the bottom side.)
With these known oddities out of the way, do you all see anything else I should be concerned about?
(EDIT: just realized the comparator number isn't listed in the schematic; it's an MCP6542.)

- I didn't include reverse voltage protection for when it's wired wrong, so a few have been damaged (discussed in another thread)
- I used default Eagle 0402 resistor pad layouts which were totally wrong, making it difficult for our assembly house to place resistors.
Based on all that, I'm re-designing the board from scratch in DipTrace. The basic concept works well for our needs. It's using analog Hall Effect sensors in conjunction with a comparator to detect a magnet in two potential "on" positions, effectively making a non-contact momentary on-off-on switch with ~5V outputs and indicator LEDs.
The only deliberate schematic changes are the addition of a reverse protection diode, which shorts the supply inputs if they're wired backwards (it's ok because the supply rail feeding this board is limited to 130mA max current,) and the addition of test points which can be used to access the analog Hall Effect signals.
I realize now with hindsight that the feedback resistors which are providing hysteresis can interact with each other, pushing the Vref voltage around more than might be desirable, but that's not an issue for us because: a) It's physically impossible for both outputs to be triggered at once unless something major is broken, and b) the Vref levels are already adjusted based on where the double-feedback arrangement sets the resting Vref voltage.
The one other thing I know is odd is that there are holes incredibly close to pads at D1 and D2, but that is exactly as drawn in the datasheet for the LEDs (they're reverse-mount, projecting through holes in the PCB down to the bottom side.)
With these known oddities out of the way, do you all see anything else I should be concerned about?
(EDIT: just realized the comparator number isn't listed in the schematic; it's an MCP6542.)

