I’m consolidating the code* sites and that means that there will, all going well, be no new posts here. Instead, I’m breaking in a new site at codepope.dev. There’s already a post up (with code) about the PyPortal. So, maybe see you there. It’s going to be a work in progress (no comments yet), but see you there – you can get in touch through Twitter (@codepope) if you want.
Cyntech do a word clock – an 8×8 array of neopixels, a set of acrylics to make a box and stencils for the words and space to fit in a pi zero or pi 2/3 inside. It’s been built here for a while and suffering from random light shows on the display and dropping the WiFi.
Well the light shows were down The the fact that the neopixels work at 5v but the Pi data line is a beefy 3.3v. Not enough juice means the display data line is susceptible to noise. The solution is a level shifter which bumps the voltage from 3.3v to 5v. I used a 74ACHT125 to do this. It’s capable of shifting 4 lines but I only needed the one.
I laid out the first pass as per anAdafruit tutorial on the subject, with a breadboard. And it worked. The next challenge was to get that inside the case of the clock.
For that, I put an Adafruit permaproto 1/4 size board to task, and replanned the circuit with a single three female header to clip it onto the 8×8 display, then added 3 fly leads to connect to the Pi. I started wiring it up with hookup wire but for fun switched to some 30awg cable which made the process super quick and rather tidier.
And it worked first time…. then I had to put it all back in the box. I hadn’t allowed for the Pi’s USB leaning on some unused tracks on the permaproto board which makes it tilt slightly but its generally all fine and does work. I wonder if my next stop would be getting a PCB design for a super compact version….
It all does beg the question though of why would someone sell a kit which really needs a level shifter. You can hack it with a diode too apparently….
So in the background, I’ve been playing around with digital fireworks on various LED displays, mostly on the Raspberry Pi Zero with PS3 controllers and well that was going on with various levels of success and then I took a break from that approach. I noticed that I had an ESP32 Feather and a 3.5″ Featherwing touch screen. What the heck, I said and a few hours later…
So touch and out come the particles…. want to see the code? It’s Arduino code and it’s up on Github at https://github.com/codepope/fireworks-esp32.
As is my way, I’ve been writing elsewhere for a living among other things and here’s the latest NewsBits I gathered up….
- Java11 arrives with long term support and warnings.
- Refactoring .then() added to Microsoft’s TypeScript.
- Ready for PostgreSQL11, PostGIS 2.5.0 released.
- Your own database Arnie: pg_terminator kills PostgreSQLconnections.
- Make SQLprettier with sqlfmt.
- Read about CrimsonDB‘s adaptive key/values.
- Kubernetesgets a TLS bootstraping update.
- And Finally… How to scan a Rocket.
Interested? Read the bits in full on https://www.compose.com/articles/java-11-arrives-newsbits-at-compose/
In the most recent NewsBits (NewsBits at Compose.com’s Articles) there’s some minor DB and driver updating, a DB that branches like git, a fresh Vault, what happens to SSDs when they meet database write loads, the new Go 1.11 (and 2 drafts) and… oh yeah who wants to see round corners?
(Apologies for the lateness… I’ve been playing with MicroPython, CircuitPython, ESP32s, ESP8266s and a selection of tiny light emitting things…. more on that soon… promise)
As is my Friday wont, I wrote up NewsBits for Compose but then things move fast… since that was published Go 1.11 has landed… Really looking forward to using that in anger (good anger, not “damn computer” anger).
(Today’s a HackWimbledon day and I’ll be there possibly assembling a RasPad and Featherwings….)