HOW CAN I USE 2 5v Sensors in my project?

I want to use a PIR sensor and a servo. Both of the are 5v. In my arduino board there is only 1 5v pin, how can i use two sensors simultaneously? Please help..

You can connect both to that pin. For testing breadboards are often used for that purpose but there are other options.

Be cautious to check the current needs of the servo, the 5V pin of the UNO only provides about 350mA to external components. If you go over that value you might see the resettable fuse to stop your board.

1 Like

You mean i can connect the 5v pin to the breadboard and the Vcc of both the sensors to the breadboard?

What board are you using? Many boards have a 5V pin (and ground) available in the ICSP programming connector that you can use for low currents (less than, say, 100mA).

image

image

ICSP connectors in the red boxes.

image
ICSP connector pin out.

im using uno

If you want to be absolutely sure you don't burn out the UNO, you should connect the servo to an external 5V power supply. The PIR sensor can be connected to the UNO 5V output.

Don't try to power the servo from the 5V pin, and ignore any tutorial that suggests to do so.

A 4xAA battery pack will work for 1-2 small servos. Connect the battery negative to Arduino GND>

ok thanks for the tip

There is this guy, Paul McWhorter from youtube. He has a channel about building projects. He uses the servo from the board.Arduino Tutorial 31: Using Servo in a Simple Project - YouTube
I just simply follow along.

The Arduino company will happily sell you another Arduino, after the one you have fails. Let them know McWhorter sent you.

Mr jremington, if its not a problem, can i ask you what projects have you did using arduinos. Just to get some inspiration. I really noob in this.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.