Ks0008 keyestudio Joystick Module

From Keyestudio Wiki
Revision as of 11:27, 11 August 2016 by Keyestudio (talk | contribs)
Jump to navigation Jump to search


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