#PIO

Harris Georgiouxgeorgio_gr
2025-06-17

"Yes, A.I. still sucks at coding in some cases — For now…"
Article in AI Advances, 17-Jun-2025
---
Summary: Testing the limits of LLMs in code gerenation for Raspberry Pi Pico PIO assembly, as well as an example of how we design modern CPUs microcodes. If you work in these fields, your job is still pretty much secured against AI for many years...
>> medium.com/ai-advances/yes-a-i

🅱🅸🅶🅾🆁🆁🅴.🅾🆁🅶bigorre_org
2025-05-13

Aviation weather for Captain Renán Elías Olivera International airport in Pisco area (Peru) is “SPSO 131900Z 30006KT 270V330 3000 BR OVC017 19/16 Q1013 RMK BIRD HAZARD RWY 22/04 PP000” : See what it means on bigorre.org/aero/meteo/spso/en vl

2025-04-25

Riddle:
Executing a WAIT instruction with 24 delay cycles should take 25 cycles in total
Except?
nop 24 waits 14 cycles to and including out pins
nop 26 waits 15 cycles to and including out pins
nop 25 waits 15 cycles to and including out pins
nop 14 waits 9 cycles to and including out pins
so 10 nops is 5 cycles? WTF!?

What am I missing or overlooking here?


(4/4)

2025-04-24

@TheConversationUS

Erasing meaning is the whole point of making it an acronym if you're a #GOP #PIO

Like saying #BLM instead of #BlackLivesMatter
Like talking about a #COLA instead of a #CostOfLiving Increase

They only say " #CriticalRaceTheory " bc they know those are the three scariest words their base can hear (after "taxes")

2025-04-09

Создаём эмулятор легендарной игры «Ну, Погоди» на базе Raspberry Pi Pico

Многие из тех, кому сейчас за 30, и рождённых в СССР или на постсоветском пространстве, помнят электронную игру «Ну, погоди!». Во времена, когда не было ни интернета, ни ноутбуков, ни мобильных телефонов, а из общедоступных электронных развлечений были только аттракционы в парках культуры и видеосалоны, обладание бытовым компьютером, электронными наручными часами Montana или электронной игрой «Ну, погоди!» было мечтой многих детей. Были ещё и другие электронные игры, но именно «Ну, погоди!» считается классикой. Игре посвящено много ностальгических статей и видео. На различных торговых площадках можно купить её в различном состоянии от убитого до «с хранения» и даже новодел. Лет 10 назад и я купил её в идеальном состоянии, поигрался, вспомнил детство и положил в ящик. Но несколько месяцев назад с разочарованием увидел, что «потекла» нижняя часть экрана. Можно было или отремонтировать, или купить другой экземпляр игры, но я сначала попробовал узнать, как её отремонтировать, а потом решил воссоздать игру на современных компонентах. Я не был одинок в своём желании воссоздать игру, этой теме посвящено также немало статей, но в них обычно создавали симуляторы, а не эмуляторы игры. Симулятор у меня ассоциируется с фразой: «Я художник, я так вижу», эмулятор — это более точное воспроизведение устройства. Формат статьи не позволяет выразить все те ощущения, которые я испытал при путешествии от зарождения идеи до реально работающей игры, практически ничем не отличающейся от оригинала. Много из того, что я узнал в этом путешествии, не поместилось в статью или поместилось в очень сжатом виде. Эмулятор максимально приближен к оригиналу, если не считать экран (он не сегментный, как в оригинале) и корпус (я пока реализовал на беспаечной макетной плате). Если вам интересно, как за несколько вечеров воссоздать у себя эмулятор «Ну, погоди!» на современном микроконтроллере или просто поностальгировать, добро пожаловать под кат.

habr.com/ru/companies/ruvds/ar

#ruvds_статьи #raspberry_pi_pico #pio #dma #эмулятор #ну_погоди #fritzing

2025-04-09

Создаём эмулятор легендарной игры «Ну, Погоди» на базе Raspberry Pi Pico

Многие из тех, кому сейчас за 30, и рождённых в СССР или на постсоветском пространстве, помнят электронную игру «Ну, погоди!». Во времена, когда не было ни интернета, ни ноутбуков, ни мобильных телефонов, а из общедоступных электронных развлечений были только аттракционы в парках культуры и видеосалоны, обладание бытовым компьютером, электронными наручными часами Montana или электронной игрой «Ну, погоди!» было мечтой многих детей. Были ещё и другие электронные игры, но именно «Ну, погоди!» считается классикой. Игре посвящено много ностальгических статей и видео. На различных торговых площадках можно купить её в различном состоянии от убитого до «с хранения» и даже новодел. Лет 10 назад и я купил её в идеальном состоянии, поигрался, вспомнил детство и положил в ящик. Но несколько месяцев назад с разочарованием увидел, что «потекла» нижняя часть экрана. Можно было или отремонтировать, или купить другой экземпляр игры, но я сначала попробовал узнать, как её отремонтировать, а потом решил воссоздать игру на современных компонентах. Я не был одинок в своём желании воссоздать игру, этой теме посвящено также немало статей, но в них обычно создавали симуляторы, а не эмуляторы игры. Симулятор у меня ассоциируется с фразой: «Я художник, я так вижу», эмулятор — это более точное воспроизведение устройства. Формат статьи не позволяет выразить все те ощущения, которые я испытал при путешествии от зарождения идеи до реально работающей игры, практически ничем не отличающейся от оригинала. Много из того, что я узнал в этом путешествии, не поместилось в статью или поместилось в очень сжатом виде. Эмулятор максимально приближен к оригиналу, если не считать экран (он не сегментный, как в оригинале) и корпус (я пока реализовал на беспаечной макетной плате). Если вам интересно, как за несколько вечеров воссоздать у себя эмулятор «Ну, погоди!» на современном микроконтроллере или просто поностальгировать, добро пожаловать под кат.

habr.com/ru/companies/ruvds/ar

#ruvds_статьи #raspberry_pi_pico #pio #dma #эмулятор #ну_погоди #fritzing

2025-03-07

Capping my work for @adafruit this week with the first working demo for pi5 with the "active3" RGB matrix adapter.

This adapter lets you push out about 3x as many pixels per unit of time, which mean you can either improve your refresh rate or drive more pixels with the same refresh rate.

Mapping these pixels is more complicated than with a single matrix connector, so the open pull request punts and just makes you write the pixel map in Python. This is evaluated just once at your program startup, keeping the pixel mapping part of the code fast when you update the screen contents.

I hope that a future improvement will supply some standard mappers for 2- and 3-connection display setups; at a minimum, I'd like it to work when each strand is a single panel or string of linear panels, and they're in horizontal or vertical stripes.

#hub75 #raspberrypi #pi5 #pio #rp1 #piomatter #python

diyelectromusicdiyelectromusic
2025-02-17

Anyone know if the Circuitpython Neopixel implementation uses PIO on the RP2040? The existence of neopixel_write in the HAL for CP implies it does...

But if so, what if you have an application that also wants to use PIO? How are conflicts managed?

2025-01-30

Another bit of my @adafruit work is ready to escape out into the world. Introducing github.com/adafruit/Adafruit_B

rp1pio is intended to be a compatible subset of CircuitPython's rp2pio module, except instead of being for the rp2040 and rp2350, it's for the Raspberry Pi 5, which has an "RP1" I/O coprocessor chip.

The library is capable of running two examples: driving neopixels (though there's also a dedicated Python package for this, which is recommended instead), and decoding signals from a "quadrature encoder".

This doesn't replicate all the functionality you know and love from the rp2040 but it's a start, and we welcome community involvement to add more features.

I'll be showing the rotary knob functionality off on Show & Tell. Our live broadcast on youtube starts in about 15 minutes: adafru.it/live

#raspberryPi #Pi5 #RP1 #PIO #ShowAndTell

On my desk (dark wood) is a Raspberry Pi 5, connected by several wires to a CNC style encoder knob, with positions labeled from 0 to 90 by tens, with smaller marks between the numbers. Machinists love these knobs. Mine is shiny with a white sticker.
2025-01-15

The library for driving HUB75 style matrices on Pi5 computers is released: github.com/adafruit/Adafruit_B pypi.org/project/Adafruit-Blin

Exclusive of imports, here's how you can display a 64x64 png on an pair of attached 64x32 matrices:

geometry = adafruit_raspberry_pi5_piomatter.Geometry(width=64, height=64, n_addr_lines=4, rotation=adafruit_raspberry_pi5_piomatter.Orientation.Normal)
framebuffer = np.asarray(Image.open("blinka64x64.png")
matrix = adafruit_raspberry_pi5_piomatter.AdafruitMatrixBonnetRGB888Packed(framebuffer, geometry)
matrix.show()

input("Hit enter to exit")

You can also play an image sequence (code in the github repo, find your own images); here, it's an excerpt from Big Bug Bunny reduced to 32x64 resolution. In person it's nice and flicker free, the phone camera just makes it look bad.

#python #raspberryPi #pi5 #rp1 #PIO

2024-12-20

I'm playing Pioneer Masters Drafts, live now at twitch.tv/mad_moses Come hang out! #mtg #arena #pio #draft #limited #MagicTheGathering

2024-12-17

progress: chained rgb matrix displays on pi5 using pio. these are using the common "serpentine" arrangement where the 2nd display is rotated 180 degrees.

tired now, didn't yet push the code.

#raspberrypi #pi5 #pio #rp1

2024-12-16

🏆 7:2 in Pioneer Masters draft with UGb Hydras:
17lands.com/deck/e270a1d9c4114

Aetherling was great on board stalls. Dinrova Horror is 🖤. Would splash again.

#mtg #mtgarena #pio #draft #limited #MagicTheGathering twitch.tv/mad_moses

2024-12-16

I'm playing Pioneer Masters Drafts, live now at twitch.tv/mad_moses Come hang out! #mtg #arena #pio #draft #limited #MagicTheGathering

2024-12-12

I now have demo code for Raspberry Pi 5 to drive "hub75" type RGB matrices using the recently added PIO peripheral support!

The matrix is adafruit.com/product/420 and it uses the existing RGB Matrix bonnet adafruit.com/product/3211

The code is github.com/jepler/pi5-pio-prot -- I called the repo protomatter but it's an independent implementation from protomatter. It'll be under a GPL 2-only license as this is the license of the underlying library from Raspberry Pi.

make && ./protodemo 10000 (the number says how many times to refresh the screen)

next up is adding support for multiple bit-planes and then wrapping it for use in Python.

#raspberryPi #pi5 #pio #rp1

2024-12-11

I'm playing Pioneer Masters Drafts, live now at twitch.tv/mad_moses Come hang out! #mtg #arena #pio #draft #limited #MagicTheGathering

2024-12-10

I'm playing Pioneer Masters Drafts, live now at twitch.tv/mad_moses
Come hang out! #mtg #arena #pio #draft #limited #MagicTheGathering

An Insight into my Hindsidescurvy@thescurvydawg.com
2024-08-10

Why do NRIs and PIOs become pricks?

https://thescurvydawg.com/2024/08/10/nri-pio-pricks/

green and white cactus table decor on gray steel file cabinet

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst