Rocker Module for Micro:bit Dual Axis Button XY Gamepad Sensor
Introduction of Rocker module
1. Working principle
The rocker module can be regarded as a potentiometer with two channels, which can output the analog values of the X and Y axes. When moving to the left, the smaller the X value of the output. When moving to the right,the larger the X value of the output. When moving to the up,the larger the Y value of the output. When moving to the down,the smaller the Y value of the output.
The output analog range of the X and Y axes is from 0 to 1023.
2. Practical application
2.1 Game machine rocker control.
2.2 Remote control car control direction.
3. About module
3.1 Rocker module possess 4 Alligator clip port, Corresponding to GND, VCC, Y and X. The X and Y pins are the signal output pins of the rocker module.
3.2 4 pin female socket.
3.3 PH2.0 cable interface.
The default output has both X and Y values of 512.
When moving to the left, the smaller the X value of the output. When moving to the right,the larger the X value of the output.
When moving to the up,the larger the Y value of the output. When moving to the down,the smaller the Y value of the output.
Working Voltage: 3.3V/5V
Paramaters:
VCC: Power supply interface, can be connected to 3.3V/5V
GND: Ground
X: Output the coordinate simulation value in the X axis direction
Y: Output the coordinate simulation value in the Y axis direction
Module size: 29.4*36mm
Package Included:
1 x Rocker Module