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.
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
| Pin | Name | Verwendung |
|---|---|---|
| VCC | VCCVersorgung | Versorgungseingang: mit 100 nF nah am Pin abblocken |
| CLK | CLKEin-/Ausgang | Allzweck-I/O: LEDs (mit Vorwiderstand), Taster (mit Pull-up) |
| DATA | DATAEin-/Ausgang | Allzweck-I/O: LEDs (mit Vorwiderstand), Taster (mit Pull-up) |
| GND | GNDMasse | Masse |
Leiterplatte
Kein Land-Pattern: das Bauteil wird nicht auf die Leiterplatte gesetzt.