Control servo motors with a joystick (Thumbstick) | Mert Arduino
Автор: Maker 101
Загружено: 2018-05-14
Просмотров: 98447
Описание:
Today, I will show you the control of two servo motors with a joystick. Actually this is a simple project, but many followers wanted me to share this project. So how does it work? When the joystick module moves horizontally or vertically, it gives values from 0 to 1023. It's like a potentiometer. We will scale the servo motor positions to the joystick values using the map function. Thus, the servo motors will move according to the scaled value.
Required Hardware:
Arduino Board :
https://goo.gl/RcRmi1
https://amzn.to/2LZr6t4
Servo MG90S:
https://goo.gl/aRPE6D
https://amzn.to/39o8tHF
Joystick Module:
https://goo.gl/qupktG
https://amzn.to/3u5097N
Breadboard:
https://goo.gl/ExxNWy
https://amzn.to/3qxLxwm
Jumper Wires:
https://goo.gl/EGTafY
https://amzn.to/3doetmT
Recommended Items:
Use Your Muscles in Project - https://amzn.to/3wdL45C
37 Sensor & Module Packages - https://amzn.to/3m66WeQ
Try this Robot Arm - https://amzn.to/3fq8DCl
Best Resin 3D Printer - https://amzn.to/39tY8KB
Arduino Compatible Kits - http://bit.ly/2J2AFF7
Banggood Spring Sale - https://bit.ly/3slMbOn
Download Source Code: https://create.arduino.cc/editor/mert...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: