Winkelwagentje

Winkelwagen is nog leeg.

Winkelwagen is nog leeg.
Op voorraad

WayinTop 5 stuks Roterende Encoder Module KY-040 360 Graden Rotary Encoder met Drukknop

5,99€ 11,99€
Gratis verzending bij bestellingen boven 25,99€

Productdetails

  • 【Algemene parameters】Model: KY-040, Bedrijfsspanning: 5 V, Aantal pulsen per beurt: 20.
  • 【Geen beperkt aantal rotaties】De encoder kan het aantal pulsen tellen dat tijdens de rotatie in positieve richting en in omgekeerde richting wordt afgegeven, en deze rotatieaantallen zijn niet beperkt.
  • 【Encodertoets】U kunt de toets op de encoder gebruiken om hem terug te zetten naar de begintoestand, zodat hij weer vanaf 0 telt.
  • 【Toepassing】 Uw beste keuze voor het aansturen van stappen- en servomotoren. U kunt het ook gebruiken om apparaten zoals digitale potentiometers te besturen.
  • 【 Leveringsomvang】5 x KY-040 360-graden roterende encodermodule + 5 x encoder drukknop


Productbeschrijving

WayinTop: Wij willen je werk gemakkelijker en leuker maken!
Specificatie van de encodermodule:
Model: KY-040.
Bedrijfsspanning: 5V
Materiaal: PCB + messing
Stapbreedte: 20 posities/omwenteling
Aansluitingen:
"GND" = massa-aansluiting
"+" = 5 V stroomvoorziening.
"SW" = interrupt voor push-button
"DT" = Encoder Pin B
"CLK" = Encoder Pin A
Uitlezen van de rotatie:
De encoder geeft het signaal voor de rotatie weer op pin "CLK" en "DT". Daarbij is van cruciaal belang welke pin eerst van toestand verandert. Bij rotatie met de klok mee verandert "CLK" eerst van toestand. Bij rotatie tegen de klok in verandert "DT" eerst de toestand.
Gebruik van de knop:
De pin "SW" geeft een high-impuls als de draaiknop naar beneden wordt ingedrukt.
Aansluitindeling:
CLK=[Pin 3]
DT=[Pin 4]
Button=[Pin 5]
+=[Pin 5V]
GND=[Pin GND]
Aansluitindeling:
CLK=GPIO16[Pin 36]
DT=GPIO15[Pin 10]
SW=GPIO14[Pin 8]
+= 3,3 V [pin 1]
GND = massa[Pin 6]
Inhoud levering:
5 x KY-040 360 graden roterende encoder module
5 x Encoder drukknop


didier omnes
1 juli 2025
tres bon produit
fuginic
27 mei 2025
Devo dire che mi sono trovato molto bene con questi componenti. Usati per un progetto di home cockpit non ho avuto nessun tipo di problema.
PinkPandaKatie
6 mei 2025
These rotors work really well for what I need. I had previously been using a rotary encoder I got from Sparkfun which worked, but it didn't have detents like these do. With the rotor in a detent, the rotor "CLK" and "DT" pins are disconnected from ground, so they get pulled to +5v just like "SW" when the button is not pressed. Spinning clockwise by one detent will pull CLK to GND first, then DT to GND, release CLK, then release DT. Counter-clockwise is obviously the reverse: DT low, CLK low, DT high, CLK high.Note that the image shows "5v supply", but all that's connected to is the 3 10k pull-up resistors that are connected to the two rotor contacts and the pushbutton. You could use any voltage you want to, or even swap 5v and ground so the pull-ups become pull-downs and the outputs are active high, or just leave it disconnected if you have external pull-ups.The pushbutton requires a bit more pressure than the other rotor, but it's hard to quantify.I connected all 5 to rotors (15 outputs in total) to a pair of PCF8574 GPIO expanders (with 8 GPIOS each). I connected the "CLK" pin of each to the first expander, and the "DT" pin to the second, then the INT line on both expanders to two GPIOs on the Raspberry Pi which are configured to interrupt on the falling edge - that way, even if there is a delay in reading the I2C bus, it still knows which way the rotor turned.The knobs appear to be anodized aluminum. I brushed the tops of the knobs and painted them with acrylic paint, then coated them with clear nail polish, and they look pretty good :)
niktb
20 maart 2025
What else do you want... Works as per spec... Good for me!
Mel S.
12 december 2024
They work but I'm getting very jumpy readings on all 5 that I have tried so far. Not impressed. Had to revert back to potentiometers to control my servos.UPDATE: After much digging around the forums I found that when connected to an Arduino Nano and used with an interrupt service routine (ISR) function these encoders work quite well. They do have a tendency to "stall" the code if they get hung up halfway between two ticks but it's a rare and minor issue. Decent encoder for the price. I've upgraded my rating from 2 to 5 stars.