Introduction: RGB HexMatrix | IOT Clock 2.0
HexMatrix 2.0 is a upgraded of previous HexMatrix. In the previous version we have used WS2811 LEDs by that the HexMatrix became heavy and thick. But in this version of matrix we are going to use custom PCB with WS2812b LEDs which made this matrix to be 3 cm thin.
Step 1: Supplies:
- PCB Click for Gerber file
- NodeMCU(ESP8266)
- WS2812B LEDs
- 5V 2A micro USB adapter
- 3D Printed Parts
Step 2: 3D Printing:
- Click for STL files
- 3D Print all the 3D models, make sure to print the screen in white PLA.
- The design I made is for hanging on the wall you can modify as per your requirement in Fusion360 Fusion360 file.
Step 3: Circuit Connection:
- Solder all the LEDs on PCB in correct order.
- Make all the connections as shown in circuit diagram.
- GND~GND
- Vin~5V
- D2~Din
Step 4: Code:
- Open the code given in Arduino IDE. Click for Code
- Install the FastLED Library and board library for ESP8266 boards.
- Type your Wifi_Name and Password
//Your Wifi info
const char* ssid = "Wifi_Name";
const char* password = "Password";
- Enter the time zone of your country
//Your time zone
int timezone = 5.5 * 3600;
- If say for me in India time zone is 5:30 I have typed 5.5,similarly you have to put time zone of your country.
- Select the Board type as ESP8266 (NodeMCU),select the port and upload the code.
- After the code is successfully uploaded check the Matrix by powering it with micro USB adapter.
- You can even display animations from FastLED library examples.
Step 5: Final:
- Cut the legs of the NodeMCU board and put everything in the enclosure.
- Put the screen and make some holes with drill and screw the sides.
25 Comments
Question 4 months ago
Can anyone please help me to understand what might be causing the LEDs to be horizontally mirrored?
This image was taken at 18:23....
Answer 4 months ago
Can You try this code https://github.com/MukeshSankhla/HexMatrix
Question 9 months ago
it's late .. i think..
but
it's possible to add a push switch or wifi app to change
animation mode to clock mode ..
clock mode to animation whenever we want..?
Question 1 year ago
a very cool project. I did it all right, only there is a problem in contrast, but this is due to the front part. I have 3 questions.
1. is it possible to make changes to the code so that the date is also shown mixed with time at a certain interval?
2, Can I add the firmware update code by OTA?
3. how can I change the code so that other effects can be inserted? I was able to replace the lighting effects, but I could not install several different ones so that they would change themselves one after another. compilation of the sketch goes without errors, but nothing is shown in the project.
Answer 1 year ago
1. Yes it's possible to change the code and add the date, the code is already fetching the date just you have to call the number fictions to make them print according to the date.
2. With little bit of change in code and using OTA library OTA programming is possible.
3. The sequence of pattern is little difficult to change, although I put the best animation effects that FastLED library offers.
Question 1 year ago
a very cool project. I did it all right, only there is a problem in contrast, but this is due to the front part. I have 3 questions.
1. is it possible to make changes to the code so that the date is also shown mixed with time at a certain interval?
2, Can I add the firmware update code by OTA?
3. how can I change the code so that other effects can be inserted? I was able to replace the lighting effects, but I could not install several different ones so that they would change themselves one after another. compilation of the sketch goes without errors, but nothing is shown in the project.
1 year ago
Great project! I like to made it. However when I flashed the code into a NodeMCU midi D1, it cannt run normal. Serial monitor show as follow. What happen on it?
.......
WiFi connected!
192.168.1.161
Next Loop-Step: 4801:
-------------------------------------------------
Date & Time : 1/1/1970 8:0:4
-------------------------------------------------
Date & Time : 1/1/1970 8:0:4
-------------------------------------------------
Date & Time : 1/1/1970 8:0:4
-------------------------------------------------
Date & Time : 1/1/1970 8:0:4
-------------------------------------------------
Date & Time : 1/1/1970 8:0:4
-------------------------------------------------
Date & Time : 1/1/1970 8:0:4
Reply 1 year ago
oh, I find it. The "Data pin 2" refer to Node MCU D4. When I switch to D4 it works fine. Thanks! Mukesh_Sankhla! You are awesome!
Reply 1 year ago
My pleasure
2 years ago on Step 5
Do you have the project files instead of the gerber files? I wanted to add a resistor and capacitors to aid in not flickering. Also wanted to add a different board that is mounted on the back of it
Reply 2 years ago
Here is the link : https://drive.google.com/file/d/1C7xHFaNPWMvFk2qeWx9ff_4Pi6aDJwi_/view?usp=sharing you can edit it. Please share me the modified version so that I can learn things from your modifications.
Thank You!
Reply 2 years ago
Thanks and Yes I can. Might take me a while though :)
Reply 2 years ago
I think you used easyeda for this? Do you have the original schematic or did you just drag a load of them onto a shape? Just curious?
Question 2 years ago on Step 5
where do you bought leds?
Reply 2 years ago
I desoldered the LEDs from a WS2812b LED strip. You can get the directly from digikey.com or alibaba as pack of 100LEDs.
Digikey: https://www.digikey.in/product-detail/en/sparkfun-...
https://www.dfrobot.com/product-1835.html this is the LED strip you will require 2 of them.
2 years ago
This shows 5v going to the ESP8266. I thought it was only rated for 3.3v?
Reply 2 years ago
Its 5V ~ Vin.
2 years ago
Awesome!!!!!
it's work!!!
nice!!
thank you!
Reply 2 years ago
Anytime ☺️
Reply 2 years ago
thought to manufacture the grid with wood and shell by CNC it? This should print less expensive than 3D
You can provide lower PCB source file? I am going to try to coordinate SMT placement needs thanks again