mos_8502 :verified: on Nostr: Soon I need to design a keyboard adapter for the controller port. It's not too ...
Soon I need to design a keyboard adapter for the controller port. It's not too complicated -- I need to use three pins on an Atmega to emulate a 16-bit shift register, returning two-byte packets representing the modifier keys and next key scan code in the buffer, while also reading an actual keyboard - for simplicity, a PS/2 keyboard for now. So it will need a PS/2 port, a SNES controller cable, an ATMega with at least five GPIO pins, and a 3.3V-to-5V boost converter to power the keyboard.
Later on, I would prefer a USB keyboard adapter. Not entirely sure which MCU would be most suitable to that. RP2040 maybe? Not really my area -- would love someone to volunteer for that if it interested them.
#Sentinel65X
Published at
2024-06-13 05:04:03Event JSON
{
"id": "485316205898ed9d37a99db9e9ebfbe3719fe1b359cff1cac51ae981f3b039c7",
"pubkey": "04f8915424c713657ad6ce59443d28dbdcf5832687c9af560ae388f59276a137",
"created_at": 1718255043,
"kind": 1,
"tags": [
[
"proxy",
"https://studio8502.ca/@mos_8502/112607562556051112",
"web"
],
[
"t",
"sentinel65x"
],
[
"proxy",
"https://studio8502.ca/users/mos_8502/statuses/112607562556051112",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://studio8502.ca/users/mos_8502/statuses/112607562556051112",
"pink.momostr"
]
],
"content": "Soon I need to design a keyboard adapter for the controller port. It's not too complicated -- I need to use three pins on an Atmega to emulate a 16-bit shift register, returning two-byte packets representing the modifier keys and next key scan code in the buffer, while also reading an actual keyboard - for simplicity, a PS/2 keyboard for now. So it will need a PS/2 port, a SNES controller cable, an ATMega with at least five GPIO pins, and a 3.3V-to-5V boost converter to power the keyboard.\n\nLater on, I would prefer a USB keyboard adapter. Not entirely sure which MCU would be most suitable to that. RP2040 maybe? Not really my area -- would love someone to volunteer for that if it interested them.\n\n#Sentinel65X",
"sig": "1f5e18f7a44061cecbcdbcf5c4c00dbd789e75884a4d86c4f767cbcd865fdf8349d9ea209ac350dc02a6e7c30072f0c347e3c6a46ede4bd7b7d57cc4b6fd0dd8"
}