Difference between revisions of "Joystick Sensor Application"

From Microduino Wiki
Jump to: navigation, search
(Created page with " {| style="width: 800px;" |- | ==Purpose== This tutorial will show you how to use Microduino Joystick. ==Equipment== *'''Microduino-CoreUSB''' *'''Microduino-Joystic...")
 
(Result)
 
Line 49: Line 49:
 
==Result==
 
==Result==
  
You can control buzzer tone through Joystick.  
+
You can control the tone of a buzzer through Joystick.
  
 
==Video==
 
==Video==
  
 
|}
 
|}

Latest revision as of 08:30, 31 July 2015

Purpose

This tutorial will show you how to use Microduino Joystick.

Equipment


  • Other Hardware Equipment
    • USB cable One

Principle

The X-axis and Y-axis of the Joystick correspond two analog values. The move of X- and Y-axis changes the analog values.

Program

[MicroduinoJoyStick]

Debugging

Step 1: Plug Microduino buzzer to the D6 pin of Microduino-Sensorhub and Microduino Joystick to A2 , A3.

MicroduinoRockerControl.png


Step 2: Connect USB cable to your PC, download the code and program it to Microduino-CoreUSB.

MicroduinoRockerControl1.png


Step 3: The Joystick is in the middle after power-on.

MicroduinoRockerControl2.png


Step 4: Move Joystick X-axis and he sound frequency of the buzzer changes along with it.

MicroduinoRockerControl3.png

Result

You can control the tone of a buzzer through Joystick.

Video