PWM LED blink and Servo control using pyPWMd on a VisionFive 2 (or other SBC)
Автор: Owen Carter
Загружено: 2024-11-06
Просмотров: 231
Описание:
A quick demo of controlling a LED and Servo from linux as a normal user; using my pyPWMd pwm control library.
https://github.com/easytarget/pyPWMd
This demo is on a VisionFive 2, but this same code also runs (and has been tested on) on Raspberry PI's and the MangoPI MQ Pro.
Please note that I am driving the servo at Five volts, but the VF2 (and all other SBC's) is a 3.3 volt system. I have an optoisolator on the PWM output pin to give a 5 volt signal to the servo without any danger of 5 volts hitting the processor..
Circuit is here: https://gist.github.com/easytarget/b2...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: