Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 22.2 ('Vision Pro')
Instant purchase and download via GumRoad!

FEATURE

Rasp Pi Electronic Fun Part 6

Using LibGPIOD Interface to Move a Servo

Issue: 22.2 (March/April 2024)
Author: Eugene Dakin
Author Bio: Eugene works as a Senior Oilfield Technical Specialist. He has university degrees in the disciplines of Engineering, Chemistry, Biology, Business, and a Ph.D. in Chemical Engineering. He is the author of dozens of books on Xojo available on the xdevlibrary.com website.
Article Description: No description available.
Article Length (in bytes): 10,290
Starting Page Number: 36
Article Number: 22004
Resource File(s):

Download Icon project-22004.zip Updated: 2024-02-29 23:35:10

Related Link(s): None

Excerpt of article text...

This example will show how to control a servo. A servo has a motor and a sensor which move to a certain position through a closed-loop system and are commonly used in robotics, steering for remote controls cars, and precise movement.

Unlike a Direct Current motor which spins at many revolutions-per-minute (rpm), the servo motor usually moves 180 degrees. A closed-loop servo usually has a pin on the inside of the servo motor casing to prevent it from rotating beyond 180 degrees. An open-loop servo allows the servo to move 360 degrees, although quite slowly, which is at a rate of one revolution per minute.

Note: * Warning!* You can damage a servo if you move it beyond its limits (pulse width).

The CSRC-35 Specifications:

...End of Excerpt. Please purchase the magazine to read the full article.