Flash the screen from your browser
Plug the transmitter's 5-inch screen into this computer with a USB-C cable and press one button. The browser writes the screen's software straight in: no PlatformIO, no command line.
This browser cannot talk to the screen
Only Chrome, Edge and Opera can, on a desktop or laptop. Safari and Firefox cannot, and no browser on a phone or tablet can. Open this page in Chrome or Edge, or build it from the source: Build one, step 4.
Three steps
-
Put a blank card in
A microSD card, formatted FAT32, 32 GB or less, in the screen's slot. Push it in until it clicks. The screen looks for its card only when it starts.
-
Plug the screen in
Its USB-C socket to this computer, with a cable that carries data (many short leads carry power only). Either screen works: the 5-inch IPS panel (16 MB, the one to buy) or the older CrowPanel 5.0 (4 MB: fixes only, no new features). This page finds out which it is.
Already wired to the Teensy? Unplug the 4-pin lead from the screen first: the Teensy talks on the same wire.
-
Click
The first time on a computer, the browser asks permission to reach the screen. Choose the one in the list (USB Serial, or a name with CH340 in it). After that it remembers. It writes for about a minute. Leave it alone until it says it has finished.
If it finds no screen
Try another USB-C cable: one that carries power only lights the screen but gives no port. Close anything else that may hold the port open (PlatformIO, the Arduino IDE, a serial monitor). On Windows, the screen's USB chip, a CH340, may need its driver.
The card is never touched
This writes the screen's own chip only. Left unticked, the screen keeps its WiFi networks, its themes and its front screens. Day to day you never need this page: a working screen updates itself over WiFi.
Then what?
-
It starts by itself
The first line on the glass reads
LDRC V2 screen sd=1 pages=0 touch=1: the card is read and has no pages yet. The update panel opens by itself.With
sd=0, the line under it (Card: ...) says what the screen found on the card and what to do. -
Give it WiFi
Tap WiFi setup, choose your network and type its password on the screen. 2.4 GHz only. An iPhone hotspot works with Maximise Compatibility on.
-
Let it fill its card
Once it has WiFi, the screen fetches the latest release by itself: about 430 files (about 230 MB), most of them the help animations. If it asks first, tap Install now.
About 15 minutes on the 16 MB screen. About half an hour on the older 4 MB one, where the picture flickers while it downloads. That is normal.
Check: it restarts by itself, and the first line then counts its pages (
pages=90or so, no longer 0). Until the Teensy is wired in, that line is all it shows. -
Flash the Teensy, then wire the two together
The Teensy needs no compiler either: PJRC's free Teensy Loader writes
ldrc-v2-teensy41.hexinto it. Build one shows every step, and the wiring.After this the transmitter updates itself over WiFi: you should not need the cable again.
The whole thing is open source: github.com/Mmessiter/LDRC_V2.