Hello everyone
I'm having an issue with a 7-segment display connected via I2c to an Arduino Nano.
The display does not work even with example code, and if I run an I2C scanner code it shows the display having all the possible addresses.
What do you think could cause this issue?
Please let me know.
Have a nice day.
What example code?
What 7-segment display are you using.
What project are you trying to do?
https://learn.sparkfun.com/tutorials/using-the-serial-7-segment-display/all
I'm using the I2C scanner from the Wire library.
The display is a DFRobot Gravity Display ( https://www.robotshop.com/eu/en/dfrobot-gravity-4-digital-led-segment-display-module-red.html)
I've used the code from the library made by DFRobot for this display.
If you search "DFrobot display" you should find it.
Right now I just wanted to test if the display worked, its implementation in my project is something I'll do when it works.
Got an "Oops, sorry. That page can't be found." For the link you gave so I can't see the project you are doing. Maybe the forum messed with the link? Is this it? Or maybe it is the brackets. Not a project I see just the display module?
https://www.robotshop.com/eu/en/dfrobot-gravity-4-digital-led-segment-display-module-red.htmll
Found another link if it is the same.
https://wiki.dfrobot.com/4-Digital%20LED%20Segment%20Display%20Module%20%20SKU:%20DFR0645-G_DFR0645-R
Don't know how it compares with display which I can get from Jaycar.
https://www.jaycar.com.au/8-digit-7-segment-display-module/p/XC3714
The other link you sent me is correct (the one on the DFrobot wiki).
Do you know what could cause the address issue?
@valerio Remove the trailing ) from the URL
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@valerio It's still there, here is the correct one (TIP hover over yours, and look down at the status bar to se the trailing ). Also, it is always good practice to try it and if a problem immediately edit your post.
https://www.robotshop.com/eu/en/dfrobot-gravity-4-digital-led-segment-display-module-red.html
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.
@valerio Just a hunch, but first check your I2C scanner with another known working I2C device to see if you get the results expected. If it does work then look carefully at the device in question to see if there are jumpers (not likely) or solder pads (likely) It should be obvious what to do but if not check the seller/manufacturer web page for instructions. (it will likely involve desoldering and resoldering zero ohm resistors otherwise known as jumpers)
You will likely need lit high magnification goggles and either a desolder air gun or a soldering iron and tiny tweezers.
I hope it's just your scanner sketch setup is wrong because those jumpers are a bear to mess with.
I looked at the web site you posted and while I can see some suspect jumpers, the picture is not good enough to tell. Many of these type of devices have the I2C address printed on the board, so look and see if that is the case.
Good luck.
First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.