I got some Arduino Nanos at really good price on amazon and wanted to connect a 7 segment LED display with an I2C backpack.
I had some confusion initially but later found out that SDA and SCL on Arduino Nano are available on A4 and A5 pins.
- SDA -> A4
- SCL -> A5
In order to make them work , be sure to include the wire.h library. Here are all the pins for the Arduino Nano.
- Arduino Nano: http://amzn.to/2h7A8m2
- 4-Digit 7-Segment Display w/I2C Backpack: http://amzn.to/2horKPW
Go a step further and control appliances with your Arduino Nano
Now take it a step further and control and automate something in your house with Arduino Nano and the IoT Power Relay. Just like the relays that you are used to but all enclosed, tested and done for you so can use it and reuse it. Watch the short video to see how it works.
Get the IoT Power relay
No they are reverse.
SDA -> A5
SCL -> A4
SDA -> A4
SCL -> A5
Salih, thank you, I have corrected the typo.
is there any difference in the code except including wire.h library??
Muchas gracias por el aporte.
Saludos desde Uruguay
You are welcome. Glad I was able to help.
Beautiful country Uruguay, hope to visit it some day.
Not sure what the video was for — I didn’t need to watch, as the text was enough. Thank you.
Hi Tom, it’s the other way around, the text is for the video. The Video was made earlier, but then I thought I should add the text to make it clearer.
You’re a life saver bud! I just switched from using DHT11 sensors to SHTC3 sensors and was a bit lost on how to test them seeing as I’m trying to make a design of mine more compact by using nano’s.
Thanks a bunch!