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

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#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.