Issue using SMA420564L (4digit 7segment display) with SevSeg library and ArduinoCloudIoT on ESP32

I recently bought an ESP32 (specifically DOIT ESP32 DEVKIT V1) and I wanted to try to connect it to a cloud, so I saw that ArduinoCloud was a good option, so I configured it and ran some test code with its variables, everything worked, Then I wanted to install a display of 4 digits 7 segments (SMA420564L) and establish a variable to show a number on the display, everything works, the board receives the number and shows it and also the pins are well connected. However, the display flickers, and turns off at times, I tried to change it, and now instead of turning off, it seems to turn on in a type of standby mode, and from there it does not happen. I assumed it was because the "delay()" caused by the ArduinoCloud update, destroy the display refresh process, so I tried to divide the processes into the 2 cores that the board theoretically brings, but it does not solve the problema....

Library GH: GitHub - DeanIsMe/SevSeg: Seven segment display controller library for Arduino

Code (i can´t upload file xD): https://github.com/JGomezC145/ardissue/blob/main/ssss.ino

Post the code in code tags.

Using core0 when using WiFi is tricky and best not done till one gains more experience with the ESP32.

Why not post the code in code tags?

Why not post the wiring diagram?

Why not post an image of the project?

1 Like

Processor driven 7 segment displays are largely just learning exercises. Make your job much easier and use a module with a display driver on board, like a TM1637.

1 Like

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