Close
0%
0%

RGB HexMatrix | IOT Clock

RGB LEDs Triangular/Hexagonal Pixels Matrix.

Similar projects worth following
HexMatrix is the LED matrix having many triangular pixels. Six pixels combining makes a hexagon. There are many different animations that can be shown on the matrix form FastLED library, Also I have designed digits from 0 to 9 using 10 segments for each digit in the matrix and made a IOT clock. We can also code it to display weather.

Standard Tesselated Geometry - 2.38 MB - 07/15/2020 at 12:14

Download

Screen.stl

It should be 3D print in white PLA

Standard Tesselated Geometry - 1.06 kB - 07/13/2020 at 08:19

Download

Standard Tesselated Geometry - 1.25 kB - 07/13/2020 at 08:19

Download

Standard Tesselated Geometry - 8.09 kB - 07/13/2020 at 08:19

Download

  • 1 × ESP8266(Node MCU) or
  • 1 × Arduino Uno/Nano
  • 96 × WS2811 LEDs
  • 1 × 5V 2A Power Supply

  • 1
    3D Printing:
    • 3D print all given 3D models.
    • Print the screen layer in white PLA.
  • 2
    Circuit Connections:
    • Make all the connections as shown in circuit diagram.
    • GND~-Ve
    • Vin~5V~+Ve
    • DataIn ~ Pin 2
    • Also extend the power supply wires to last LED and connect, to prevent the voltage drop across the LEDs.
  • 3
    Note:
    • If you use Arduino board then you can only display animations,you cannot display time.
    • If you use ESP8266 board then we can display time and other animations on the matrix.

View all 5 instructions

Enjoy this project?

Share

Discussions

Randy Antler wrote 08/20/2020 at 22:41 point

This is a nice looking project! Thank you for sharing.

I'm trying compile the code for it and while clock1.ino and clock2.ino compile fine, I'm having trouble with HexMatrix.ino because it fails to compile with some errors.

I'm using Arduino IDE version 1.8.13 and FastLED version 3.3.3 and a NodeMCU ESP8266 board. 

May I ask if you have any suggestions about how I can resolve the errors?

Many thanks for your help!

The errors are:

Drops.h:24:36: error: could not convert '(const uint32_t*)(& OceanColors_p)' from 'const uint32_t* {aka const unsigned int*}' to 'CRGBPalette16'
     CRGBPalette16 currentPalette = OceanColors_p;
                                    ^
Noise.h:17:36: error: could not convert '(const uint32_t*)(& PartyColors_p)' from 'const uint32_t* {aka const unsigned int*}' to 'CRGBPalette16'
     CRGBPalette16 currentPalette = PartyColors_p; // Starting palette
                                    ^
sketch/Snake.h: In member function 'void Snake::chooseNewDirection(uint8_t)':
Snake.h:134:15: error: invalid conversion from 'uint8_t {aka unsigned char}' to 'Snake::Dir' [-fpermissive]
   snakes[i].d = r;

  Are you sure? yes | no

Mukesh Sankhla wrote 08/21/2020 at 06:50 point

Hi, Thank You!

The HexMatrix code only compiles without any error for Arduino boards only. Choose the board type as Arduino Uno/Nano and compile it. We cannot run the code on ESP boards. Sorry even I didn't notice that as I have tested that code on Arduino Uno and this code was originally written by Scott Marley for his LED face mask,I have modified it as per Hex Matrix.

You can try similar animations from FastLED Library Examples as XYMatrix,Pride2015 and other animations,which will work with ESP boards.

  Are you sure? yes | no

Randy Antler wrote 08/21/2020 at 17:08 point

Thank you so much for the quick reply! I've tried out the examples from the FastLED library and they work great. 🙏

  Are you sure? yes | no

jackytrabbit wrote 08/13/2020 at 05:23 point

Great job done! Beautiful design! If a PCB is used to load those RGB LEDs , it will be much more compact. Do you think about to design a compact version of this?

  Are you sure? yes | no

Mukesh Sankhla wrote 08/16/2020 at 20:39 point

Yes I have designed and ordered a PCB version which is compact. But due to pandemic orders are not delivered to me. But as soon as I get the PCBs I will check them and post gerber file.

  Are you sure? yes | no

WolfieSama wrote 08/11/2020 at 13:10 point

In components you wrote to use esp8266 (nodeMCU), but in pictures we can see a normal esp8266. Do i need to change pins in code. Cus esp has Digital0, and Digital1

  Are you sure? yes | no

Mukesh Sankhla wrote 08/16/2020 at 20:27 point

No You don't have to change the code. The code will work with any ESP board. Just connect the GPIO 2 of ESP8266- 01 to Din pin of LEDs.

  Are you sure? yes | no

Altairish wrote 08/09/2020 at 14:31 point

Very beautiful! Good job. 

  Are you sure? yes | no

Mukesh Sankhla wrote 08/09/2020 at 16:07 point

Thank you!

  Are you sure? yes | no

Quoc Hao wrote 08/06/2020 at 06:01 point

Good project, i like it. How to add date and year in your clock ?, example display it after 30s in 5s.

  Are you sure? yes | no

Mukesh Sankhla wrote 08/06/2020 at 07:17 point

Thank You! We are already fetching the date/month/year in the code. All we have to do is make the additional digits. Like in clock_24 code we have digits from 0-24 which represents hour at upper part of the matrix. We have to add additional digits 25-31 for date. similarly month can be displayed at bottom half. 

  Are you sure? yes | no

Warren Pinker wrote 07/29/2020 at 22:28 point

How did you get on with the ESP8266 being 3.3V and the WS2811 and power supplies being 5V

  Are you sure? yes | no

Mukesh Sankhla wrote 07/30/2020 at 04:31 point

The ESP8266 is powered with 5V through Vin pin. Vin support 5V. I had no heating issue.

  Are you sure? yes | no

[deleted]

[this comment has been deleted]

Mukesh Sankhla wrote 07/30/2020 at 04:33 point

Its my pleasure sir.

  Are you sure? yes | no

Maakbaas wrote 07/28/2020 at 15:24 point

Absolutely awesome design. Good job!

  Are you sure? yes | no

Mukesh Sankhla wrote 07/28/2020 at 15:29 point

Thank You!

  Are you sure? yes | no

Irrawaddy wrote 07/27/2020 at 14:05 point

Wonderful! I'm looking forward of it being at tindie.com.

  Are you sure? yes | no

Mukesh Sankhla wrote 07/28/2020 at 04:21 point

Yes it will available on tindie.com after the pandemic with a thin PCB design.

  Are you sure? yes | no

dplischke wrote 07/23/2020 at 09:19 point

Hi Mukesh, beautifull project. What size of LEDs do I need? 9mm or 12mm? Have a good time!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates