π
2024-11-20 01:01
in Clubbing, Electronics, Festivals
Tech specs:
32x16 flexible LED rgbpanel (displaying scrolling Dreamstate Logo)
2 strings of Ray Wu P15 WS2812 both for layout reasons and for backup if one string breaks, the other one will keep working.
Lipo battery checker (but the lipos are protected, so they will self shut down)
flexible 16x32 RGBpanel
found a hat big enough that it mostly fits on it
of course, it needed a few LEDs :)
what it looked inside and it worked with a small 1S 700mAh lipo (although not long enough)
bigger battery upgrade, and BTW those batteries lie, they are only 1600mAh
testing battery draw, a bit over 0.5A which is a bit too much
So, why 3-4V lipos instead of USB battery packs with 5V that is expected by both the panels and neopixels/WS2812? Well, space is limited, USB battery packs are kind of big, and carry extra hardware to recharge that isn't needed inside the hat. There is also a side byproduct that powering both the panels and the LEDs with a lower voltage, limits their brightness and the amount of power (watts) they need, which means that a 16Wh lipo inside a USB battery pack stepped up to 5V, makes everyting brighter, but only lasts about half as long as powering directly from the lipo at lower voltage.
bigger 4Ah 1S lipo worked for 8H at full power and LEDs worked all the way down to 2.8V!
panel worked all the way down to 3.4A before colors went wrong, 16H on a 1.6Ah battery
of course now I had to find a buy a faster 1S lipo charger with the right connectors (had to get JST adapters)
quick test that a smaller 700mAh battery would last around 5H before things got dim
After testing, I was able to confirm that both the $7 amazon controller (SP002E from https://www.amazon.com/gp/product/B09Y8SWJ77 ) and the RGBpanels, work fine with lower voltages (which is not a given since both run a microcontroller that was originally meant to be powered from 5V).
The RGBPanel controller is a bit more picky about voltage and reboots around 3.5V, while the neopixels tend to drag the battery voltage down, causing the RGBPanel to crash and reboot when a single battery runs both, so I gave it its own lipo.
Pixels still take 0.3 to 0.5A (I use a potentiometer to dial them down as the cheap controller I put has no dimming control) and the RGBPanel takes less than 0.1A, so that's nice (it actually goes all the way down to 0.05A or just 50mA) when the voltage drops.
The combined tricks should give around 18H of runtime with the 2 batteries (4Ah and 1.5Ah 1S lipos), which is enough for 17 hours of dreamstate (they are not screwing around this time, 17H !!!)
About the neopixel controller, I used a cheap $7 amazon controller that only had 3 physical buttons but sadly no dimming control, mostly because I wanted something very small, and while pixelblaze micro is also small, it doesn't have the pattern I want, and I didn't see the point of programming a pattern I already had on the other controller, so I just put a potentiometer to lower the voltage. It's obviously the wrong way to do it, but it works :)
Here is the end result:
π
2024-11-10 01:01
in Arduino, Computers, Electronics
I attended Pasadena Hackaday Supercon, so I figured I'd put my pictures into a quick blog entry, shouldn't take long...
1) Oh, I need to finish writing code to get the SAO badge holder to do something fun
2) Mmmh, why does this python global variable thing doessn't work in the function
3) Goes to re-learn python, with help from gemini and how python forks global variables by default in functions so what you write to them isn't saved at local scope (oh my, why did they do that?)
4) after more hacking, get a proper demo working:
After having such a great time at the linux.conf.au Open Hardware Miniconfs over the year, and missing them after the last one where I built those badges, I somehow missed a local-enough Hackaday Supercon that had been going on for years. Oh noes!
It was very cool that I got to wear my LCA SAO badges for the first time:
Thanks to Anthony for letting me know about it, and I was able to attend. Went there early on friday for the pre-conf to work on the badges:
the conference badge was this 6 port micropython rPi micro with a couple of SAOs.
they nicely provided food all 3 days
essential geek survival food :)
They gave us a quick primer on how the badge worked, although it would have been better on a webpage with links and info for total beginners who had never used micropython and thorny or knew what thorny was (that included me):
I'm glad I took pictures of these slides, they only made sense many hours later. They should have been online
finding fellow LED geeks :)
learning blinkies for beginners, scan this
While I was there, I 9ound out they had a wonderful 4 bit computer some years back. I actually really regret not having been there that year, programming that in hand crafted assembly would have been epic:
someone hacked a basic I2C on it
people now hard at work
I used the opportunity to bring previous LCA toys and show them off (and fix a few)
Also, finally got to meet Henner Zeller, the rpi-rgb-panels author I've been working online with for years:
epic watch!
Also got to meet Daryll Strauss from precision insight, later acquired by VA Linux some 25+ years ago:
People still hacking at night:
I was lit up enough not to get lost :)
Day 2-3, Saturday & Sunday
Saturday and Sunday were the main conference days:
went to attend a few talks
hacking radio sound and B&W video from a chip, super cool!
learned about an online microcontroller emulator, wokwi, very nice
I got to see a pick and place machine, nice to see them work:
this is what the machine was 'printing'
I tried the SMD challenge, that was hard as hell:
we got old and fat irons, making things harder :)
I couldn't get the last 2 LEDs working, they were so stupidly small
I had someone help me fix mine :)
and they all worked, thank you to the master solderer!
added the result on my badge :)
Random fun shots :)
people hard at work
During the weekend, the SAO wall got populated:
Fun to see this SAO based on this burning man sign
Original from Burning Man
more and more
and more :)
Saturday evening party had a nice real time AI image generator:
some were far out :)
The conf ended with a presentation of best SAOs:
This guy won the contest of biggest SAO, he had a printer working off USB, run by his SAO
Sunday ended with a party at a bar, thankfully I had my battery soldering iron :)
This was loads of fun, and I definitely learned some good stuff. Sad I didn't go earlier but glad I went this year. Thanks bunch to all the organizers and attendeers who contributed!
More pictures: https://photos.app.goo.gl/2hYRaaB5dF5mvv4N8