Welcome to the Trance/EDM/Festival/LEDs sub-section of my blog
// 1. Initialize serial port
// Note that the serial port is likely starved by Protomatter, so most serial
// is lost. TODO: move Protomatter to setup1() and loop1()
Serial.begin(115200);
// 2. Allow up to 4 seconds for Linux host CDC-ACM enumeration
uint32_t t0 = millis();
while (!Serial && (millis() - t0 < 4000)) {
delay(500);
Serial.println("Priming Serial (especially for RP2xxx chips)");
Serial.flush();
}
// this is dirty but needed. On RP2350, Serial returns ok, but the end to
// end connection isn't working and the boot messages are lost without this
delay(1000);
Serial.println("\n\n===========================================");
Serial.println(" HARDWARE BOOT OK: Entering setup()");
Serial.println("===========================================");
Serial.flush();
```
Resetting /dev/ttyACM0 Converting to uf2, output size: 546304, start address: 0x2000 Scanning for RP2040 devices No drive to deploy. An error occurred while uploading the sketchSo, if you get the above, force the switch to usb-storage:
[74736.918907] sd 0:0:0:0: Attached scsi generic sg0 type 0 [74736.961850] sda: sda1 [74736.961948] sd 0:0:0:0: [sda] Attached SCSI removable diskThen flashing will work How about flashing with picotool? picotool is supposedly a more robust flasher than the UF2 method, but it won't work any better than UF2 if the chip isn't being rebooted in usb-storage mode. It won't work out of the box unless you are root, but you can do this:
sauron:~$ sudo chown root:root ~/.arduino15/packages/arduino/tools/rp2040tools/1.0.6/picotool sauron:~$ sudo chmod 4755 ~/.arduino15/packages/arduino/tools/rp2040tools/1.0.6/picotoolPicotool will then flash:
Sketch uses 250816 bytes (12%) of program storage space. Maximum is 2088960 bytes. Global variables use 41008 bytes (7%) of dynamic memory, leaving 483280 bytes for local variables. Maximum is 524288 bytes. /home/merlin/.arduino15/packages/rp2040/tools/pqt-picotool/5.0.0-9576866/picotool load /tmp/arduino_build_830579/Table_Mark_Estes69.ino.uf2 -f -x Family ID 'rp2350-arm-s' can be downloaded in absolute space: 00000000->02000000Annoying, it reboots with errors and failure on serial port, but serial port seems to work in the end:
The device was rebooted to start the application. processing.app.SerialException: Error opening serial port '/dev/ttyACM0'. Try consulting the documentation at http://playground.arduino.cc/Linux/All#Permission at processing.app.Serial.<init>(Serial.java:150) at processing.app.Serial.<init>(Serial.java:82) at processing.app.SerialMonitor$2.<init>(SerialMonitor.java:132) at processing.app.SerialMonitor.open(SerialMonitor.java:132) at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132) at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2126) at processing.app.Editor.access$1300(Editor.java:116) at processing.app.Editor$UploadHandler.run(Editor.java:2095) at java.lang.Thread.run(Thread.java:748) Error opening serial port '/dev/ttyACM0'. Try consulting the documentation at http://playground.arduino.cc/Linux/All#PermissionThese are the race conditions in the fragile software serial this chip relies on.
![]()
I came suitably equipped with blinkies :)
![]()
I need to carry my batteries like this when I board planes :)
![]()
I found out my batteries need anti-stress protection
![]()
I just had enough time to add my name and face
![]()
some people took the job seriously
![]()
and what's a badge without SAOs
![]()
cool idea, changing RF into sound
![]()
this time I had to port my code to an RP2350 which was much more challenging than planned
![]()
and how I got to meet so many DJs thanks to it
![]()
action shot, with my older code that didn't refresh the badge quickly enough
And these are the old 64x64 panels:
![]()
with 64x64 P3.5, you can of course see the bigger pixels
![]()
as I mentioned, they broke easily
![]()
here the bottom right corner is broken
![]()
wrote some extra code to shrink the graphics on 128x128 displays
![]()
the other bad news is that it's pretty battery hungry and I need 2x70Wh for a full night
![]()
the panel + 2 LED strips took around 100Wh for 7H, pretty hungry but 2 70Wh batteries do the job
![]()
for comparison, my full front and back outfit (without extra LEDs) took 125Wh for the same 7H-ish
![]()
not the most professional setup, but ok for the first time ;)
![]()
my 2nd prototype uses raw panels and a nice metal frame done by Hongren Su from Azerone
![]()
the 2 kinds of panels look the same from the display side (and yes, they work with USB packs that can do 12V USB-PD)
They had multiple performing stages, including a huge outdoor one, where the performers continued under the rain, props to them: And OMG, the monkey from mainstage was absolutely impressive:
Day 1 without the rain, allowed for drone shows
![]()
4 displays in sync, outfit front and back, and 2 backpacks :)
I got to meet another LED euthusiast who had the exact umbrella I needed ;)
![]()
arrived just before sunset, not many people, yet