deckle studio
Editor öffnen
Mixed-Signal-Verhaltensmodellps2_keyboard

PS/2-Tastatur (deine Tastatur)

A PS/2 keyboard on its mini-DIN socket (VCC, GND, CLK, DATA): while the simulation runs, it is your real keyboard. It clocks its scan codes (set 2) itself at 12.5 kHz on the open-collector lines and answers the host's commands (reset, LEDs, typematic rate, identify). The host pulls CLK and DATA up (4.7–10 kΩ). A microcontroller that reads the lines through its own logic (ESP32 ULP with FabGL) gets them directly; the pins show them sampled at the simulation step.

VCCCLKDATAGNDPS/2 keyboard
Schaltplansymbol

Wichtige Daten

Kategorie
Schnittstellen
Simulationsmodell
Mixed-Signal-Verhaltensmodell
Referenzpräfix
KB
Pins
4

In diesen Beispielen 1

Simulationsmodell

Ein Verhaltensmodell bildet die Schnittstelle des Chips (Register, Protokoll, Timing) an seinen Pins nach. Die Pins sind wie CMOS-Pins mit der Analogschaltung verbunden.

Modell
ps2_keyboard
Versorgungspins
VCC / GND

Pins 4

PinNameVerwendung
VCCVCCVersorgungVersorgungseingang: mit 100 nF nah am Pin abblocken
CLKCLKEin-/AusgangAllzweck-I/O: LEDs (mit Vorwiderstand), Taster (mit Pull-up)
DATADATAEin-/AusgangAllzweck-I/O: LEDs (mit Vorwiderstand), Taster (mit Pull-up)
GNDGNDMasseMasse

Leiterplatte

Kein Land-Pattern: das Bauteil wird nicht auf die Leiterplatte gesetzt.