[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

So I have a small keyboard that was made as an external keyboard

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 4

File: compaqipaq3800keyboard6.jpg (9KB, 310x262px) Image search: [Google]
compaqipaq3800keyboard6.jpg
9KB, 310x262px
So I have a small keyboard that was made as an external keyboard for a PDA, and I need it to connect to a raspi somehow (USB/other serial signal). It's a "Folding iPaq Keyboard G750", and opening it up reveals that it has VCC, GND, and data connections. USB has two data lines, positive and negative, but would it potentially be possible to send a single data line through it? It'd be through the positive line, I'd assume?
>>
USB is a complicated business, and the PDA is old, so it likely doesnt speak USB. much more likely it's proprietary, or it could be PS2, tho it requires an extra line for a clock.
>>
File: ipaq_12p.jpg (191KB, 1024x889px) Image search: [Google]
ipaq_12p.jpg
191KB, 1024x889px
>>1080741
>>1080729
It's not USB. I used to have one of those HP Ipaqs. They're USB slave only. They can be connected to a PC through USB but you can't connect keyboards, mice,etc to them through USB.

The cradle connector also had an RS232 port which must be what your keyboard goes through. You should be able to connect it to the RPI through it's UART. I'm pretty sure it was full 12v RS232, so you'll need a MAX232 chip and a few capacitors to level shift to TTL RS232.
>>
File: FKDGBTJIQV7OUGW.LARGE.jpg (58KB, 1024x576px) Image search: [Google]
FKDGBTJIQV7OUGW.LARGE.jpg
58KB, 1024x576px
>>1080741
This is the connection, it has a single data line. The one I have doesn't have those components, it instead has two melf diodes.
>>
>>1080752
Oh, good, I was hoping uart or i2c was an option. I wouldn't think I'd need 12v, tho, the keyboard itself is like 3v or something
>>
>>1080756
The RS232 output is probably using 12V=0 0v=1 since that's the standard. It doesn't matter that the device runs at 3V; RS232 ports have hardware to switch up the voltage. A RPI's UART can only LVTTL-RS232. That's where 3.3V=0 0v=1. You need a MAX232 chip to do the level conversion.
>>
>>1080795
Ah.

Honestly I'm wondering if I should simply remove everything above the ribbon cable and matrix it myself.
It looks like everything's feeding into a em78p447sam controller so I don't really know if i wanna fuck with that that much. What do y'all think?
>>
>>1080987
There should be an RS232 level shifter on the keyboard. Connect to the input of that and you'll get a signal that can go directly to the rpi UART.
>>
File: SKU075669aa.jpg (21KB, 600x600px) Image search: [Google]
SKU075669aa.jpg
21KB, 600x600px
>>1080729
Iirc the iPAQ used a serial protocol for the keyboard. The USB connection happened in the cradle itself, not in the iPAQ. Try using one of those knockoff saleae analyzers from china like pic related. You should be able to see enough to decode the keyboard output.

I've got some version of pic related, and it works fine under sigrok


Look for in logic analyzer. Should be $10 or less.
Thread posts: 9
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.