Well, I tried using the net to find a simple answer for this - without
much luck, so thought I'd at least ask here again hoping that someone
has done something similar.
What started this was my volunteering to make a grey water pump with
auto cutout. I've at least created a board using an Atmel ATtiny13,
pushbutton and relay. The timeout and pushbutton code is working, but
I've yet to interface a pressure switch to an ADC input indicating
lack of water pressure.
I was given an SX01DN sensor to test (see http://www.farnell.com/datasheets/51886.pdf)
and please forgive my ignorance (or stupidity), but I really can't see
how to interface this with an MCU without substantial op-amp
circuitry. Even then, how to get an output range of 0-5 volts is still
beyond me at this stage.
Any hints would be appreciated, any 'you d***head' messages not <g>.
Cheers, Phil.
much luck, so thought I'd at least ask here again hoping that someone
has done something similar.
What started this was my volunteering to make a grey water pump with
auto cutout. I've at least created a board using an Atmel ATtiny13,
pushbutton and relay. The timeout and pushbutton code is working, but
I've yet to interface a pressure switch to an ADC input indicating
lack of water pressure.
I was given an SX01DN sensor to test (see http://www.farnell.com/datasheets/51886.pdf)
and please forgive my ignorance (or stupidity), but I really can't see
how to interface this with an MCU without substantial op-amp
circuitry. Even then, how to get an output range of 0-5 volts is still
beyond me at this stage.
Any hints would be appreciated, any 'you d***head' messages not <g>.
Cheers, Phil.