An open API service indexing awesome lists of open source software.

https://github.com/mr-addict/smartled


https://github.com/mr-addict/smartled

Last synced: about 7 hours ago
JSON representation

Awesome Lists containing this project

README

          

# WS2812LED Smart LED Matrix ![badge](https://img.shields.io/badge/SmartLED-WS2812-.svg)

## 1. Description

In this projects , I use a 16X16 LED matrix to find more possibilities on WS2812 LED.

Not only added WIFI , but also can display Text and Sprite based on my previous projects.

## 2. Preparations

### 2.1 Libraries:

You must install FastLED and three more libraries that I written in my github pages.

About how to use my custom libraries , you should check it out at my github pages.

- [FastLED](https://github.com/FastLED/FastLED.git)
- [LEDMatrix](https://github.com/MR-Addict/WS2812LED-Matrix-Library.git)
- [LEDText](https://github.com/MR-Addict/WS2812LED-Matrix-Library.git)
- [LEDSprtie](https://github.com/MR-Addict/WS2812LED-Matrix-Library.git)

### 2.2 Components:

- **16X16 WS2812LED Matrix or Other size**
- **5V3A Power Adapter**
- **ESP32 DEV Board**
- **DS3231 module**
- **4 Buttons**

## 3. Set Up

### 3.1 Wiring your compoments:

You can solder you compoments like below schematic , or you can manufacture a custom PCB board using my Gerber files in `PCB` folder.
![Schematic](Images/Schematic.png)

### 3.2 Upload Code:

Use arduino IDE and select ESP32 board to upload `SmartLED` to your board in `Arduino` Folder.

## 4. Control Your Matrix

### 4.1 Modes Built In:

There are 7 modes built in , including a welcome message when bootingup.
- **Bootingup Welcome Message**
- **Display Time**
- **Bouncing Ball**
- **Halo1**
- **Halo2**
- **Sprite Which are Mario and Minecraft Items**
- **Snake Game**
- **Draw Mode**

### 4.2 Control With Buttons:
You can use four buttons to control your LED matrix , buttons' functons are below:
|Button|Function|
|:---:|:---:|
|Button1|Turn ON/OFF LED Matrix|
|Button2|Auto Display ON/OFF|
|Button3|Previous Mode|
|Button4|Next Mode|

### 4.3 Control With UI:
In order to more easily control LED Matrix and use `WIFI` , I designed a UI to control Matrix written in porceesing language which in `Processing` folder.

With UI , We can also activate `Snake Game` and `Draw Mode` that buttons are not easily to do.

Before you run processing code , make sure that you have connectted ESP32's Network which is `LED Matrix` and the password is `123456789` by default.

![Processing Panel](Images/Processing%20Panel.jpg)

## 5. Videos

https://user-images.githubusercontent.com/75357598/146681347-1d74eff5-21d2-497a-acc3-ee54a236c3f4.mp4

https://user-images.githubusercontent.com/75357598/146681358-3732c3e6-0380-4569-a18e-5ad6a07ee59a.mp4