I have read that Arduino Due die when getting 5V signals.

Any hints how I can use a Due instead of a Mega in my InMoov without causing smoke?