maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   The Other Half (https://talk.maemo.org/forumdisplay.php?f=59)
-   -   Jolla OtherHalf OLED display / toholed (https://talk.maemo.org/showthread.php?t=92239)

kimmoli 2014-01-01 19:55

Jolla OtherHalf OLED display / toholed
 
SOLD OUT


************************************************** ********************************


http://talk.maemo.org/images/icons/icon2.gif Short video at Youtube

Latest pictures, click here



The OLED display is mono gray-white'ish (not blue as seen on some photos)
Size of the display is 0.96" with resolution of 128x64

It has proximity sensor to switch it off when TOH facing down or in your pocket. (has also ambient light sensor which might be used to control brightness (dimm when dark) )

It is controlled by daemon (systemd service) which is installed automatically from Jolla Store like ambience.


Thank you to you all for being so supportive on this project!





http://talk.maemo.org/image.php?u=69440http://talk.maemo.org/maemo/images/s...ser_online.gif Kimmoli



(As already started in http://talk.maemo.org/showpost.php?p...&postcount=232 moved to own thread)

Hooked up an OLED display to Jolla

my I2C probe shows green at 0x3C:
https://lh4.googleusercontent.com/-T...0101171553.png

Modified my app a little
https://lh6.googleusercontent.com/-v...0101191722.png

and sent some text on the display
https://lh4.googleusercontent.com/-J...o/14010002.jpg

And with some more coding, i'm now at this point: watch in Youtube

The display is this here: datasheet
e.g. from Aliexpress

(ordered some bare white ones for the final prototype)

Modified the display by removing the 3.0V regulator, replaced it with silly resistor divider to generate 1.8V logic supply (needed because I2C is 1.8V)

Interface uses ioctl to talk over i2c
Code:

file=open( "/dev/i2c-1", O_RDWR )
ioctl( file, I2C_SLAVE, 0x3c)
write(file, buf, len)


Daneel 2014-01-01 20:14

Re: Jolla OtherHalf OLED display
 
This is great stuff, keep it up :)
Must be fun tinkering with the Jolla

Mikkosssss 2014-01-01 21:19

Re: Jolla OtherHalf OLED display
 
Very nice. Missing N9 LPS on my Jolla. :(
I want make this someday when I have time with keyboard ofc. :)

48GX 2014-01-01 21:45

Re: Jolla OtherHalf OLED display
 
Great work :)

http://img14.imageshack.us/img14/8944/s9zo.jpg

I disassembled the Jolla to know more about it :)

regards

minimos 2014-01-01 22:38

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by 48GX (Post 1402857)
Great work :)

http://img14.imageshack.us/img14/8944/s9zo.jpg

I disassembled the Jolla to know more about it :)

regards

Very interesting!
So, there are seem to be two more contacts in the middle of the body (near +5V and GND contacts) and four contacts on the bottom parts that are not emerging to the surface.
Did you notice if there was some corresponding contact on the inner side of the black cover you removed (probably for some antenna) or are they only test/diag points?

Wonko 2014-01-01 22:57

Re: Jolla OtherHalf OLED display
 
This is very cool work. :)

Would be interesting if this or something similar also works with e-ink/epaper displays.

By the way, do you know how much power this setup draws?
Maybe even how the power consumption is split up between the display and the i2c controller?

Personally, I'd love to have something like this just with an e-ink/epaper display (in order to not drain the battery too much).

Edit:
A quick google revealed this:
http://www.youtube.com/watch?v=E05Azzcz5yg
http://www.youtube.com/watch?v=qPaNMrFXsqM
So, it looks like e-ink should be possible too.

Edit2:
Some more links:
http://repaper.org/reference.html
http://www.embeddedartists.com/produ..._27_epaper.php
http://www.watterott.com/de/27-Inch-E-Paper-Display

Edit3:
Another interesting keyword seems to be "chip on glass".
These things are said to be very flat and come with an i2c chip built-in.
http://www.amazon.co.uk/glass-displa.../dp/B006GE8I8U

kimmoli 2014-01-02 00:30

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by Wonko (Post 1402872)
Would be interesting if this or something similar also works with e-ink/epaper displays.

I have done one project with kindle epaper display, and it did need lots of strange voltages, (e.g. +/-15) and somewhat complex interface, maybe easiest to have small processor to manage the drawing to the display itself (arduino tjsp) and just pass image over the i2c.

pros for eINK is to have zero power consumption, and even if having additional cpu for drawing, it needs to be powered on only when updating the screen.

I have also this BADGEr and it is good reference design. maybe worth trying someday with Jolla.
https://lh6.googleusercontent.com/-m...o/13090035.jpg

This OLED has actually SSD1306 controller as COG (chip on glass) on it. The PCB where it is connected has only stepup converter which makes +9.5V for the display, but the SSD1306 has internal charge pump so that is not necessarily needed.


ATM power consumption seems to be about 100mW due my bad 1.8V "regulator" and non-optimized settings.
currently doing test how much it will drop my battery % during night. It should be easily get down to 50mW

HtheB 2014-01-02 00:58

Re: Jolla OtherHalf OLED display
 
now this one rocks!
attach it on the back of a hardware keyboard, and this will be instant win!

kimmoli 2014-01-02 03:45

Re: Jolla OtherHalf OLED display
 
Didn't get sleep, so started to print...
https://lh4.googleusercontent.com/-Z...o/tohprint.jpg

Knowing it is not going to be perfect is sad after first hour, still ~5h to go.

minimos 2014-01-02 06:47

Re: Jolla OtherHalf OLED display
 
Another display that could be interesting to try, depending on the use case, is the Sharp "memory LCD" e.g. https://www.adafruit.com/products/1393 (low power as an eInk and refresh rate as a LCD).
Although strictly speaking it requires a SPI bus.

kimmoli 2014-01-02 07:13

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by minimos (Post 1402916)
Sharp "memory LCD"

I have had to check this out for another project, but no time... Tinkering Jolla has taken it all.

matimilko 2014-01-02 09:01

Re: Jolla OtherHalf OLED display
 
Can't wait to have screen on TOH.
Good Job.
When finished I'll be the first to order one!!!
Thanks.

F2thaK 2014-01-02 09:26

Re: Jolla OtherHalf OLED display
 
wow!..........

Rauha 2014-01-02 09:49

Re: Jolla OtherHalf OLED display
 
Helkutin kuuli projekti.

Get some sleep and post pic of the finished printout.

kimmoli 2014-01-02 09:52

Re: Jolla OtherHalf OLED display
 
quick-test-print complete. It doesn't fit. :( (Modified version of this http://talk.maemo.org/showthread.php?t=92090)
Not deep enough, camera hole is few tenths too close to the top edge.
Have to modify and reprint later.

https://lh3.googleusercontent.com/-7...no/toholed.jpg

(sorry, pic taken with iPotato)

nieldk 2014-01-02 09:53

Re: Jolla OtherHalf OLED display
 
Cool stuff, this is what I call hacking :)

Rauha 2014-01-02 10:24

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1402948)
quick-test-print complete. It doesn't fit. :( (Modified version of this http://talk.maemo.org/showthread.php?t=92090)
Not deep enough, camera hole is few tenths too close to the top edge.
Have to modify and reprint later.

https://lh3.googleusercontent.com/-7...no/toholed.jpg

(sorry, pic taken with iPotato)

Just wondering if the plastic from your printer is otherwise sturdy enough for OH?

I mean, if you needed to do fair amount of switching between other halfs. Do the usual 3D printer materials stand lot of wear and tear?

minimos 2014-01-02 10:26

Re: Jolla OtherHalf OLED display
 
Nice!
Q1: How the thickness, do you need some extra mm to accomodate the screen?
Q2: Do you have still the display connected to the i2c contacts with wires & scotchtape, or did you use some springy removable contacts?

droll 2014-01-04 16:16

Re: Jolla OtherHalf OLED display
 
this community is the most hard core mobile community that i know of. easily beats the hackers in the android, ios and windows phone camps!

kimmoli 2014-01-05 11:33

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by Rauha (Post 1402959)
Just wondering if the plastic from your printer is otherwise sturdy enough for OH?

I mean, if you needed to do fair amount of switching between other halfs. Do the usual 3D printer materials stand lot of wear and tear?

Nah. this printer uses crappy PLA which is ok for prototyping.
There are materials that could be used (and printed at home) but intention is to order this from internet when finished e.g. from shapeways.

kimmoli 2014-01-05 11:39

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by minimos (Post 1402962)
Nice!
Q1: How the thickness, do you need some extra mm to accomodate the screen?

Yep. The OLED glass is about 1.6 mm thick, and PCB is 0.8 mm
I have to check what components i need on the board. atm i expect about 2mm increase in thickness.

Quote:

Originally Posted by minimos (Post 1402962)
Q2: Do you have still the display connected to the i2c contacts with wires & scotchtape, or did you use some springy removable contacts?

They are with scotch tape/wire still...
I made a custom pcb that has matching pads for the phone pogo-pins (pins on the phone side have the springythingy)
Pic of first version of board...
https://lh4.googleusercontent.com/-w...toh-bottom.png

Dave999 2014-01-05 12:11

Re: Jolla OtherHalf OLED display
 
What material did you use for that cover? How did you connect it to the Device.?

Cool **** Indeed!

minimos 2014-01-05 13:11

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1403943)
I made a custom pcb that has matching pads for the phone pogo-pins (pins on the phone side have the springythingy)

Good point. I did not try (yet!) to prod the pins on the phone side, as I thought they were fixed, but they are indeed pogo-pins! Now the price of the Jolla is getting justified :p

kimmoli 2014-01-05 19:46

Re: Jolla OtherHalf OLED display
 
Some progress in sw side too...

Code:

[root@localhost system]# systemctl status toholed.service
toholed.service - The Other Half OLED
          Loaded: loaded (/etc/systemd/system/toholed.service; disabled)
          Active: active (running) since Sun, 05 Jan 2014 21:36:23 +0200; 7min ago
        Main PID: 2877 (toholed)
          CGroup: name=systemd:/system/toholed.service
                  └ 2877 /home/nemo/test/toholed


kimmoli 2014-01-06 23:26

Re: Jolla OtherHalf OLED display
 
Update.

SW
I have now achieved writing a service/daemon which is on D-Bus systemBus, and managed to configure policies so that it can own a name and be communicated with. Also configured systemd to start it at boot.

Now i can access the rear I2C bus and V33 output through D-Bus from normal application without starting it as root.

HW
I think i will do board as FPC - then i can keep height in minimum.
Thickess increase should be ~1.5mm, which is thickness of OLED glass.

HtheB 2014-01-07 00:21

Re: Jolla OtherHalf OLED display
 
what about battery life?

kimmoli 2014-01-07 18:07

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by HtheB (Post 1404409)
what about battery life?

No update on that yet...

kimmoli 2014-01-08 01:40

Re: Jolla OtherHalf OLED display
 
Help...Hjälp...Apua...

Can someone dig/hack/design/suggest me a font to show big time on the screen? There is space of 128x48 pixels.
Numbers 0..9 and : needed. Preferably fixed width of ~28 pixels, 16 px for : .

Height max 48. (Width adjusted to what looks nice)

something like this:

23:56
28+28+16+28+28

in 32-bit hex words arranged to table, right aligned (leftmost 4 msb bits wasted.) one word/pixel row of character.

There is 128x16 free space below, but i think there could be notification icons tjsp,

Silwer 2014-01-08 06:13

Re: Jolla OtherHalf OLED display
 
I do not know what font is used on N9, but that looks good.

herdem09 2014-01-08 06:37

Re: Jolla OtherHalf OLED display
 
I can suggest using fixed-width fonts. Otherwise arranging spaces between characters might be problematic.

For example with fixed-width courier new font:
http://imgim.com/5054incii7716653.jpg

minimos 2014-01-08 06:53

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1404675)
Can someone dig/hack/design/suggest me a font to show big time on the screen? There is space of 128x48 pixels.
Numbers 0..9 and : needed. Preferably fixed width of ~28 pixels, 16 px for : .

Did you have a look at the various graphics libraries available to support OLED in Arduino projects? I bet there should be some alarm clock project that uses nice big digits.

thedead1440 2014-01-08 07:55

Re: Jolla OtherHalf OLED display
 
Inconsolata? It was functional when I used wolke's qtbigtext on my N9...

kimmoli 2014-01-08 08:02

Re: Jolla OtherHalf OLED display
 
I did some search on arduino projects, but only one was looking promising,,,

Quote:

Originally Posted by thedead1440 (Post 1404707)
Inconsolata? It was functional when I used wolke's qtbigtext on my N9...

http://levien.com/type/myfonts/inconsolata.html
hmm...

kimmoli 2014-01-08 12:14

Re: Jolla OtherHalf OLED display
 
Just got the white oled displays...

https://lh4.googleusercontent.com/-b...140108_004.jpg

droll 2014-01-08 13:09

Re: Jolla OtherHalf OLED display
 
http://www.markinns.com/images/artic...cd-numbers.png

lcd styled fonts for that retro look. or use fonts from the old casio watches or TI calculators.

Mikma 2014-01-08 14:31

Re: Jolla OtherHalf OLED display
 
FixedSys. It has stolen my heart with putty.

pichlo 2014-01-08 15:10

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by droll (Post 1404782)

"I see you are attempting to use images directly off my server. Since I pay for the bandwidth, I've decided not to give you a free ride."

I see you are trying to be funny. Since I don't have time for that kind of jokes, I've decided not to visit your web site.

ggabriel 2014-01-08 15:17

Re: Jolla OtherHalf OLED display
 
Quote:

Originally Posted by pichlo (Post 1404819)
"I see you are attempting to use images directly off my server. Since I pay for the bandwidth, I've decided not to give you a free ride."

Well... the proper page can always be linked, not sure why it hasn't, and you just force refresh and see the image :-)

droll 2014-01-08 15:41

Re: Jolla OtherHalf OLED display
 
1 Attachment(s)
i downloaded it and uploaded it here. have a look.

kimmoli 2014-01-08 15:57

Re: Jolla OtherHalf OLED display
 
there is a 'bug' in number 7...


All times are GMT. The time now is 01:08.

vBulletin® Version 3.8.8