Arduino PID control

preview_player
Показать описание
This project shows you how to build a simple PID controller using an Arduino Mega board.

The PID code library can be found here

There's also a good practical explanation of PID here

For unfathomable reasons I needed to set my serial port to port 0 in the Processing code (it's actually on port 4 on my system).

Also there have been several updates to the Processing compiler. You may need to track down the necessary changes if you are using a newer version than the one it was originally compiled on in April 2011.
Рекомендации по теме
Комментарии
Автор

can you please post this updated code on your project blog ???

taqatak
Автор

can you please post this updated code on your project blog
processing code

resanohm
Автор

Gotta get that 1/4 decay going man. Looks critically damped...crank up that integral and watch the gain.

solarnjtc
Автор

Can you share the Codes of arduino and processing please?

SabbirSalekin
Автор

Any particular reason you have next to nothing for your P and D values? It would respond much better if you used them.

go