# Waarom lees ik rare waardes af van de joystick ?

**URL:** <https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354>\
**Category:** Nederlands\
**Created:** [October 23, 2025, 1:36pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354 "2025-10-23T13:36:29Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 1:36pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/1 "2025-10-23T13:36:29Z")

</div>

Hoi

IK heb nu een challenge dat ik een joystick moet gebruiken om twee servo's aan te sturen.  
Als ik naar boven of beneden beweeg, moet servo1 gaan bewegen  
Als ik naar rechts of links beweeg, moet servo2 gaan bewegen,

Maar op dit moment geeft de joystick heel gekke waardes terug als ik het lees en ik denk daarom dat de servo's ook niet bewegen.

Iemand een hint wat ik verkeerd doe ?

> **[joyStick\_Challenge\_course - Wokwi ESP32, STM32, Arduino Simulator](https://wokwi.com/projects/445537791084002305)**
>
> Run IoT and embedded projects in your browser: ESP32, STM32, Arduino, Pi Pico, and more. No installation required!

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 23, 2025, 2:41pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/2 "2025-10-23T14:41:19Z")

</div>

> [@roelofw](#):
>
> Maar op dit moment geeft de joystick heel gekke waardes terug

Definieer "gekke waardes". Als ik je wokwi bekijk zie ik waardes 0, 512 and 1023; lijkt me goed.

Als ik de help pagina goed interpreteer zijn dat ook de enige waardes die je kunt krijgen; tussenliggende waardes zijn niet mogelijk.

> [@](#):
>
> Partial movement and touch control are not currently supported. We'd love to see them supported though - so if you are up to the task, there's [an open issue waiting for your love](https://github.com/wokwi/wokwi-elements/issues/62).

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 2:56pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/3 "2025-10-23T14:56:34Z")

</div>

oke

Die had ik niet gelezen.

Dan de vraag waarom de servo's dan niet werken.  
Ik verwacht dat bij 0, 512 en 1023 een andere uitslag van de servo's

---

<div class="post-metadata">

**Author:** ![MAS3](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mas3/32/1013044_2.png) [@MAS3](https://forum.arduino.cc/u/MAS3)\
**Post date:** [October 23, 2025, 3:07pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/4 "2025-10-23T15:07:44Z")

</div>

Je moet niet joystick\_x gebruiken, maar x of y.  
Dat ben ik nog aan het testen maar duurt een halve eeuw op Wokwi, en zoveel tijd heb ik niet.

---

<div class="post-metadata">

**Author:** ![MAS3](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mas3/32/1013044_2.png) [@MAS3](https://forum.arduino.cc/u/MAS3)\
**Post date:** [October 23, 2025, 3:09pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/5 "2025-10-23T15:09:09Z")

</div>

Ah, verder moet je ook de waardes omkeren die je naar je joystick stuurt zodat omhoog ook omhoog wordt en omlaag dan dus omlaag.

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 3:09pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/6 "2025-10-23T15:09:37Z")

</div>

Weet het.  
Dat wachten vindt ik het ook het meest frusterende  
Maar ja, ik heb nog geen betere alternatief gevonden

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 3:13pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/7 "2025-10-23T15:13:20Z")

</div>

@MAS3 hoe is het met je.  
Al heel lang niks van je gehoord

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 3:15pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/8 "2025-10-23T15:15:45Z")

</div>

oke, alles werkt

Denk dat het niet heel veel meer aan te experimenteren is.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 23, 2025, 3:19pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/9 "2025-10-23T15:19:02Z")

</div>

Slordig: Vcc en GND op dezelfde rail.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/e/1/8e1fc711fabb7a6d45e98c215c604e95b3308430.png)

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 3:29pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/10 "2025-10-23T15:29:35Z")

</div>

veranderd en raar dat alles dan wel werkte

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 3:32pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/11 "2025-10-23T15:32:08Z")

</div>

en hoe gaat het met jouw project ?

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [October 23, 2025, 4:10pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/12 "2025-10-23T16:10:23Z")

</div>

> [@roelofw](#):
>
> veranderd en raar dat alles dan wel werkte

wokwi is een simulator. Simulators zijn niet perfect.

> [@roelofw](#):
>
> en hoe gaat het met jouw project ?

Langzaam

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 4:13pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/13 "2025-10-23T16:13:50Z")

</div>

oke

Niemand or niks is perfect

De volgende uitdaging zou zijn om met een DC motor te werken maar het lijkt of wokwi die niet heeft.

Dus het wordt een uitdaging met de 74HC595 chip

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 6:11pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/14 "2025-10-23T18:11:22Z")

</div>

> [@sterretje](#):
>
> > [@roelofw](#):
> >
> > en hoe gaat het met jouw project ?
> 
> Langzaam

Dat is denk ik de enige goede weg.  
Kleine stapjes

---

<div class="post-metadata">

**Author:** ![MAS3](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/mas3/32/1013044_2.png) [@MAS3](https://forum.arduino.cc/u/MAS3)\
**Post date:** [October 23, 2025, 8:48pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/15 "2025-10-23T20:48:49Z")

</div>

Niet zo goed.  
Daarom moet ik mij inhouden hier op het forum en dat vind ik lastig.  
Verder is dit forum niet bedoeld voor deze uitdagingen voor mij dus ga ik daar ook niet op in.

---

<div class="post-metadata">

**Author:** ![roelofw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roelofw/32/1101110_2.png) [@roelofw](https://forum.arduino.cc/u/roelofw)\
**Post date:** [October 23, 2025, 8:54pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/16 "2025-10-23T20:54:15Z")

</div>

oops., dan wens ik je veel sterkte om hiermee om te gaan.  
Weet hoe het is om je te moeten inhouden.

Maar je lichamelijke en/of geestelijke gezondheid is veel belangrijker dan dit forum.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [April 21, 2026, 8:54pm UTC](https://forum.arduino.cc/t/waarom-lees-ik-rare-waardes-af-van-de-joystick/1410354/17 "2026-04-21T20:54:19Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
