I am using a proximity sensor which takes a 5V supply so can i pin it in the 5V in the Arduino Due. Is there any chance of the board getting damaged?
If the output is 0-5V, you can implement a voltage divider (3-10K resistors) to get 0-3.3V but you will lost 33.33% resolution. Regards,
p
k thanks...
The chip in the Due absolutely will not tolerate 5V signals, note. Expect instant destruction
if a signal higher than 3.6V touches any of the pins - often you would add a level-shifter circuit
or chip if necessary to guarantee safe conversion.
I may be being somewhat paranoid, but these boards aren't cheap (I can get an Android
tablet for less!).
The power supply on board the Due looks like it will deliver up to 1A. (Well, that's what the main chip is rated for. I haven't verified that everything else can take that power.) So if you have components that need 5V power, it is perfectly fine to use the Due to power them.
However, as MarkT noted, you probably need a level converter for those components to communicate with the Due. Make sure to power the level converter off IORef so that it will still work on any 5V Arduinos you may have in the future.