ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Pi-servo-hat vs Arduino on Raspberrypi

asked 2020-11-01 21:24:36 -0500

ba520y gravatar image

I am new at ROS and I have a question.

At Raspberrypi, is it standard to control servos by using Arduino instead of pi-servo-hat like PCA9685? And if so, what are the pros and cons of each devices?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-11-02 13:35:17 -0500

duck-development gravatar image

the pro for the pi is you can program it realy easy. you do not have to program the ardione. the i2c communication is more responsive compare to the usb usb-ttl uart interface (i know you could directly connect the serial port but usb is the simpler one)

if you use a arduino and programm the movecommand with buffers and so on, you can get a smoother movemat, but you have to code mutch. if you use an arduino you get a better execution time prediction compard to the pi solution.

edit flag offensive delete link more

Comments

Thank you for reply. Your advice will be helpful to decide which device I should use.

ba520y gravatar image ba520y  ( 2020-11-02 18:28:32 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-11-01 21:24:36 -0500

Seen: 128 times

Last updated: Nov 02 '20