Code Monkey home page Code Monkey logo

ppk_usb's People

Contributors

cy384 avatar hryamzik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ppk_usb's Issues

Error uploading

cy384,

Found this great post on github and am trying it out. I 3D printed the parts (fits nicely) and am ready to upload the code. I want to test it on an Arduino Uno first before purchasing a Leonardo and maybe that is my problem. I was hoping that I could connect the Arduino Uno to my tablet and see how well it works, it has a USB port and built in serial communication like the Leonardo.

When I upload the code (changed to Palm V) I get the following errors... looks like it doesn't like the config keymap functions. Board in Arduino IDE is Arduino Uno, and programmer is USBtinyISP (I never change this setting)

Palm_Keyboard.ino: In function 'void config_keymap()':
Palm_Keyboard:87: error: 'KEY_LEFT_GUI' was not declared in this scope
Palm_Keyboard:107: error: 'KEY_CAPS_LOCK' was not declared in this scope
Palm_Keyboard:108: error: 'KEY_TAB' was not declared in this scope
Palm_Keyboard:109: error: 'KEY_LEFT_CTRL' was not declared in this scope
Palm_Keyboard:120: error: 'KEY_LEFT_ALT' was not declared in this scope
Palm_Keyboard:139: error: 'KEY_BACKSPACE' was not declared in this scope
etc...
for all key_map in both functions: 'void config_keymap()' & void config_fnkeymap()'

Please help.

Thanks

Any way to debug?

Hi @cy384!

I've connected everything exactly as you've described and it doesn't work. Should the board always appear in the system as "Leonardo" or should there be a different name in a keyboard mode?

keyboard.h

I finally sat down to finish this project and it went about as smooth as could be. So thanks for all your work!

The only issue I had with Arduino 1.8.5 and building for a Pro Micro (ish, from ebay) I had to add:
#include <Keyboard.h>
just after the SoftwareSerial include to get it to compile. After that, I was able to upload the sketch and type this out on my old Palm keyboard.
ppk1
ppk2

Sometimes works on computer, Not on tablets

Dear cy384,

I was successful in making the adapter. I have gotten the palm keyboard to work on my WinXP and Win7 machines, however, it's not always successful... Very first time plugged into my WinXP machine USB port it worked perfectly, but when I unplugged it and plugged in back i, it doesn't work. Computer makes the sounds of added USB item and says ready to use but the keyboard doesn't work. Unplug, plug and repeat... no go. Finally, I plugged it in and grounded the Reset pin with a paper clip and released, now it works (until I unplug and replug again). (Any time is is plugged in the micro controller has the led light on). I know when it working because the red led with flash with each keypress.

Next issue is I can't get it to work with my tablets. A normal keyboard will work just fine (no powered USB hub needed) but for some reason the tablets won't see the Leonardo device. Driver perhaps? Tried on 3 different tablet models/manufacturers. Any thoughts here? This is why I made it in the first place.

Awesome work on your part. Thank you for posting it and help.

-Allen

Keyboard stuck most of the time on "waiting for keyboard serial ID..."

Hello. I've been using a german version of palm keyboard (V version) for a while now, and some time ago the keyboard stopped getting recognized on my android phone. Sometimes replugging the adapter worked, but lately it doesn't work at all.

I tried placing something in the while loop, to prevent my phone from going to low-power otg mode, but to no avail.
Very rarely, recompiling fixes the issue, but only for one launch.

As far as I can see, everything seems to be soldered on correctly, but could it be the cat.5 wire fault? It looks flimsy. I could switch it to some silver-plated copper wire, but I don't want to potentially waste it.

Have to Constantly Reflash

Hello,
I recently built the usb adapter for the ppk but my one issue is that the only way to get it to register keypresses is by reflashing the Arduino every time I want to use it. Would you know why that might be? I tried debugging with arduino ide but I saw nothing.

for Handspring

I tried for Palm3 and Palm5 keyboards as like below. They works well.
https://github.com/milestogo/qmk_firmware/tree/master/keyboards/converter/palm_usb

But I also try to make Handspring one, it is not works well, no keyboard signals goes to PC.
I use ProMicro with self compiled firmware, wired like this from this information:
Handspring: [VCC/TXD, NC, NC, NC, GND, NC, NC, RXD]

ProMicro Handspring
2 1(VCC/TXD)
3 8(RXD)
GND 5(GND)
On ProMicro, 10kohm register connects between 3 to GND for pull-up.

If you have any ideas about Handspring devices, thanks in any advice.

Unable to upload to Pro Micro

Hello, I hope you can shed some light on the issue that i'm having. I bought a knockoff from aliexpress

https://www.aliexpress.com/item/New-Pro-Micro-ATmega32U4-5V-16MHz-Replace-ATmega328-for-Ar-Pro-Mini/1859136734.html

It identifies itself in IDE as Arduino Leonardo, but once i try to upload the file, it comes back with a
"KEY_LEFT_GUI" not declared in this scope. Basically the same issue you already had reported by somebody else, so I tried your debugging file (nokeyboard), and....that works. Do you have any ideas as to why I'm experiencing this issue, is the knockoff to blame or? The board looks damn near identical to the one you used. Thank you in advance, hope you can help me out.

Possible Updates?

hi i have been following your work. Might it be possible for you to help port this code to leonardo?
Also i am using landware gotype keyboard for pam III? can you help?

Making it work on ATMega328

Do you believe this should work on a 328? I can get them for 6USD where I am and the 32u4 costs 24USD.
It seems able to work as a HID device and has software serial compatibility

can I use the original palm connector

Hi I'm very interested in reviving my PPK from the brick-like hibernation it's been in since I upgraded from a Palm V to a Tungsten oh many moons ago. But I don't have access to a 3D printer.
I do still have my Palm V that the keyboard worked with. Can I pull out it's connector and use it instead?

Pin 15 non-existent on arduino Leonardo

Hi
I have an original arduino leonardo which I'll try to use to test this with my v3 PPK.. thing is I have up to Pin 13. Following this:

MISO, MOSI and SCK:
First there is an SPI header on the Leonardo board. The pins connected to the SPI header are MISO (PB3), MOSI (PB2) and SCK (PB1). If you want to use them as I/O pins here is a secret. You can use them same as any other digital pin on Leonardo. Use the corresponding digital pin number:
MISO as digital pin 14
MOSI as digital pin 16
SCK as digital pin 15

I get that I should use the SCK pin (upper middle) on the SPI header
Thanks

HP Pocket PC version?

I used to have one of these keyboards for my old palm pilot, but somehow it got lost. I just picked up one of these stowaway keyboards, but it was built for Pocket PC, Windows key and all (P/N PA820). I'm planning to convert mine into a general purpose usb-c keyboard, but I found an image on the web that makes me wonder if I could do the conversion without an Arduino:

https://newatlas.com/thanko-full-size-usb-folding-keyboard/14897/

download

This is definitely the same keyboard, but if you take a look at the pictures, one shows a usb cable attached. I'm wondering if I remove that panel, perhaps there is a ready-for-usb circuit I can attach to? If so, this could greatly simplify the conversion process for all stowaway keyboards.

Wish me luck!

Bluetooth connectivity

Hello! Thanks for sharing this cool mod! Have started to fiddle with electronics, found a PPK at the flea market, googled for an adapter and was happy to find your mod. Am thinking about doing it and was wondering about the possibility of BT connectivity with new BLE-equipped 32u4 boards like the Adafruit Feather 32u4 Bluefruit LE. It seems possible, but without any experience with Arduinos and not much knowledge in electronics and programming, would it be too much of a hassle/hard and too much for a beginner to get this working via bluetooth? Would it need for example power on/off buttons and such? Will be doing it anyway with or without the bluetooth and am ready to put some work into it as a learning experience.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.