Author Topic: Macintosh M0110 USB converter  (Read 76196 times)

0 Members and 2 Guests are viewing this topic.

Offline sanitypotion

  • Posts: 3
  • Location: NY, United States
Re: Macintosh M0110 USB converter
« Reply #100 on: Thu, 06 July 2017, 13:49:48 »
Seems like wrong connection? did you try reverse order of wires and swap DATA and CLK or 5V and GND?

I am laughing at myself now :)) Turns out, when I found those solder points on the main board so long ago, I got CLK and DATA switched. And when I plugged those main board wires in, my brain subconsciously re-switched them. Then, when I was troubleshooting at a time I should have been in bed instead, I never even thought I could have gone wrong in my main board connections! I simply switched two wires on the breadboard and it is now working perfectly with the 4P4C connector--I'd be typing this on it right now if I wasn't too lazy to put it back together first. I should know now that nothing I do is infallible--thanks for your help and for reminding me not to always trust my past self in simple tasks  :thumb:

Offline dothedog

  • Posts: 10
  • Location: San Francisco
Re: Macintosh M0110 USB converter
« Reply #101 on: Wed, 12 July 2017, 22:11:03 »
I'm a little confused at the cross-over/straight problem. So if someone can correct me if I'm wrong that would be very helpful

Using a phone cable:
Facing the keyboard port, the wires from left to right go: black red green yellow. So
black = gnd
red = clock
green = data
yellow = 5v

and the original mac cable would be the same, if black is on the left? Opposite way around if yellow is on the left?

Offline hasu

  • Thread Starter
  • Posts: 2948
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Macintosh M0110 USB converter
« Reply #102 on: Wed, 12 July 2017, 22:54:57 »
Yea, description in first post is a little confusing I'll update it later.
You will know correct wiring in the end if you examine cable with multimeter.

Pinouts of keyboard connector is also same as this.


And see this for difference between hadset cable and Mac one.
https://en.wikipedia.org/wiki/Modular_connector#Data_port
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline dothedog

  • Posts: 10
  • Location: San Francisco
Re: Macintosh M0110 USB converter
« Reply #103 on: Mon, 17 July 2017, 00:30:18 »
http://imgur.com/a/16Fxx

I hope you can make out the wire colors. left to right facing the keyboard: yellow-green-red-black

hid_listen prints out
m0110_send err: 04
m0110_recv err: 01

sometimes 02, 03 randomly

I'm building using rev1 makefile with the current master branch revision.

I believe that the keyboard works. I got the keyboard to spit out random keys without a pullup resistor but I messed up the teensy trying to solder on a pullup resistor, so i got another teensy and tried again. I'm using a chinese teensy clone. I did continuity checks on the plug end and the teensy end and it seems fine, so if there's anything else i can check, that would be helpful.
« Last Edit: Mon, 17 July 2017, 00:32:56 by dothedog »

Offline hasu

  • Thread Starter
  • Posts: 2948
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Macintosh M0110 USB converter
« Reply #104 on: Mon, 17 July 2017, 02:12:39 »
search pull up resistor and learn. It seems you soldered resistor wrongly. you need two resistors on both data and clock btw.
« Last Edit: Mon, 17 July 2017, 05:23:31 by hasu »
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline dothedog

  • Posts: 10
  • Location: San Francisco
Re: Macintosh M0110 USB converter
« Reply #105 on: Mon, 17 July 2017, 22:11:39 »
Ahh yes it should be between VCC and D0 and VCC and D1. I wasn't thinking. Thanks!

Edit: Yup that was it. Typing on my m0110a right now. :). On to getting my IBM Model F XT to work  :))
« Last Edit: Mon, 17 July 2017, 23:11:47 by dothedog »

Offline hasu

  • Thread Starter
  • Posts: 2948
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Macintosh M0110 USB converter
« Reply #106 on: Tue, 18 July 2017, 14:35:24 »
Ahh yes it should be between VCC and D0 and VCC and D1. I wasn't thinking. Thanks!

Edit: Yup that was it. Typing on my m0110a right now. :). On to getting my IBM Model F XT to work  :))

Great!
it would be nice if you keep subscribing this thread to help new comers in trouble.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline jeffooi

  • Posts: 2
Re: Macintosh M0110 USB converter
« Reply #107 on: Thu, 28 September 2017, 04:42:16 »
Hi All (Deep breath) my first post.

I have used a Macintosh Plus shell to house a Raspberry Pi running RetroPi and EMulation station.
I was very keen to get my M0110 keyboard hooked up to the Pi via USB and the converter. However it is not picking up the keyboard. I haven't compiled any firmware or installed anything yet and I am wondering whether you could help a noob like me. Please keep in mind that I know nothing of linix and the last time I compiled something was in the 1990s in something called Turbo C.


Thanks in advance.
Jeff

Offline jeffooi

  • Posts: 2
Re: Macintosh M0110 USB converter
« Reply #108 on: Thu, 28 September 2017, 23:26:56 »
Hi there thanks Shawnmeg for your help, I've got my machine running with my ancient m0110 keyboard now. Next thing will be to work out how to map function keys but that's a discussion for another forum I think :thumb:


Offline PancakeMSTR

  • Posts: 454
Re: Macintosh M0110 USB converter
« Reply #109 on: Sat, 02 June 2018, 02:33:05 »
Hi all,
Trying to convert an M0110 over here. Don't know if I've done anything right, at all, but...anyway. I have a pro micro wired up to the keyboard, and I've got (two) 1.5 kilohm pull up resistors running from/across  VCC to the clock and data lines.

I pulled the git repository and compiled it, seems like it got flashed to the pro micro okay. I tried m0110_usb.hex and the rev1 file in the binary folder.  No output from the keyboard on either. Should I try 5 kilohm resistors or am I doing something wrong? Thanks.
   

Offline hasu

  • Thread Starter
  • Posts: 2948
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Macintosh M0110 USB converter
« Reply #110 on: Tue, 25 September 2018, 21:34:52 »
Current default key mapping on Keymap Editor places Control on Caps lock key because I replaced locking switch of the key with normal one on my M0110 and have used it as Control comfortably. But this is not useful at all for users with stock lockingswitch. I like to make default keymap more useful for many of users as possible.
Current mapping: http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?m0110_usb_m0110a


Now I wonder how M0110/A users place Control key on their keyboard. Can you share your keymap/idea?

With 'dual-role key' function(ACTION_MODS_TAP_KEY) defining Controls on Tab and Enter is my idea so far.
https://goo.gl/YXvTkb


EDIT:
Btw, you can get descrete SKCC short stem switch for locking switch replacement here.
https://www.aliexpress.com/item/SKCC-BJ0001-keyboard-switch-button-switch-reset-switch-micro-switch/32813803943.html
If your M0110A is MITSUMI model you can just remove locking mechanism of the switch easily instead of replacement. It still requires desoldering though.
« Last Edit: Tue, 25 September 2018, 21:47:26 by hasu »
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline supermario802.1

  • Posts: 25
    • tinkerBOY
Re: Macintosh M0110 USB converter
« Reply #111 on: Thu, 04 October 2018, 22:06:50 »
Is the M0110A firmware compatible with both M0110 and M0110A keyboards? Or do I need different firmware for each?

Offline hasu

  • Thread Starter
  • Posts: 2948
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Macintosh M0110 USB converter
« Reply #112 on: Fri, 05 October 2018, 02:15:25 »
Is the M0110A firmware compatible with both M0110 and M0110A keyboards? Or do I need different firmware for each?

Yes, it is compatible.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline liscombc

  • Posts: 1
Re: Macintosh M0110 USB converter
« Reply #113 on: Mon, 10 June 2019, 23:52:42 »
Needing some help here. I have Hasu's converter, but I wanted the converter inside the case. I removed both telephone Jack's and wired it without success.

My understanding is the wiring should be crossed over, as that's how the adapter was positioned. If that's right and I'm crossing the wires then from the keyboard I should have 1-4, 2-3, 3-2, and 4-1?

Offline hasu

  • Thread Starter
  • Posts: 2948
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: Macintosh M0110 USB converter
« Reply #114 on: Thu, 13 June 2019, 16:03:10 »
Needing some help here. I have Hasu's converter, but I wanted the converter inside the case. I removed both telephone Jack's and wired it without success.

My understanding is the wiring should be crossed over, as that's how the adapter was positioned. If that's right and I'm crossing the wires then from the keyboard I should have 1-4, 2-3, 3-2, and 4-1?

I think you are right, TMK M0110 converter is designed for use with phone handset cord(crossover cable).
So TMK M0110 converter 4P4C socket pins(marked as "cross" on current PCB) are:
1 5V
2 Data
3 Clock
4 GND
Note that pins are reversed to socket on keyboard.

You should wire them crossover as you described.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt