¿Aún no es miembro de TradeKey.com? Regístrese para conectarse con 9 millones de importadores y exportadores a nivel mundial.
registro |
BOOK A CALL
Book Call On Your Favorite Time

By Signing Up. I agree to TradeKey.com Terms of Use, Privacy Policy, IPR and receive emails related to our services

Contact Us
product
Prev
Joystick Module for Sensor Shield Module 1 Arduino Compatible
Next

Joystick Module for Sensor Shield Module 1 Arduino Compatible

|

- Minimum Order

País:

China

N º de Modelo:

-

Precio FOB:

Lugar de origen:

-

Precio de pedido mínimo:

-

Cantidad de pedido mínimo:

-

Detalle de embalaje:

-

El tiempo de entrega:

-

Capacidad de suministro:

-

Tipo de pago:

-

Grupo de productos :

Contactar ahora
Miembro Básico

Persona de contacto Mr. Wilson

6-703, FUYUAN COMMUNITY, YUFU ROAD, LONGGANG DISTRICT, SHENZHEN, CHINA, Muping, Sichuan

Contactar ahora

Especificaciones del producto

Descripción del producto

JoyStick Module For Sensor Shield Module *1 (Arduino Compatible)
On the principle, the control rod can be considered that it is organized by the two potentiometer and a
Two of the value of potentiometer are respectively to show the user offset in the X and Y axis, and the type of offset is analog; The is used to show whether the user push down in the Z axis, its type is the digital quantity. Therefore the control rod contain a total of three interface which are used to connect X, Y, and Z
When using, it can connect with Arduino sensor shield, and connect Arduino corresponding pins through Arduino sensor cables. In the example below, the X axes and Y axes are respectively link to the analog A1 and A0, and Z axis is connected to the digital I/O 7 pin.
The corresponding code shown below:
Int sensorPin = 5; Int value = 0; Void setup() { pinMode(7, OUTPUT); Serial. Begin(***0); } void loop() { value = analogRead(0); Serial. Print("X: "); Serial. Print(value, DEC); Value = analogRead(1); Serial. Print(" Y: "); Serial. Print(value, DEC); Value = digitalRead(7); Serial. Print(" Z: "); Serial. Println(value, DEC); Delay(**0); } Referring Sample Code: Int JoyStick_X = 0; //X int JoyStick_Y = 1; //y int JoyStick_Z = 3; //key void setup() { pinMode(JoyStick_X, INPUT); PinMode(JoyStick_Y, INPUT); PinMode(JoyStick_Z, INPUT); Serial. Begin(***0); // ***0 BPS } void loop() { int X, y, z; X=analogRead(JoyStick_X); Y=analogRead(JoyStick_Y); Z=digitalRead(JoyStick_Z); Serial. Print(X, DEC); Serial. Print(", "); Serial. Print(y, DEC); Serial. Print(", "); Serial. Println(z, DEC); Delay(**0); }

País: China
N º de Modelo: -
Precio FOB: Obtener el precio más reciente
Lugar de origen: -
Precio de pedido mínimo: -
Cantidad de pedido mínimo: -
Detalle de embalaje: -
El tiempo de entrega: -
Capacidad de suministro: -
Tipo de pago: -
Grupo de productos : arduino board and accessories

Send a direct inquiry to this supplier

A:

Mr. Wilson < WWW_ELECHOUSE_COM >

quiero saber: