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
Deliver secure remote access with OpenVPN. Icon
Deliver secure remote access with OpenVPN.

Trusted by nearly 20,000 customers worldwide, and all major cloud providers.

OpenVPN's products provide scalable, secure remote access — giving complete freedom to your employees to work outside the office while securely accessing SaaS, the internet, and company resources.
Get started — no credit card required.
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

Advanced End Users, Automotive, Developers, Science/Research

User Interface

Plugins, Win32 (MS Windows)

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