Board Input DC voltage
I think your best solution (assuming this is a logic signal and not power), is an Opto-Coupler.

See this previous question: Optocoupler input protection

It isolates the the 3.3V circuits of the Udoo from the 24V. The isolation is good to several kV usually.

This is a typical arrangement: