3/28/2023 0 Comments Nice clock broI believe you just need to replace the library without further changes to the code since the base class is the Adafruit_GFX. The code in the repository is ready to work with the ESP32-HUB75-MatrixPanel-I2S-DMA library, but I have also used PxMatrix and everything worked fine. But for this article I decided to use the Arduino IDE to make things easier. If you don't know it yet, I recommend you to give it a try. I usually use PlatformIO to develop the firmware for my projects. If you want to know more about how an NTP server works, I recommend reading this article. In my case, I type "America/Sao_Paulo" in the timezone field on WiFi Manager and that's it. America/New_York, Asia/Dubai, Europe/Paris, and so on. All the available timezone names is listed here, e.g. When instantiating the NTP client, the default time is in UTC, we need to inform the correct timezone during the Wifi setup process. WiFi Manager is responsible for collecting the timezone parameter used in the clock to show the time correctly. It is important to use a 2.4GHz WiFi, it will not work on 5G. Then the clock can connect to an NTP server to get the correct time. The first time you run it, you need to configure the WiFi, for that connect to the "Clockwise-Wifi" access point with the password 12345678 via your smartphone or laptop, click "Configure WiFi" and select your AP, put in your password and your timezone and save. Just plug the ESP32 into the USB port and click the P-Switch to flash. Clock installer to upload the firmware without having to install anything and without making any effort as it is already compiled. If you don't want to go into the details of how the code works, setup, configuration but just want to see it working, I have good news (thanks Brian for that). Because of this I have retired my PCB that I developed, the Trinity already has everything I need and even more, it even comes with touch sensitive buttons, an LDR (we can regulate the brightness of the display with it), USB-C, power control and much more, you can check more details in the documentation It couldn't have fit better in this context, all you have to do is plug the board into the display, upload the firmware and voila. Brian Lough is one of these guys, I met him on social networks a few years ago and since then he has been working on the ESP32 Trinity a tested and ready-to-use board to control these displays. Tindie has been a great platform where makers from all over the world can create and sell their projects. This design worked perfectly, although it needs some improvement. I bought a low power laser and adapted it to my 3D printer, so I could design the board that would control the display. I really wanted to hang the clock on the wall so I started to prototype my first PCB. We are makers, don't be intimidated if you don't have one tool or another, what matters is to get where you want to go.Īfter I made the base code for the clock, I needed a PCB. Just follow the instructions about the wiring on the display driver's GitHub or there is a wiring diagram in the next section that can help. For those who are interested in creating this project and are not able to create or buy a PCB that will control the display, a simple ESP32 development board will work like a charm and depending on how you organize this bunch of wires it can be a final version too. The LED matrix is controlled by an ESP32 and that is what I used in the initial stages of development as shown in the picture above. But for this article, let's focus on Mario's clock. Besides the appearance of the clock, I would like to add some features, such as: email notification, weather forecast, news, traffic, the possibility to send a text message to Clockwise and a myriad of other ideas. All of them are available on Clockwise's site. I mean, the idea was so good I'd like to use it somewhere else.īesides this clockface I built one that displays the time in words, another that shows the time on the world map and another that emulates an analog clock. I remember seeing and loving this skin in the good times of Pebble watch and always wanted something similar to this. One of the first clockfaces I would like to have was a Mario Bros one, in which he stands on the stage and hits the blocks to change the hours and minutes. Think of it as a smartwatch, but on the wall (and with lower resolution). The concept of Clockwise is to be a smart wall clock, where we can change the theme of the screen and add widgets that make sense for your context. I was thinking about what could be the next project, I saw that some makers were using a LED matrix to make several projects and thought that maybe I could make a wall clock with this matrix, and then the idea of Clockwise came up. In 2020, right after I created my first project, Pixie.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |