4 ms·
Does anyone have any interesting applications of the programmable IO? I want to use it for something but I'm struggling to come up with good ideas. Driving WS20
by bschwindHN 5y ago
Does anyone have any interesting applications of the programmable IO? I want to use it for something but I'm struggling to come up with good ideas. Driving WS2012B LEDs could be fun but basically any microcontroller can already do that.
- kortex 5y agoTons. This is great to slap in temperature controllers, actuators, control loop things and the like. I would probably use this in lieu of the Pi Automation Hat for things like my greenhouse controller, if I didn't already have the parts for it. It would also be great for making into RS232 driven GPIO boards using a simple protocol. Actually I'd love to see someone develop a daisy-chainable automation IO board using these. Auto-sense the neighbors, assign registers to I/O pins, and make a protocol based on Msgpack or a subset.
- dimatura 5y agoI really like the flexibility of having advanced I/O capabilities on almost any pin, specially when I'm not designing the PCB from the ground up. With the older atmegas I find myself sometimes constrained by having to use this pin or that pin for a specific function. A lot of newer chips like ESP32 or the SAMD's are also fairly flexible when it comes to I/O, though maybe less so.
- fest 5y agoI found an excuse to learn PIO in sampling linear CCD sensor. The gist of it is: sensor needs accurate (us) shutter signal, then a strobe on another signal to start clocking the data out. On each clock you'd like to acquire an ADC sample (but ADC sampling should happen some time after clock edge, as that's when the sensor changes it's output multiplexer to select next pixel). Doable to solve on an STM32 by bitbanging, but PIO makes more elegant solution (start the PIO program, read acquired samples via DMA).
- dkjaudyeqooe 5y agoHere it's used to implement ethernet: https://www.raspberrypi.org/blog/how-to-add-ethernet-to-raspberry-pi-pico/ https://www.raspberrypi.org/blog/how-to-add-ethernet-to-rasp... And DVI: https://hackaday.com/2021/02/12/bitbanged-dvi-on-a-raspberry-pi-rp2040-microcontroller/ https://hackaday.com/2021/02/12/bitbanged-dvi-on-a-raspberry...