Mac68k Forums

Home


Welcome, Guest
Guest Settings
Help

Mac68k Forums » Development » Hardware Hacking

Thread: ADB Hacking


Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Pages: 1 - Last Post: Sep 13, 2012 6:23 PM Last Post By: landonf
landonf


Posts: 86
Registered: 7/23/12
ADB Hacking
Posted: Jul 27, 2012 2:09 PM
Click to report abuse...   Click to reply to this thread Reply
As a means of starting small, I was thinking about starting with
peripheral protocols such as ADB. One thing that's been on my mind for a
while now is updating of input devices. I love the old mice, but I don't
love the cords.

For my old game hardware, I've been looking into supporting wireless
controllers, using the ps3 bluetooth axis as a baseline. For the Macs,
it might be fun to modify existing mice for wireless operation, starting
with first bridging ADB to an existing BT mouse, and then (possibly)
looking at actually modifying an existing ADB mouse.

As an initial reference, https://github.com/tmk/tmk_keyboard#readme
provides AVR implementations of various keyboard drivers, including ADB.

For a first pass, I'd like to drive keyboard or mouse input directly
from an MCU. From there I could look at actually integrating a bluetooth
HID host. It looks like BlueGiga's iWRAP4 firmware doesn't support host
mode, so the best bluetooth module firmware to use here is an open
question. It would be preferable to not have to run our own bluetooth
stack on the MCU, but not necessarily out of the question.

First step is to pick up some 4-pin Mini-DIN connectors, ala
http://www.digikey.com/product-detail/en/MD-40/CP-2040-ND/96912

I've got plenty of 8-bit AVRs lying around, which should be more than
sufficient for this first-pass.
landonf


Posts: 86
Registered: 7/23/12
Re: ADB Hacking
Posted: Jul 30, 2012 2:06 PM   in response to: landonf in response to: landonf
Click to report abuse...   Click to reply to this thread Reply
Via bbraun, Microchip documentation and PIC source code for implementing
ADB:

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011062
landonf


Posts: 86
Registered: 7/23/12
Re: ADB Hacking
Posted: Aug 13, 2012 12:42 AM   in response to: landonf in response to: landonf
Click to report abuse...   Click to reply to this thread Reply
In retrospect, a Mini-DIN female socket and a S-video cable might have been the smarter route, but I guess this works:

tt


Posts: 145
Registered: 8/25/12
Re: ADB Hacking
Posted: Sep 11, 2012 11:36 PM   in response to: landonf in response to: landonf
Click to report abuse...   Click to reply to this thread Reply
I'm looking forward to any updates in this area. I have not been able to find any libraries or work done to interface to an ADB host for the AVR realm. I've been thinking of ways to convert an ADB mouse to have an optical sensor, and having such a library would open-up the possibility without having to harvest old chips and components.
landonf


Posts: 86
Registered: 7/23/12
Re: ADB Hacking
Posted: Sep 13, 2012 6:23 PM   in response to: tt in response to: tt
Click to report abuse...   Click to reply to this thread Reply
tt wrote:
I'm looking forward to any updates in this area. I have not been able to find any libraries or work done to interface to an ADB host for the AVR realm. I've been thinking of ways to convert an ADB mouse to have an optical sensor, and having such a library would open-up the possibility without having to harvest old chips and components.

I hope to have some code worth sharing shortly, I'll post here with a status update when I do.

Point your RSS reader here for a feed of the latest messages in all forums