I was trying to use the Sharp IR range finder and it kept on resetting my development board. After adding a capacitor next to the power for the IR sensor the resetting stopped and the sensor worked correctly. Just a heads up for any one else experiencing this problem.