writing.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small, intentional community for poets, authors, and every kind of writer.

Administered by:

Server stats:

339
active users

#adafruit

0 posts0 participants0 posts today
Continued thread

And done. Do you want a simple breakout board for #Adafruit's ADA504 5-way navigation switch (it clicks in four directions, and straight down in the middle)? You can download the Gerber files for one here, and get a few of them made for yourself at Oshpark, JLCPCB etc for a few bucks: github.com/timixretroplays/sim

Do you want one and happen to be in Australia? DM me and I'll post you one of mine.

My cat Susy LOVES her rechargable, motorized cat toys seen in the pic. But I've now had to repair both of them. Tonight was the smaller (and also newer) one at the top. Both have now had their gearmotors replaced with new ones I found on Ebay. The new motors appear identical, but are MUCH quieter than the originals, which is nice since they can turn on in the middle of the night.
(Cont.)
#makers #righttorepair #adafruit #hardwarehacking #cats #cattoys #diy #CatsOfMastodon #catodon

Just playing Super Mario All Stars on an RGB matrix panel as you do.

To keep things together better, I 3D printed a bracket in two pieces, the subject of a work in progress playground note: adafruit-playground.com/u/jepl

This is using a 3rd party breakout board with 3 HUB75 connectors. I recently added the ability to drive up to 3 connectors to Adafruit Piomatter, as well as temporal dithering.

In this specific interest, I'm using 2 connectors to drive a total of 4 64x64 panels. --num-planes=6 --num-temporal-planes=2 means I'm getting effective 18 bit color, albeit with the least significant 2 bits being shown on alternate refreshes, creating a tiny amount of 44Hz color shimmer.

All these "go faster" tricks together give me about 88Hz refresh rate on the panel, despite that we're still limited to about 10MB/s of data between the PI's main CPU and the PIO peripheral that's acting as the LED controller.

Has anyone here managed to get the #Adafruit mp3 streaming example for #CircuitPython to work on an #RP2040 yet?

I've read from people having success with it, but I always end up with a gaierror: (-2, 'Name or service not known') when running requests.get(STREAMING_URL, headers={"connection": "close"}, stream=True)

What am I doing wrong?

(running CircuitPython 9.2.3)

learn.adafruit.com/mp3-playbac

Adafruit Learning SystemMP3 Playback with CircuitPythonLearn which CircuitPython boards best play MP3 files, and how to code it.

I have playing with snek, Keith Packard's tiny Python for embedded devices. I have managed to make neopixels do something on a CircuitPlayground Express!

But:
- snek 1.10 is the only one that comes with examples
- snek 1.9 is the only one that I can find for my OS
- there were syntax changes between the versions
- compiling 1.10 is at the "hahaha no" stage (unless you are Keith Packard, of course)

Not quite ready for prime time

sneklang.org/

sneklang.orgsneklang
Continued thread

I'm glad I took the time to fix the scaly croissant's lizard enclosure sensors. I find the resulting nerdy plots quite interesting in several ways, especially the 3 temperature sensors.

The cool end sensor is an air temperature monitor in the rear left corner of the glass enclosure, and pretty much follows the ambient air temperature. Anything between about 21°C and 29°C is OK here for daytime, and down to 18°C or so is fine at night.

The warm end sensor also measures air temperature, but in the rear right corner of the enclosure, near the heat lamp. This is quite close to the air temperature sensor of the thermostat that controls the heat lamp, so the temperature measured here is fairly consistent and constant during the day. The actual temperature here doesn't matter very much, though

The basking temperature sensor in an infrared sensor measuring the surface temperature of Jerry's basking rock directly under the heat lamp. This is the temperature that's most important but it's also the one that varies the most, despite the use of a thermostat. The exact temperature isn't critical, but ideally it should be in the range 40-46°C.

The brief dips in basking rock temperature are a nice bonus of having this sort of sensor. They're an indication that a cool lizard has just plonked himself under the sensor to bask, so the frequency of dips in the data are an indirect indication of how active he's being.

The slower changes, on the other hand, are driven by changes in the ambient temperature in the room. When the room warms up the amount of heat escaping the enclosure decreases, the warm end air temperature starts to rise, so the thermostat turns down the heat lamp to compensate, and the basking spot temperature drops. It's important to have the thermostat's temperature sensor as close as practical to the basking spot in order to minimise this effect, but it's still pretty strong. Consequently, and counter intuitively, if I let the room get too hot them my lizard will end up with not enough heat rather than too much.

Ideally the thermostat controlling the heat lamp would use an infrared surface temperature sensor but all the commercially available ones just use an air temperature sensor. Maybe one day I'll make my own thermostat, with blackjack & direct surface temperature control.