photog.social: About · Profiles directory · Privacy policy
Mastodon: About · Get the app · Keyboard shortcuts · View source code · v4.4.3
This was a fast one. Last night I designed a small 2 layer #GPIO stacking header board for the #RaspberryPi that will be used in my #NeXTcube mini to provide a power and activity LED. It's in production at #JLCPCB already.
So, something to ponder.
Which plugs and sockets would you use if you wanted to route 6 pins from the #GPIO port of a #RaspberryPi, which is located in a housing, to another housing? Off the top of my head, I can only think of a 6-pin DIN plug/socket.
Are there any others?
A friend of mine made a board to upgrade the uConsole, expanding the GPIO and unused USB with i2c headers and a USB2 hub.
It connects to the 40-pin, 0.5mm pitch GPIO FFC/FPC connector, as well as being soldered to the unallocated USB4 pads. It splits out 3.3V I2C, providing a Qwiic connector (JST-SH) and soldering headers, and also provides a GL850-based USB2 Hub, the 4 ports accessible by soldering headers.
Building a Raspberry Pi Cycling Computer
Author: Ben Tasker
Slightly convoluted way you address the registers of the MC6821 PIA on the #C64 #GPIO board...
It has 6 registers but only 2 register select lines, so you can only directly address 2^2=4 registers. The way they resolved that is that the control registers can be addressed unambiguously using these 2 bits, and then you write to a bit (#2) in each control register to select whether the otherwise ambiguous read/write should go to the respetive peripheral or data direction register.
I guess they were out of pins...
@vi sadly, no.
the @Raspberry_Pi only does #HDMI and I struggle to find some panels that don't block the #GPIO using SPI and requiring questionable scripts and/or dont work from boot on a CLI...
#Nerdquestion
#Raspberry #pigpio library
Looking for code for
2-key rollover for n keys (n buttons connected to separate GPIO pins)
Looking for #Python code to detect two-button-presses on (let's say) 4 buttons, in general detect "2-key rollover" on n GPIO pins.
( https://en.wikipedia.org/wiki/Key_rollover : "Key rollover is the ability of a computer [keyboard] to correctly handle several simultaneous keystrokes.")
For 2 buttons, this is easy.
@neauoire What does one need to DIY core memory weave and have it addressable by smolputer #GPIO with #I2C or whatever? Just hook it to usb and zap at it? Any notions offhand?
This is to say I have some notion of how to make the core weave from junk, but little grok of a platform which can talk to it readily.
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.
Login