EPISODE · May 23, 2021 · 0 MIN
STEMMA Friend is also a UART Friend (with auto-baud detection)
from Adafruit Industries · host Adafruit Industries
The lil STEMMA Friend board we're working on this weekend could also be a cute lil UART/Serial monitor tool. the RP2040 has a fast enough GPIO peripheral that we can automatically detect baud rates and then turn on the UART peripheral to read data via an IRQ into a buffer. To get the nice scrolling effect (with a header at the top that doesn't scroll!) we have to use a framebuffer - thankfully the RP2040 also has enough RAM to buffer a full 240*240 pixels. we read the serial data and draw to the framebuffer in the IRQ and draw to the TFT itself in the main loop. We're testing it here with a 9600 baud GPS but it also works with a Raspberry pi. Maybe VT10x color coding is next? #adafruit #stemma #uart Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------
What this episode covers
The lil STEMMA Friend board we're working on this weekend could also be a cute lil UART/Serial monitor tool. the RP2040 has a fast enough GPIO peripheral that we can automatically detect baud rates and then turn on the UART peripheral to read data via an IRQ into a buffer. To get the nice scrolling effect (with a header at the top that doesn't scroll!) we have to use a framebuffer - thankfully the RP2040 also has enough RAM to buffer a full 240*240 pixels. we read the serial data and draw to the framebuffer in the IRQ and draw to the TFT itself in the main loop. We're testing it here with a 9600 baud GPS but it also works with a Raspberry pi. Maybe VT10x color coding is next? #adafruit #stemma #uart Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------
NOW PLAYING
STEMMA Friend is also a UART Friend (with auto-baud detection)
No transcript for this episode yet
Similar Episodes
May 13, 2026 ·32m
May 12, 2026 ·45m
May 11, 2026 ·33m
May 6, 2026 ·33m
May 5, 2026 ·14m
May 4, 2026 ·35m