Page 1 of 1

ESP8266 CH340G MAX7219 not displaying correctly

Posted: Sat May 29, 2021 8:59 pm
by nirtz89
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!

Re: ESP8266 CH340G MAX7219 not displaying correctly

Posted: Fri Jul 02, 2021 10:10 pm
by katesimon123
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!")

Re: ESP8266 CH340G MAX7219 not displaying correctly

Posted: Sat Jul 03, 2021 6:04 am
by Roberthh
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.