logostem logo

Ritesh test

Winners of the previous Quiz

30/06/2025

lakshya

lakshya

Class 4

lps

Note: Quiz prizes will be awarded to ten randomly selected students who submit correct answers before the deadline. Winners will be declared on the website and the weekly newsletter.

Winner cup

August 05, 2025

Q1.

You’re building a custom game controller that uses potentiometers.  Each joystick contains two potentiometers, one for the x-axis and the other for the y-axis, which allow accurate direction control and smooth maneuvering of the toy plane. 

The custom controller you're building contains two joysticks to manage multiple control functions. This setup requires a total of four potentiometers, for example: 

  • Left X-axis potentiometer –  Controls the toy plane’s up and down movement 
  • Left Y-axis potentiometer – Controls the toy plane’s left and right movement 

  • Right X-axis potentiometer – Moves the toy plane forward and backward  

  • Right Y-axis potentiometer – Retracts and extends the landing wheels 

Wiring Setup 

Each potentiometer in the setup is hooked up like a voltage divider.  

One end is connected to 5 volts (Vcc),  

The other is grounded at 0 V,  

The middle pin,called the wiper,is connected to one of the microcontroller’s analog inputs. 

The microcontroller uses an ADC (Analog to Digital Converter) to convert the voltage from the wiper into a digital value ranging from 0 to 1023, where: 

  • represents 0 V 

  • 1023 represents 5 V 

The Problem 

During testing, you observe that only one of the four potentiometers is working as expected, providing changing analogue values when the joystick is moved producing varying analog readings in response to joystick movement. The remaining three, however, either show constant values or don’t respond at all.  

You suspect there may be a wiring issue with these potentiometers — possibly due to incorrect connections or a faulty setup. 

Based on the potentiometer wiring configurations given below, identify which one is functioning correctly.

Quiz options
Store
Store
Store
Store

June 30, 2025

Frequently Asked Questions