Servo Motor control using Dual Axis Joystick Module tutorial - Arduino Nano - Code included

Опубликовано: 03 Октябрь 2024
на канале: lot10games
3,692
50

Analog servo motors are inexpensive little powerhouses that can be perfect when you're designing something that needs to move. They pack a lot of torque for their size and their shaft position can be pretty accurately controlled.
The Dual Axis Joystick Module presents three outputs, two of which are analog and one digital. The two outputs are the analog voltage on two potentiometers representing voltage dividers; thus the inclination can be measured on each axis, Ox and Oy. Digital output is pressing a button.

Parts used:
1x Breadboard
1x Arduino Nano
5x Jumper Wires (female-male)
4x Jumper Wires (male-male)
1x MG995 Servo motor
1x Power supply with batteries (for the servo motor)

Follow me :
Facebook:   / lot10games  
Instagram:   / 1indie_game_dev