Asked — Edited
Resolved Resolved by CochranRobotics!

Servo And Ultrasonic Sensor

I have the Sensor hooked up on D0 and D1. It works fine. I have the servos on D4 and D5. When I try to move the Robot it fries the sensor. The sensor goes to 255 and never works again. Is there some rule of thumb about how many ports they should be separated? Or is there something else I need to do to make it so I don't fry any more sensors?

Thanks


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

#1  

Is there a voltage regulater between the board and the sensor? The digital ports pass the voltage through from the battery. Analog ports are 3.3 volts but digital are whatever your power source is.

PRO
USA
#2  

Funny how things work better when you hook them up correctly. Thanks for the info and appreciate the help.