Ks0008 keyestudio Joystick Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


==Introduction==
==Introduction==
This is a Xadow module which can emit a tone. To drive it, you need to give control to two pins simultaneously: this is different from Grove - Buzzer which uses one pin to control. It is petite but loud! It can be used for making beeps, tones and alerts.<br>
Lots of robot projects need joystick. This module provides an affordable solution. By simply connecting to two analog inputs, the robot is at your commands with X, Y control. It also has a switch that is connected to a digital pin. This joystick module can be easily connected to Arduino by IO Shield. This module is for Arduino(V5) with cables supplied. 
<br>[[File:Joystick.png|500px|thumb]]<br />
<br>[[File:Joystick.png|500px|thumb]]<br>


Xadow is a small but perfectly formed Arduino(TM) compatible board series containing several modules. It's a kit extremely suitable for space-sensitive projects such as wearable devices & arts designs, which have higher request on size, weight and flexible cascade connection.
Xadow is a small but perfectly formed Arduino(TM) compatible board series containing several modules. It's a kit extremely suitable for space-sensitive projects such as wearable devices & arts designs, which have higher request on size, weight and flexible cascade connection.

Revision as of 11:27, 11 August 2016


Introduction

Lots of robot projects need joystick. This module provides an affordable solution. By simply connecting to two analog inputs, the robot is at your commands with X, Y control. It also has a switch that is connected to a digital pin. This joystick module can be easily connected to Arduino by IO Shield. This module is for Arduino(V5) with cables supplied. 


Joystick.png


Xadow is a small but perfectly formed Arduino(TM) compatible board series containing several modules. It's a kit extremely suitable for space-sensitive projects such as wearable devices & arts designs, which have higher request on size, weight and flexible cascade connection. You can find more modules here.

Specification

  • Work Voltage: 3.3V
  • FundamentalFrequency: 2700Hz
  • Sound Pressure Level: >75dB
  • Dimensions: 25.43mm x 20.35mm

Demonstration

There is an easy demo to show how to drive buzzer sound. If you have successfully used it, then you can apply it to your great projects, such as detecting the battery status: the buzzer will emit a sound when Xadow Main Board is in low battery.

File:Joystick.jpg

void setup()	
{
 DDRB |= 0x06;	 	
}
 	
void loop()	 	
{	
//turn on the buzzer
  PORTB |= 0x06;	
  delay(1);	
//turn off the buzzer		
  PORTB &= ~(0x06);	
  delay(1);	
}

Resource