New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Quiz: Joystick para Arduino

Quiz

Played 10 %Accuracy 47 Average time 04:28

About this activity

Prueba de Joystick y LEDs

Created by

Colombia

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Quiz: Joystick para Arduino
 

Quiz: Joystick para ArduinoOnline version

Prueba de Joystick y LEDs

by Sandra Constanza Rubiano
1

¿Qué pin se usa para leer la posición en X del joystick en Arduino Nano?

2

¿Qué valor devuelve el joystick cuando no está pulsado y al pulsarlo?

3

¿Qué pines se conectan a los LEDs según la guía?

4

¿Qué pin del joystick se usa para el botón (SW)?

5

¿Qué función se usa para convertir valores analógicos de X de 0-1023 a PWM 0-255?

6

¿Qué función escribe la intensidad de un LED según el joystick?

7

¿Qué lectura se usa para conocer la posición del eje Y?

8

¿Qué dirección del circuito se conecta el GND del joystick?

9

¿Qué valor debe leerse para detectar si el botón está presionado?

10

¿Qué componente limita la corriente de cada LED en el montaje?

Explicación

Se conecta el eje X a una entrada analógica, por ejemplo A0.

El pulsador funciona como un simple botón: 0 quando no pulsado, 1 cuando sí.

LEDs conectados a D13, D12 y D11 con resistencias.

SW del joystick va a un pin digital, por ejemplo D2.

map transforma el rango analógico a PWM.

analogWrite controla PWM para LEDs.

Eje Y conectado a A1 según la guía.

GND del joystick va a GND del Nano.

Se utiliza digitalRead para el estado del botón.

Cada LED lleva una resistencia de 220 Ω para limitar corriente.

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.