Simple RGB Matrix Display

Simple display with high definition WS2812 matrix

Public Chat
Similar projects worth following
A simple display with 4 IRM mini.

IRM mini is a "high definition" WS2812 RGB matrix, with WS2812-2020 make the pitch only 4mm!

This is a simple test with 4 IRM mini, I'm trying to display something with it. Currently I'm trying with some emojis. Seems nice.

Currently I'm using a Raspberry Pi Pico to try some simple test. Maybe try ESP32 or ESP8266 in the future, to display crypto currency or weather!

  • 4 × IRM mini a 8x8 slim package WS2812 RGB matrix
  • 1 × Raspberry Pi Pico 32bit MCU made by Raspberry Pi
  • 1 × 3D printed case
  • 1 × some wires

  • Little Weather Station

    TAMC08/25/2021 at 12:00 0 comments

    Change Pico to ESP32 with OpenWeatherMap to display weather!


    import urequests
    from irm import IRM
    from machine import Pin
    from weather_sprites import WEATHER_SPRITES
    import time
    import json
    data = {    "api_key": "YOUR_API_KEY_HERE",    "city_name": "YOUR_CITY",    "units": "metric",
    weather_url = "{city_name}&appid={api_key}&units={units}"
    irm = IRM(Pin(13), [[1, 2],                    [4, 3]])
    irm.brightness = 50
    res = urequests.get(url=weather_url.format(**data))
    data = json.loads(res.text)
    weather_icon = data["weather"][0]["icon"]
    temp = data["main"]["temp"]
    irm.draw_sprite(0, 0, WEATHER_SPRITES[weather_icon])
    irm.draw_text(0, 0, temp, irm.FONT5, [0, 255, 100])

    more on  GitLab

    To draw all the icons from OpenWeatherMap, I also made a simple editor Matrix Helper from scratch. To help me generating sprites. It grabs the import image, resize it, and generate it into matrix style, then you can edit detail pixel and convert it into code. More about Matrix Helper will be soon on another project. 

    Read more »

View project log

Enjoy this project?



Similar Projects

Does this project spark your interest?

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