This low cost project is a RC servo like position control of one or two geared motor(s) with a pot as angle feedback. You can send the arduino microcontroller a value from 0 to 1023 and the arduino will control the motor speed and direction to reach your target value. The PID algorithm will insure that the motor will not get into hold vibrations if the pot has some influences. This article will describe where you have to take attentions and what you have to setup to get the best results. The project will help you to connect any arduino motor shield or other H-Bridges to the controller because it is open source and the output pins can therefor be changed as you like. You can upload a better modified version and improove this article by contacting me. With some pin changes you can port this code to other arduino boards.

Project Samples

Project Activity

See All Activity >

Follow Arduino open source X-PID motor control

Arduino open source X-PID motor control Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Arduino open source X-PID motor control!

Additional Project Details

Intended Audience

Science/Research, Advanced End Users, Developers, Automotive

User Interface

Win32 (MS Windows), Plugins

Programming Language

C++, C

Related Categories

C++ Games, C++ Hardware Platform, C++ Game Development Frameworks, C Games, C Hardware Platform, C Game Development Frameworks

Registered

2013-01-28