Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Blueprints

You're reading from   Raspberry Pi Blueprints Design and build your own hardware projects that interact with the real world using the Raspberry Pi

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784392901
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Raspberry Pi Pirate Radio FREE CHAPTER 2. Portable Speaker System 3. Mini Retro Arcade Cabinet 4. GPS-enabled Time-lapse Recorder 5. Home Theater PC 6. Outdoor Weather Station 7. Home Security System 8. Remote-operated Robotic Arm 9. Magic Mirror 10. Bottle Xylophone Index

Calibration


Now that the arm and chassis are built, we need to calibrate the motors and servos to ensure that they react in the correct way to the commands from the web application. In the case of the servos, do not attempt to move them too far as this will cause damage to them or other parts of the robotic arm.

Chassis motors

Firstly, we will ensure that the chassis motors behave correctly. This is simply a case of running the motors in each of their directions to ensure that the chassis moves in the direction intended.

When running in forward or reverse motion, if one motor is running in the wrong direction, this can be corrected by swapping the polarity of the motor. You can swap the polarity by swapping the connections on the two wires leading to it from the relay board.

When the motor runs in the clockwise or counter clockwise rotation, if the base rotates in the wrong direction, then both motors need to have their polarity swapped.

Arm 2 and hand servos

Since these two servos operate independently...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image