Thanks Eric! I finally got it working on a breadboard. I missed where you guys stated the LM393 was open collector and i needed to pull the output up to 3V3. What i am confused over however is what is the purpose of the 1Mohm resistor from comparators input to it's output? is this safe when evaluating 5v0 and outputing 3v3?hi s,
This may help get you started.
E