
Meanwhile, you can use the following NodeRed sample flow, import it into your NodeRed and edit it according to your sensors to display desired data.

To learn more about the topic and animations you can use with the clock, refer to the project on GitHub. The wiring is as follows: +5v and ground from a power supply (generic 5V, 2A, soldered some Dupont wire onto the positive and ground leads) to respective pins on the. You can then use it to display various sensor information and status on the DIY smart clock. I went through a couple of iterations, one using a large breadboard, but ended up using the two smallest I have, joined together, with an Arduino nano.
#Arduino led clock install#
To automate the clock, you can install and set up a Home Assistant server with an MQTT broker and NodeRed on a Raspberry Pi. You can use any MQTT client app to send JSON data for display on the smart clocks. The smart clock is ready to display whatever text or sensor data you want to display on it via MQTT topics. So the main components for this digital clock are the minimal Arduino Uno (standalone Arduino Uno), DS3231 RTC module, and the MAX7219 dot matrix LED display modules. Step 4: Display Information on the Smart Clock

After the upload is finished, disconnect the MCU.If the sketch compiles successfully, press CTRL + U to upload it to your NodeMCU or D1 Mini MCU.Jumper wires and bread board for instant checkup of working, USB Cable for program upload to Uno. Good 5V, 2A power supply (Mobile charger may be fine) 5. If there are missing libraries, make sure to install them. WS2812B or WS2811 Neo Pixel LED (30 Led Per Meter or 60 Led Per Meter) 4. Save the sketch and then press CTRL + R to verify the sketch.However, if you are using a 4x8x8 matrix as we do, make these changes: If you have an 8x8x8, keep everything default. To get as much light as possible to shine through, a piece of the backside of the ping pong balls needs to be removed, so the light of the LED only has to go through one side of the ball.

Each ping pong ball will have its own LED behind it. Also, edit the following based on your MAX7219 matrix. Step 2: Making Holes in the Ping Pong Balls.Enter the MQTT server IP, username, and password.Ĭonst char* WIFI_ssid = "EnterYourWiFiName" Ĭonst char* WIFI_password = "WIFiPassword" Ĭonst char* OTA_hostname = "wLed-panel-01" Ĭonst char* OTA_password = "OTAPassword" Ĭonst char* mqtt_server = ".xx" Ĭonst char* mqtt_password = "mqtt-password".Enter your Wi-Fi name, password, and OTA password.Then make the following changes in the pixel_led_mqtt_panel.ino sketch.
