Inside the “Stuff to configure section”, set your SSID and password for your WiFi. You will need to make a couple of changes to the sketch so that the clock functions correctly for you. NOTE: If you are using the I2S matrix shield the code for the project is here and will require you to install the HUB75 I2S DMA library. AdafruitGFX by Adafruit - the base library that PxMatrix is built upon.ĭetails of which versions of the libraries are needed and where to get them are contained up near the top of the sketch.Īfter installing these libraries you should click the “verify” button (shaped like a tick) on the EzTimeTetrisClockESP32 sketch to make sure that everything compiles fine.EzTime by ropg - used to get the time from the internet.PxMatrix by 2Dom - for controlling the matrix display.Tetris Animation by Tobias Blum - handles the tetris style animating of the clock.This sketch requires some additional Arduino libraries to be installed Inside the extracted folder open up the "ESP32 or TinyPICO" folder, then the EzTimeTetrisClockESP32 folder and open the EzTimeTetrisClockESP32.ino file.Click the Clone or Download button on the right side of the page and then Download Zip.The code for this project is available on Github. If you are using a Adafruit Feather Huzzah 32, use pin 21 for P_OE as it does not have a 2 pin. P-in -> P-out R2 -> R1 G1 -> R2 G2 -> G1 B1 -> G2 B2 -> B1įor the ESP32 you will need to connect the following: The connector that has the arrows moving away from it is "P-In" and the ESP32 will be connected to that, but before we connect that, we need to connect some of the P-in connectors to the P-out connector (the one that the arrows are moving towards). ![]() The next thing we need to do is wire up the ESP32 to the matrix panel. For this I useda couple of screw terminals and piece of perfboard to make a small board for connecting the power supply to the wires, I was happy with how it turned out!Īdafruit in their learn guides recommend connecting the wire directly to the barrel jack connector as pictured above, but I couldn't get this to make a solid connection (physically), but who am I to question what Adafruit suggest! If you do go down this route make sure to use some insulating tape or heatskrink to give it some strength. They were an existing design I remixed using Tinkercad.įirst thing we need to do is connect the power supply up to the wires that came with the display. The stands are 3d printed and you can find them on thingiverse. An ESP32 is an inexpensive, Arduino compatible, microcontroller with built in WiFi. These displays can be driven with lots of different microcontrollers, people commonly use them with Raspberry Pis, but for this project we are going to use an ESP32. Displays with larger pitches will be physically bigger. The "P3" part indicates that the display has a pitch of 3mm. ![]() This project is coded to work on 64 x 32 displays, but it could be adapted for other ones if needed. The displays come in a lot of different configurations, but I used a 64x32 P3 Matrix for this project.Ī display with a resolution of 64 x 32 means it will have 64 LEDs across and 32 LEDs down. The intended purpose for these displays is to chained together to make up huge screens as seen at concerts etc, but they can be controlled individually using a microcontroller. Customer provides generic USB charger.I love these displays! The are a fantastic way of quickly building a really striking arudino project. Included: 1 Fully Assembled NTP Clock as pictured and 1 6' USB cable to provide power.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |