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

You Might Also Like
The Voice API that just works | Twilio Icon
The Voice API that just works | Twilio

Build a scalable voice experience with the API that's connecting millions around the world.

With Twilio Voice, you can build unique phone call experiences with one API, to create, receive, control and monitor calls with just a few lines of code. Create an engaging voice experience that you can quickly scale and modify with a wide array of customization options and resources.
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