It may or may not relevant topic here.Since General electronic related i am questioning here.
I am using Raspberry pi for one of my application.I have various level of digital input coming from sensor, voltage level
My voltage levels are 3.3V/5V/12V/24VDC. Based on these input i am taking action on relay control. Rasberry pi operated 3.3V DC input so we can give directly
For 5V/12V/24V dc what are ckt i need to build. weather voltage divider network will work out for application.
level shifter can used in application. https://www.raspberrypi-spy.co.uk/20...berry-pi-gpio/