Bài học này là một phần của:
Khóa học Arduino dựa trên Bộ công cụ học tập 3 trong 1 của SunFounder
Lesson 13/31: Using XY Joystick with Arduino and turning a buzzer with joystick Motion | Robojax
In this video, we will learn how to effectively use an XY Joystick with Arduino. We'll cover how to detect both the analog position of the joystick along its X and Y axes, and how to register when its integrated push-button is pressed. Furthermore, we will then apply this knowledge to trigger an action: specifically, we will learn to turn a buzzer ON when the joystick's X-position is greater than 600 and its Y-position is less than 300. A complete wiring diagram and the full Arduino code will be thoroughly explained.
Không có mã đính kèm.
Common Course Links
Common Course Files
Tài nguyên & tài liệu tham khảo
Chưa có tài nguyên nào.
Tập tin📁
Thư viện Arduino (tệp nén)
-
SunFounder's 3-in-1 Smart Car learning kit source code
3in1-kit-main-v2.zip12.80 MB