Voltage dividers and level shifters are very likely to be required. I'd even consider opto-isolation as a better alternative as a dual chip is well under $1 USD
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just did some digging, and it will be imperative to watch those voltages:
Voltage dividers and level shifters are very likely to be required. I'd even consider opto-isolation as a better alternative as a dual chip is well under $1 USD