step 1 is complete

ESP32-S3-DevKitC w/MAX2719 and 1088AS LED 8×8 Matrix

The first step in my plan for world conquest having an ESP32-S3-DevKit1 communicate with a MAX7219 is complete. All it took was five wires, two of which supplied power, and a little bit of MicroPython code running on the latest MicroPython release, and I was able to send text to my inexpensive four character matrix display I purchased on Amazon.

ESP32-S3-DevKit1 w/MAX7219

The code depends upon a library I found on GitHub (see links section below). Here’s the test code sample I wrote;

# Enable SPI and clear the display, which turns off all LEDs.#import max7219from machine import Pin, SPIimport timespi = SPI(1, 10000000, sck=Pin(12), mosi=Pin(11))cs = Pin(10, Pin.OUT)display=max7219.Matrix8x8(spi, cs, 4)display.fill(0)display.show()time.sleep_ms(500)# Probe the MicroPython/ESP32-S3-DevKit1 environment.#import gcprint(f"  MEM: {gc.mem_free():,} MB")import espprint(f"FLASH: {esp.flash_size():,} MB")import platformprint(f" PLAT: {platform.platform()}")import osUNAME = os.uname()[-1].split(' ')[-1]import binasciiimport machineUNIQUE_ID = binascii.hexlify(machine.unique_id()).decode('ascii').upper()print(f"  UID: {UNIQUE_ID}")SSID = UNAME + '-' + UNIQUE_ID[-4:]print(f" SSID: {SSID}")# Display text on the four 8x8 matrix displays.#display.text(UNIQUE_ID[-4:],0,0,1)display.show()

I’m using Thonny 4.1.4 to program the ESP32-S3. Here’s the output from boot.py in Thonny’s console when it’s run;

  MEM: 8,310,688 MBFLASH: 8,388,608 MB PLAT: MicroPython-1.22.1-xtensa-IDFv5.0.4-with-newlib4.1.0  UID: 7CDFA1E3C534 SSID: ESP32S3-C534

The four characters on the 8×8 displays are the last four characters of the UID. It’s a better “proof of life” than something random. To get the code listing to run, you need to download the single GitHub file from the link below, move it onto the ESP32-S3 controller, and then import it to begin to use the 1088AS displays.

Step 2 is to get Bluetooth operational on the ESP32-S3.

Links

MicroPython MAX7219 8×8 LED Matrix library — https://github.com/mcauser/micropython-max7219

designing the esp32-s3/max7219 device

scary weather over orlando


Last year was the hottest, ever. The average temperature anomalies went way up compared to everything prior decade and stayed there.

There are already consequences showing up from this huge rise in global temperature anomalies. For one example, the crazy bad weather over Orlando this evening as you can see in the screen capture at the start.

And then this weather warning from Orange County:

Severe Thunderstorm WarningBeginning: 2024-01-09T22:21:00Ending: 2024-01-09T23:00:00New AlertTHE NATIONAL WEATHER SERVICE IN MELBOURNE HAS ISSUED A* SEVERE THUNDERSTORM WARNING FOR...SEMINOLE COUNTY IN EAST CENTRAL FLORIDA...CENTRAL LAKE COUNTY IN EAST CENTRAL FLORIDA...ORANGE COUNTY IN EAST CENTRAL FLORIDA...VOLUSIA COUNTY IN EAST CENTRAL FLORIDA...NORTHWESTERN OSCEOLA COUNTY IN EAST CENTRAL FLORIDA...* UNTIL 600 PM EST.* AT 521 PM EST, SEVERE THUNDERSTORMS WERE LOCATED ALONG A LINEEXTENDING FROM NEAR PIERSON TO ZELLWOOD TO 12 MILES WEST OF FOURCORNERS, MOVING NORTHEAST AT 70 MPH.HAZARD...60 MPH WIND GUSTS.SOURCE...RADAR INDICATED.IMPACT...EXPECT DAMAGE TO ROOFS, SIDING, AND TREES.* LOCATIONS IMPACTED INCLUDE...ORLANDO, DELTONA, DAYTONA BEACH, KISSIMMEE, AND PORT ORANGE.PRECAUTIONARY/PREPAREDNESS ACTIONS...REMAIN ALERT FOR A POSSIBLE TORNADO! TORNADOES CAN DEVELOP QUICKLYFROM SEVERE THUNDERSTORMS. IF YOU SPOT A TORNADO GO AT ONCE TO ASMALL CENTRAL ROOM IN A STURDY STRUCTURE.FOR YOUR PROTECTION MOVE TO AN INTERIOR ROOM ON THE LOWEST FLOOR OF ABUILDING.A TORNADO WATCH REMAINS IN EFFECT UNTIL 900 PM EST FOR EAST CENTRALFLORIDA

All this on 9 January. I’ve lived here since 1984, and I’ve never seen or experienced anything like this, until today. This is now the new normal, and it’s not good at all.

Links

First results are in: 2023 temperatures were stunningly warmhttps://arstechnica.com/science/2024/01/first-results-are-in-2023-temperatures-were-stunningly-warm/