r/ArduinoHelp • u/willa_28 • Apr 22 '26
Why my Arduino shuts down when I connect it to the Vcc of the sensor?pls
My sensor is the SFR05 ultrasonic distance and the arduino uno
2
Upvotes
r/ArduinoHelp • u/willa_28 • Apr 22 '26
My sensor is the SFR05 ultrasonic distance and the arduino uno
1
u/willa_28 Apr 22 '26
I'm using this sensor and I can't see which pin is the Vcc, or the GND. It's a SFR05
1
u/gm310509 Apr 22 '26
It is very difficult to make out what is connected to what from a photo of wires.
Can you provide a proper circuit diagram and a link to the sensor you are using?
2
u/pcb4u2 Apr 22 '26
Step one: Uno are 9-12 volt in. Output is 5v at 30ma.
Step two: sensor voltage needed and amperage needed
Step 3: If sensor (load) is above 5 volt oe draws more than 30ma Use an external power supply
Step 4: Relays, Motors already draw above 5 volts and 30ma = external power supply always. There is always a voltage /amperage spike when activating or deactivating a relay or motor.
Step 5: always use transistors or mosfets for controlling loads that go above 5v and 30 ma.
1
u/Affectionate_Boat493 Apr 22 '26
It looks like you have the power wires reversed. Here's a photo of one of these sensors, and it has all pins clearly marked.