![]() ![]() ![]() And at the end of this article I will post the complete source code. Now what’s left in this tutorial is to take a look at the Arduino code and explain how the program works. As the code is a bit longer, for better understanding, I will post the source code of the program in sections with description for each section. ![]() Next, according the circuit diagram I designed a custom PCB in order to keep the electronics components organized. As an Amazon Associate I earn from qualifying purchases. Arduino Board ……………………… Amazon / Banggood / AliExpressĭisclosure: These are affiliate links.Power Jack…………….………….…… Amazon / Banggood / AliExpress.Joystick ………………………………… Amazon / Banggood / AliExpress.You can get the components needed for this project from the links below: We can power this project with either 9 or 12V. There also a reset push button, a power switch and a power jack, as well as a limit switch for the slider and two LEDs for indicating the in and out status. This push button has a pull up resistor and it’s connected to a digital pin of the Arduino board. These in and out position are set with the help of push button. There’s also another potentiometer used for setting the speed of the automatic movement from the in and out positions. For controlling the slider movement we use a potentiometer connected to an analog input of the Arduino, and for controlling the pan and tilt head we use a joystick module which actually consist of two potentiometers, so it is connected to two analog inputs. So the three NEMA 17 stepper motors are controlled via the three A4988 stepper drivers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |