I have an MCP73831 li-ion charger connected to an ATMega1284p. The charger has a tri-state status pin which can be High(5V), Hi-Z or Low. The ATMega runs at 3V3.
I want to be able to read the value of the tri-state. I don't need to discern between Hi-Z and High. I was thinking of using a 1.8V zener like so:
Will this work? And what do I need to be aware of?