Connect two sensors to the same pins

Hello,

I have two sensors that both need to connect to the A4 and A5 pins on my arduino nano board. I’m not sure how to connect both of them to the same pins, and I would really appreciate any help or advice.

Thanks

Solder ?
Breadboard ?

Tell us more.

Is the Nano plugged into a solderless breadboard ?

Do you know how to solder wires ?

Do you know how to make up Dupont crimp connectors ?

Do you know what a Y cable is ?

Thanks for responding. Is there a solution that doesn’t involve soldering wires? Could we change something in the code?

No.

Hello
What type of sensors do you use for your project?
Post the link.

These are the sensors we are using:
BME280 - https://lastminuteengineers.com/bme280-arduino-tutorial/
OLED - Guide for I2C OLED Display with Arduino | Random Nerd Tutorials

Hi,
Do you have a protoboard shown in both the links you posted?
Do you want to make a permanent project or is this just experimental?

Can you please tell us your electronics, programming, arduino, hardware experience?

Have you programmed and built anything with Arduino?

Tom… :grinning: :+1: :coffee: :australia:

Do you mean the code that you have not posted ?

Or is she capable of answering questions about her project?

Both connect to the I2C A4 and A5.
Code gives a different address to each so the program can talk to the correct device in turn.
Below is an example code although you will have to watch your power connections to the Oled which will have a different layout from the one you linked to.
If you do not know the address of any particular device, there is code in the examples on the iDE you can use to find them.
At some point there will be a need to solder connections either on the Oled or the BME device and from there one can use the breadboard and dupont leads which come in a variety of pin/socket arrangements.

https://simple-circuit.com/weather-station-arduino-bme280-ssd1306/

plzz be more specific, the query i am not getting what you want to actually say?

It becomes apparent that the OP has essentially no prior experience of electrical or electronic construction and does not understand how electrical connections are made. :grin:

But is also short on communication skills or ESL. There is a significant learning curve here. :roll_eyes:

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