ESP8266 CH340G MAX7219 not displaying correctly

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
nirtz89
Posts: 7
Joined: Sat May 01, 2021 7:42 pm

ESP8266 CH340G MAX7219 not displaying correctly

Post by nirtz89 » Sat May 29, 2021 8:59 pm

Hi everyone,
I have an ESP8266 CH340G, I'm connecting a MAX7219 to it to display stuff on it, but it's all messy.

This is the simple code:

Code: Select all

from machine import Pin, SPI, Timer, reset
import max7219
import utime

spi = SPI(1, baudrate=10000000)
display = Max7219(32, 8, spi, Pin(15))
display.text('TEST', 0, 0, 1)
display.show()
And this is what it shows:
Image

Any ideas on what's causing this?
Thanks!

katesimon123
Posts: 15
Joined: Mon Jun 14, 2021 12:49 am

Re: ESP8266 CH340G MAX7219 not displaying correctly

Post by katesimon123 » Fri Jul 02, 2021 10:10 pm

I have once worked on MAX7219 and designed a scrolling text on LED Matrix 8x8, although I have used Arduino Nano for this project. Try this code out:

Code: Select all

import max7219.led as led

device = led.matrix()
device.show_message("Hello world!")
Last edited by katesimon123 on Sat Jul 31, 2021 4:14 pm, edited 1 time in total.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ESP8266 CH340G MAX7219 not displaying correctly

Post by Roberthh » Sat Jul 03, 2021 6:04 am

Could be a power problem. I don't know how you supply that set-up, but it total there are 128 LEDs, which can consume a lot of current. That may be more than the USB port can deliver.

Post Reply