General electronics question regarding arduino and 5V dc power supply

Hi,

Let's get straight to the point.

I power my arduino with a usb which is connected to my laptop.
I also have a 5V dc adapter and have separated the 5V wire and GND.

When I measure the voltage with my multimeter between the 5V and GND of the power supply I get the measurement of 5V. which is expected.

When I measure the voltage with my multimeter between the 5V and GND ports of the arduino I get the measurement of 5V. which is also expected.

BUT ; and this is the reason I'm making this post;

When I measure the the voltage between the 5V of the arduino port and the GND of the power supply I don't get any readings (I measure 0V).

Thanks for he help in advance.

In order to take measurements, the circuit between positive and negative poles of the multimeter must be closed.

You connected them to two devices that are not connected in any way, so there is no current flowing through the circuit and measurements are impossible.

Above is the answer to your direct question.
But in general, comparing voltages in two unrelated circuits is incorrect at all. Voltage is a relative value, it is always measured relative to some point, in electronics it is usually a GND (ground) wire.
Measuring voltage between two circuits that do not have a common ground is pointless

This is the schematic. Would a possible solution be to power the arduino with the same power supply instead of the USB form my laptop. That way they'll have the same GND?

Edit: thanks for the quick response btw

Edit 2: I connected my arduino to the same power supply and everything works :slight_smile:

You appear to be looking to make a Low-side transistor switch, with an NPN transistor, with the power source at the base of NPN transistor being a different power supply from the load. But you have not explained this properly in your first post. Please provide further details.

If designing such a thing, you need to have the grounds of both power supply's connected together. More details on different types of transistor switches here:

https://learn.sparkfun.com/tutorials/transistors/applications-i-switches

I'll check it out thanks :slight_smile:

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