![]() |
Re: Building OtherHalf keyboard prototype
Quote:
Seem's that I have to re-wire everything. I downloaded this Kicad and use it instead ExpressPCB. Kicad allows me to make my own components. 3D-Model is in ice until I'm sure about electronics. I just have some body made and unfinished button of 9x7mm size. I've counted that in 13 keys wide and 4 rows high keyboard (with small space between buttons) could fit to Jolla's scales so that It would still have some space to hold on. Also second and third rows have directional buttons at the left side. I got inspiration from E90 and N97. It has directional button where N97 but space around is given for key's that it doesn't bother Qwerty-writing at all like ESC or FN. 3D-model doesn't even have style of grip so let's forget this for a while. So just to make sure: - Rows and Columns doesn't have anything else but diodes at row's side of the component allowing current only from rows to columns. - Reset doesn't lead anywhere cause keyboard will lose it's power when closed. When power is turned on, chip will automatically reset. - SCL, SDA, INT, GND are wired directly to the phone. Manual say's SCL and SDA don't need pull-ups, but then again it say's it otherwise at the part where each pin is introduced. -VCC is connected to...3.3v? 5v and regulator? -LED's will be not used. Those leds are not meant to be as keyboard lights right? i2C could power stronger light-system outside TCA8424 Correct everything I said :D |
Re: Building OtherHalf keyboard prototype
Quote:
5V pin is connected to charger circuit. The DC charger circuitry inside the phone will draw at maximum 1000mA at 5V. The charging is automatically stopped once phone's battery is full. Please note that charging effectively stops if the VIN voltage drops below 4,3V. |
Re: Building OtherHalf keyboard prototype
Quote:
|
Re: Building OtherHalf keyboard prototype
I just thought of couple of scenarios;
In addition to the i2c pins, there's the IRQ pin which was said to be wired in GPIO in the device. Now, as normally it is meant to serve as input line from the peripheral to the device, I assume it can also be programmed to act as output. So, if normally IRQ is pulled up and the peripheral asserts it to zero when it has somethiing to say, could not the master device also assert it to zero to reset the peripheral? (it's no brainer to wire it so in the peripheral end...) Additionally, if have a device that does not create events itself and has no need for signalling the master device I assume that this line could be used as extra data line to potentially double the downlink bandwidth, for example that a display-like peripheral could be refreshed faster... And one thing still, is the Vout pin software controllable, meaning can I power-on/power-off the peripheral easily? |
Re: Building OtherHalf keyboard prototype
Just destroyed E90. It has 125 x 40 mm keyboard in 5 rows without shortcuts. I've tried to see key-matrix but it was insanely high-tech-space-age. Instead of buttons it had small strips of metal hopping on circuit.
E90's mat fit's perfectly and leaves some space for grip and allow's even to reveal camera... at least that's how I figured it out: You lower your keyboard just to take a photo. I loved that keyboard Now I'm wiring it for third time with directional keys at the spot where E90 has them. Instead of a huge enter-key, I'll set enter to the middle of the directional keys. I squeeze 5 rows in to 4. Are you Dirkvl still using N900 -mat. I recommend this one. Diode in each key (in combinations) that causes ghosting solve's the problem. Are you still sure about pull-up-resistors since manual says both: doesn't need and does. Or doesn't need them somewhere else than SDA and SCL. |
Re: Building OtherHalf keyboard prototype
Quote:
Quote:
Quote:
|
Re: Building OtherHalf keyboard prototype
Quote:
Current limitation from that pin is maximum 300mA but 150mA is recommended max current drawn from this pin to avoid any thermal issues. |
Re: Building OtherHalf keyboard prototype
Question probably for rainisto: looking at the back of the device, on the bottom left part the device frame has a black sticker. Is it protecting something? Is so, what?
|
Re: Building OtherHalf keyboard prototype
Quote:
|
Re: Building OtherHalf keyboard prototype
Quote:
(must resist peel it off, must resist peel it off, must... resist... peel it... off... :) ) |
Re: Building OtherHalf keyboard prototype
What a nice Idea. Extra battery of keyboard doesn't have to be connected to I2C. Just bigger one or many in the batteryslot and part of the cover that grips to phone.
Is it wrong to power lights of keyboard straight from the battery with a single switch when keyboard is pulled? |
Re: Building OtherHalf keyboard prototype
Noticed few things, 3.3V is swithed off when the OH switch is released, and when putting cover back on, toh-core (or maybe 'tohd' - the other half daemon?) is looking for at24 eeprom from i2c-1 bus (addresses 0x50 through 0x57.
Devices when OH removed Code:
[root@localhost devices]# lsCode:
[root@localhost devices]# ls[25526.724549] at24 1-0050: 2048 byte at24 EEPROM, read-only, 0 bytes/write [25526.755100] qup_i2c qup_i2c.1: I2C slave addr:0x50 not connected [25526.776220] toh-core toh-core.0: No valid eeprom present any knowledge what toh-core , and what it is expecting to read from this eeprom? |
Re: Building OtherHalf keyboard prototype
Quote:
To make the system "plug and play", every other half contains an eeprom with some configuration data, so that when you plug one, the phone requests that info and then knows what to do : load that driver (for the useful I2C chip along the eeprom), run that program, ... Just and educated guess. To be confirmed by someone from Jolla. Nice finding kimmoli ! |
Re: Building OtherHalf keyboard prototype
Just ordered pcb for my i2c breakout board for jolla (has at24c02, 1.8V LDO for it and i2c level converter to attach also 3.3v i2c devices if/when the support is released within sdk), and printing "myOH" to hold the board in place.
Also just read this http://www.jollausers.com/2013/12/fi...own-to-public/ tempting... i have few wireles charger from dx waiting to be used for something else than supercapacitor-led-lamp-thing-charger. |
Re: Building OtherHalf keyboard prototype
What about TI LM8330TME [/NOPB] ?
http://www.ti.com/lit/ds/snvs839a/snvs839a.pdf Hmm .. scary pins .. must be pressed to pcb .. need more space in TOH .. |
Re: Building OtherHalf keyboard prototype
Made simple i2c scanning app,
https://lh3.googleusercontent.com/-l...1223021017.png and measured that there is i2c available on the bus. https://lh6.googleusercontent.com/-j...no/scope_0.png To get 3.3V out, i need to wait for next update... but my pcb hasn't yet arrived anyway - when it arrives probing will be so much easier. |
Re: Building OtherHalf keyboard prototype
can you send me that app? i could check whether it recignizes the tca8424! will work with external 3.3v right?
|
Re: Building OtherHalf keyboard prototype
Quote:
The app can be downloaded here-> i2ctest You need to start this as root from console, otherwise it doesn't work at all. Select /dev/i2c-1 on first page, then pull down to start scanning. (HB is just a counter testing C++/QML interaction as if you start the app from console when the screen is off, the app doesn't work correctly) It tries just to read from the device without settings the buffer address first. If it works, you should see green box at address 38. When i get my own board from oshpark, i will add some i2c read/write functions to this (piic and diic) All disclaimers will apply |
Re: Building OtherHalf keyboard prototype
Quote:
I already got it installed and running, but the chip is not yet recognized. |
Re: Building OtherHalf keyboard prototype
Quote:
Code:
devel-suCode:
nemo ALL=(ALL) NOPASSWD: ALL |
Re: Building OtherHalf keyboard prototype
|
Re: Building OtherHalf keyboard prototype
Okay, lets get some stuff moving! I need a software man!
Since Sailfish has the I2C_HID driver built into the kernel and the TCA8424 is I2C_HID compliant, it should be do-able to connect the dots. I imagine the phone wants to know that: -what address the chip is on -the chip is a keyboard -it should listen to the interrupt line and then read out the key -key-mapping in the phone? (there is a keyboard mapped on the chip) -pushing the input to Mallit http://nittygriddy.com/wp-content/up...oyote-Help.jpg |
Re: Building OtherHalf keyboard prototype
Okay, no more need of external 3.3v power source!
Vdd on echo 1 > /sys/devices/platform/reg-userspace-consumer.0/state Vdd off echo 0 > /sys/devices/platform/reg-userspace-consumer.0/state Now it really is just a software issue! Feel free to jump in! |
Re: Building OtherHalf keyboard prototype
Quote:
|
Re: Building OtherHalf keyboard prototype
I emailed Developer Care for some help on the software side, hope they can help!
Anyway, I opened a donate account. When I have a proof-of-concept ready in the very near future, I will design and order some development PCB's! They will probably cost some 30-40 euro's a piece. Also I have invested pretty heavily in the TCA8424 and its evalutation module.. :-) |
Re: Building OtherHalf keyboard prototype
$16 AUD donated, more later possibly, thanks for your enthusiasms/passion/persistence...
|
Re: Building OtherHalf keyboard prototype
Donated € 20 for now, will be able to spend more on January. HW Qwerty is now really important thing on Jolla for me, so thanks for your effort so far and keep up the good work!
|
Re: Building OtherHalf keyboard prototype
While I am waiting ducks for either Jolla to release some I2C documentation ór some I2C software expert from tmo, I've been looking into this:
Quote:
|
Re: Building OtherHalf keyboard prototype
now this is something I really wish to be realized, so I am with you! (with 20€ to begin with...)
|
Re: Building OtherHalf keyboard prototype
yaaaaay so much cool progress in the last few days, have a cigar (or 30€)!
|
Re: Building OtherHalf keyboard prototype
This is amazing work and you guys who donate your hard earned money as well :)
I'll try and donate few euro as well :) (wont be much though, my salary is 350 euro a month) |
Re: Building OtherHalf keyboard prototype
I did slip to another project, but good that the i2c probe did find your chip.
Altough offtopic; I just got one OLED display connected to the phone EDIT: MOVED to own thread: http://talk.maemo.org/showthread.php?t=92239 |
Re: Building OtherHalf keyboard prototype
Low power screen is back?
|
Re: Building OtherHalf keyboard prototype
Quote:
|
Re: Building OtherHalf keyboard prototype
Quote:
|
Re: Building OtherHalf keyboard prototype
still searching for someone to help on the software side!
Quote:
The TCA8424 documentation says: http://oi40.tinypic.com/9gy64l.jpg |
Re: Building OtherHalf keyboard prototype
Quote:
I made some googling about this, and found your good questions in various forums :) |
Re: Building OtherHalf keyboard prototype
Yes I have been asking around. I just don't get that when the phone was announced everyone was shouting "qwerty slider!!" and when there almost is a working prototype it becomes very silent :p
|
Re: Building OtherHalf keyboard prototype
Quote:
If I've read it correctly, on a keypress this should happen: -key press -key release -the chip stores the most recent key press -this is stored on input report -the chip sends out an interrupt signal -phone notices interrupt -the phone uses get_report to read the input report -phone read input report -the interrupt signal is killed and input report is cleared by resetting the chip -start over |
Re: Building OtherHalf keyboard prototype
Donated. would be possible to get jolla involved in this?
|
| All times are GMT. The time now is 10:49. |
vBulletin® Version 3.8.8