Servos with Raspberry Pi 5 - No Jitters (PCA9685)

preview_player
Показать описание
In this video I show you how to control servos on a Raspberry Pi 5 with and without a PCA9685, showing jitters and no jitters.

Where to buy [Amazon Affiliate]:
Рекомендации по теме
Комментарии
Автор

Thanks for the video! I have heard that the gpiozero library and pigpio pin factory that will allow hardware generated pulses are not available for the Pi 5. This library works on a Pi 4B and that is how I handled servo jitter in the past. Hoping that the authors will bring this library to the Pi 5 at some point. Till then, the PCS9685 appears to be the best solution. Cheers.

lorisrobots
Автор

Works like a dream, few days before you posted this I bought pi5 and some servos for a project of mine and had hard time dealing with the jitter (couldnt find "normal" looking solution) and then this video popped up 🥳, bought the pca.. and it works. Thank you so much for the easy to follow video.

ramqio
Автор

Nice video, thanks. Did you check why the jitter difference? Is this the PWM stability?

YigalBZ
Автор

Comment if you have any project ideas for this camera /servo setup!

diyengineers
Автор

Thanks for the video! Is there a way to use a joystick to control the servos through the PCA module?

Tytyshippy
Автор

I'm working with Arduino MEGA + L293D connecting two servos to L293D Servo_1 (pin 10) Servo_2 w(pin 9) control via FlySky using VRA(servo1) & VRB(servo2) similar setup horizontal & vertical movement. Both servos move via VRA, VRB fine but constant jittering. I disconnected one servo from L293D and the jittering stop on the connected servo. Any suggestions would be greatly appreciated. Thanks for sharing video (at some point will get to using Raspberry Pi 5) always enjoy your content. Cheers mate!

shakejones
Автор

I wasted 3 hours last night diving into the rabbit hole that is hardware PWM on the raspberry pi 5.

As others have said, it just isn't worth the time. Spend the $12 and use a PCA9685.

thejames
Автор

How did you make the camera case? Is it 3d printed by you or it is abailable online?

StarL-sq
Автор

Can you explain what you did with the 12v converter? Do you have a model number for it?

TjaudioNet
Автор

I'm about to try this with a RPi4b with 8 gig ram. Is there any reason it should Not work? Your fan, Dan

DanFagerburg
Автор

Hello, I'm also using the same peripheral, but with an unofficial 5V 3A adapter. However, I keep getting a warning notification on the Raspberry Pi, and the PCA9685 module is not detected at address 0x40 when I run sudo i2cdetect -y 1. Could the issue be with the PCA9685 module itself, or is the problem caused by the adapter, which might be affecting the functionality of the Raspberry Pi's pins? Thank you.

bangalbert
Автор

why set the angle=90, actually the servo only rotate 45? how can I make it rotate 90?

wxgolf
Автор

Why use terminal to write python code?
You think it makes you look cool or something?
Why not use an IDE like vscode like normal human.

Note: typing in terminal doesn't make you look cool or make you look like a hacker.

Chears

qozia
visit shbcf.ru