I need to design a circuit that reads the status of 6 switches and makes the status available over LAN for a professional project. The design should be implemented in hardware (no microprocessor.) My initial idea was:
- Read the discrete status of the 6 switches (0V or 24V)
- Levelshift from 24V to 3.3V or 5.0V for serial conveter
- Convert to serial (RS232 or RS485)
- Convert to LAN using Lantronix XPORT
This approach is inspired by the example circuits from datasheet for the KBDGRAY IC from AB Circuits. Replace the keypad by the switches.
I don't feel comfortable using an IC from this manufacturer, but I haven't been able to find anything similar from TI, Analog Devices etc.
I think that I also need a shift register or some other IC between the discrete section and the serial converter before this can have a change of working.
Under all circumstances, this doesn't seem to be an elegant solution. Can you please point me in the direction of a solution to my problem?