this post was submitted on 18 Dec 2025
7 points (100.0% liked)

raspberrypi

5230 readers
1 users here now

Community about the single-board computers, micro-controllers and related projects.

https://www.raspberrypi.com/

Other RaspberryPi communities on Lemmy

founded 5 years ago
MODERATORS
 

Im currently making a costum 10x10 led matrix, and for it to be able to display senseable stuff, im trying to segment the display into 10 vertical lines which cycle at at least 100hz. Would a Python script on a raspberry pi be able to cycle its GPIO pins at this speed? Or Would an arduino or other Microcontroller be able to do it better?

you are viewing a single comment's thread
view the rest of the comments
[–] CameronDev@programming.dev 2 points 3 weeks ago (1 children)

https://github.com/F5OEO/rpitx

It can handle frequencies from 5 KHz up to 1500 MHz.

You should be fine, although maybe other pins dont work as well. Why 100hz out of curiosity?

[–] Luffy879@lemmy.ml 3 points 3 weeks ago (1 children)

https://www.mikrocontroller.net/articles/LED-Matrix

My source says, the human eyes stop seeing the flicker of a segmented led Matrix at about 100Hz. Since Python is a POS at being fast, ill make due with 100hz

[–] CameronDev@programming.dev 3 points 3 weeks ago

There is a lot of pseudoscience around human vision and frequencies, so I'd take that with a grain of salt. 100hz isnt that fast as far as microcontrollers go, so you should be able to reach that target. Good luck!