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
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
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