Tuesday, September 9, 2014

Nostalgia: Use Palm infrared keyboard with Android phone

I am probably the only person interested in this sort of thing, but in case anybody has an old PalmOne infrared keyboard and for the sake of nostalgia or convenience or whatever wants to use it with a newer device, I wrote up instructions on how to interface the keyboard via Bluetooth.

Talking of nostalgia, doesn't the phenomenon suggest that there is something not quite ideal about our current relationship to the past? The past is really real. So why feel nostalgia, when our past actions and experiences are really real? In heaven, perhaps, our memory will be so vivid that our past lives--transformed in a hindsight illumined by the beatific vision--will be fully present to us.

13 comments:

  1. I really feel nostalgia when I see my old Texas Instruments calculator and my old manual type writer from my college days. Yes the one I had to type 3 page double spaced essays on with three carbon copies. There was a backspace key, but you had to use white out on the original and the carbon copies, wait for it to dry and then type again. Cutting and pasting was accomplished with scissors, tape and re-typing. Then we did all of our computer work with punch cards. That was fun. One typo and you had to re-type the whole card. Then you had make sure all your cards were in the exact order. These cards were kept in the exact order by putting them in computer card boxes. If you were an undergraduate, this card box would be short because your program would be about 200 cards or less. If you were a graduate student you had a very long box which contained a program of at least a thousand cards. You were really screwed if you dropped that and got the cards mixed up because that was your thesis! Then you stood in line at the card reader. Then you fed your cards in. If you missed a typo your printout would tell you and you had to type your punch card all over again and you would get in line for the card reader and run the deck of cards through it again. Or you waited for your job to run. Only then will you know if you had you had a programming error. Trouble shoot error, retype cards, get back in line for the card reader. The good old days! They were so much fun! I miss them!

    ReplyDelete
  2. Hi Dr. Pruss,

    I apologize for my ignorance since I'm not very familiar with a lot of your work. But does your comment "the past is really real" indicate that you hold to a tenseless understanding of time?

    If so, I wonder what the odds of getting you and someone like William Lane Craig (who holds to a tensed understanding of time) into the same room for a debate/discussion on the topic. Part 1 could be which theory is correct, and Part 2 could be how does our understanding of time affect the case for Theism/Christianity.

    Any thoughts? I know you and Dr. Craig are both very busy.

    -Austin

    ReplyDelete
  3. I do think all times are on par reality-wise.

    But Bill Craig surely also thinks the past is really real. That's central to the argument from no-actual-infinity to finite-past.

    ReplyDelete
  4. Dagmara:

    Much more satisfying to delete a line of code by throwing it in the trash, though.

    ReplyDelete
  5. Dagmara:

    Regarding the calculator, I recently gave my daughter my Casio FX-7000G. Apparently it was the first graphing calculator. I got it when I was a year older than she is now. Works great still (needs a paper shim to keep the batteries in place, that's all).

    ReplyDelete
  6. I'm trying to get rid of my iPaq 3950 and the PalmOne keyboard, but something compells me otherwise. Today, the only use I have for the iPaq is to play Commodore 64 games on an emulator put into the SD card - and compatible SD cards from the past are hard to find also! The iPaq takes long time to charge and the battery lasts about one hour gameplay. In other words I am surrounded by Nostalgia :) Maybe I just keep these things as relics.

    Regarding the keyboard, I wonder if there would be a way to tear it apart and somehow attach the keys circuit to a simple usb-keyboard controller and usb cable, like from a cheap usb keyboard. The PalmOne is outdated, but its keys are top quality - hard to find such crafting in nowadays bluetooth keyboards.

    ReplyDelete
  7. You could stick in an Arduino, and bit bang the line going into the IR emitter to read off the data, and then pass the data to USB, either with a USB shield or just bit banging. (I remember seeing an Arduino bit banging USB library on the web.)

    Or you could use an xmega like I did. The xmega can read irDA protocol data very nicely (you can use the code from my Brainlink firmware) and it can pass it off either to a USB shield or a Bluetooth module. The only problem is that if you want a HID module (rather than something that requires special drivers, as in my hack), Bluetooth HID modules aren't that cheap.

    ReplyDelete
  8. Hi can we imagine an app to add irda keyboard to HTC one m8 or other smartphones having irda?

    ReplyDelete
  9. Presumably, yes. The keyboard sends data over irDA, and you should be able to modify my driver to retrieve this data from irDA rather than bluetooth. Source code is here: https://github.com/arpruss/p1keyboard

    ReplyDelete
  10. I thought haven’t read such distinctive material anywhere else on-line.vape phone

    ReplyDelete
  11. I wonder if anybody has modified the P1Keyboard app code such that it would work directly with irDA? Apparently there has been an attempt to make it work with the Symbian operating system (https://developers.slashdot.org/story/03/12/30/016227/irda-keyboard-driver-developed-for-nokia-3650) but as far as I'm aware, nothing for Android. I also happen to have a phone with an infrared blaster (Redmi Note 8T) and an old PalmOne infrared keyboard laying around that I'd absolutely love to be able to use.

    if I wasn't as far from programming as the Earth is from the center of the universe, I'd take it on myself. Alas...

    ReplyDelete
  12. I don't think I can find an SDK for reading IR codes.

    ReplyDelete
  13. https://github.com/OneButtonDeveloper/AndroidInfraRed

    Would this be of any help?

    ReplyDelete