Welcome! Log In Create A New Profile

Advanced

LCD screen for your dockstar (cheap! <$5)

Posted by petergunn 
Re: LCD screen for your dockstar (cheap! <$5)
April 16, 2011 12:12PM
where to buy a LCD display?
nothing found with google :(
Re: LCD screen for your dockstar (cheap! <$5)
April 16, 2011 09:56PM
Unless I'm mistaken the Coby DP-152 is the best bet at the moment. Lots of them on ebay.
ebay.com coby 152 (They all need to be hacked before they will work with the dockstar.)



Edited 2 time(s). Last edit at 04/16/2011 10:24PM by Twin Star.
fulfisk
Re: LCD screen for your dockstar (cheap! <$5)
April 17, 2011 03:35AM
Here are a few listed:

http://picframe.spritesserver.nl/wiki/index.php/DPF_with_AppoTech_AX206

I found the ones from Dealextreme for around 8 USD the best so far - they have decent colorful TFT screens.
The cheaper ones from Ebay may have CSTN (blurry and bad colours).

Cheers
Expertsetup
Re: LCD screen for your dockstar (cheap! <$5)
April 22, 2011 01:58AM
Hey everyone, I have a dockstar running since last November as SMB/Email/Web/FTP open-arena and mumble server (working on compiling quake 2 hehe).

I'm loving my dockstar and recently ordered a wifi dongle and usb=>VGA adapter but after seeing the resurrection of the digipic key-chain with the dockstar driving it, well I ordered a unknown unit from ebay which seems to have a CDROM but cant be sure until it arrives.

Seems a lot more elegant than driving a spare Nokia 3310LCD with my arduino not to mention the cost advantage of the key-chain if it works out.

Just as soon as it arrives I will report the status but the vendor on ebay is showing more than 300 in stock. If you want to ask the vendor some questions here is a link to the currently active listing:

New 1.5" LCD Digital Photo Picture Frame w key-chain 8MB

Fingers crossed on the key-chain, gonna take some time on a slow boat but meh, well know soon.

Most important you guys are an awesome community. PeterGunn, Rat, all of you have done so much for the key-chain project, I found that years ago and just passed it by thinking it dead no active info. Now there is some real action and it looks like key-chain and dockstar together, that my friends is doubly awesome =] \o/

P.S.
My openarena server is named -=K1LL1NG_F13LD5=- in the master internet servers list if ya wanna jump on a fps game on a dockstar server, be sure to use open arena 0.8.5. I'm thinking a nice dynamic display of game/sever/player stats will be nice on the lcd.
Re: LCD screen for your dockstar (cheap! <$5)
April 23, 2011 08:37AM
Expertsetup Wrote:
-------------------------------------------------------
> New 1.5" LCD Digital Photo Picture Frame w
> key-chain 8MB

I'm thinking that looks like one of the AX203 devices that is not hackable, but there are so many that look the same its hard to tell. Fingers crossed :-)

-PG
Re: LCD screen for your dockstar (cheap! <$5)
April 23, 2011 11:51AM
I was wondering if there's someone out there looking into interfacing these DPFs with a VNC server.
I've modified vnc2dl (https://github.com/quentinsf/vnc2dl/wiki) so far to blit stuff to an AX206 DPF via a vnc4server, I guess the next step would be to look at hacking a simple frame buffer kernel driver so that we can use this as a real monitor, like those DisplayLink devices. For VNC, it might need some more support on the firmware side to support some compression modes and rectangle copying.
Has anyone been doing stuff on the st2205 side?
bastel
Re: LCD screen for your dockstar (cheap! <$5)
April 23, 2011 03:55PM
Framebuffer driver would be best :)
Then it should work with console, x11
For pure console I've seen that there is some different LCD project that supports console, but no graphical stuff like LCD4Linux.
dpffan
Re: LCD screen for your dockstar (cheap! <$5)
April 23, 2011 08:52PM
The parrot df3120 is a 320x240 dpf with 8mb ram and has framebuffer support under Linux. It uses uboot as well, has bluetooth. With sdl vnc client , it would be a good companion to the dockstar and other plug computers.

http://sites.google.com/site/repurposelinux/df3120.
Re: LCD screen for your dockstar (cheap! <$5)
April 27, 2011 12:57PM
petergunn Wrote:
-------------------------------------------------------
> Here is the script and instructions to try and
> generate a hack for a st2205 device that is not
> currently supported by st2205tool...
>

Tried to hack my DP152 but not sure if it is hackable. When I run ./generate-hack.pl /dev/sdc/ hack/m_my_new_hack, I got

Creating hack/m_my_new_hack...
using DA65=/src/cc65/src/da65/da65
using PHACK=/src/st2205tool/phack
Dumping firmware: /src/st2205tool/phack -df fwimage.bin /dev/sdc
..
Firmware dumped.
Splitting firmware into 16k segments...
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 0.00124378 s, 13.2 MB/s
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 0.00035439 s, 46.2 MB/s
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 0.000329405 s, 49.7 MB/s
1+0 records in
1+0 records out
16384 bytes (16 kB) copied, 0.00035327 s, 46.4 MB/s
Locating CMP_VAR1 & CMP_VAR2...
0389->038A
L6DEC:  lda     $0389
        cmp     #$31
        bne     L6DFC
        lda     $038A
        cmp     #$00
        bne     L6DFC

Locating PATCH_AT...
Eeek! expected single match but found 0 - dont know what to do!
Re: LCD screen for your dockstar (cheap! <$5)
April 30, 2011 01:02AM
This is an attractive LCD, but after a brief look through the picframe wiki I see no information on it (yet) is anyone able to confirm/deny if it would work? http://cgi.ebay.com/Smartparts-Portable-2.4in-Digital-Picture-Frame/270732644896?_trksid=p1468660.m2000037#ht_4021wt_1139
Re: LCD screen for your dockstar (cheap! <$5)
April 30, 2011 01:14PM
I don't know this model, but it is likely to be an ARM based one, if it has SD slots. The ARM ones are somewhat easy to access, once you identified the JTAG connector. More recent chips have Serial Wire Debug interfaces instead.
Just buy one, open it up, and show us the guts in high res :-)
Re: LCD screen for your dockstar (cheap! <$5)
May 01, 2011 08:12AM
ordered, will get pics up as soon as I receive it, thanks!
Re: LCD screen for your dockstar (cheap! <$5)
May 02, 2011 01:55PM
BTW, for those keen on hacking, I found something else looking quite cheap:

https://www.dealextreme.com/p/designer-s-2-8-touch-screen-portable-multi-media-player-w-1-3mp-camera-fm-radio-av-out-tf-4gb-47336

If that could be turned into a remote screen, it would be a blast because of the touch screen features.
BTW, this item is likely to have an ARM inside, but I'll know more when I get my hands on it (in 3-4 weeks).
Re: LCD screen for your dockstar (cheap! <$5)
May 02, 2011 07:01PM
Got my Coby 152 today and noticed offset image with lcd4linux hack. This thread is long, but saw mentioned a change in spec file. I noticed the last 2 bytes of the .ASM are just db's of the offsets, and opted to hexedit the last two 4's into 0's and reflash. Also mine did not require change to the is_pictureframe function which checks ID. Looks good now.

@Funtoy1001 Have you tried the already made file at http://picframe.spritesserver.nl/wiki/index.php/Coby_DP-152
Re: LCD screen for your dockstar (cheap! <$5)
May 02, 2011 08:42PM
neutronscott Wrote:
-------------------------------------------------------
> @Funtoy1001 Have you tried the already made file
> at
> http://picframe.spritesserver.nl/wiki/index.php/Co
> by_DP-152

Thanks. I did.
I ran the disassembler and found the code at L6DEC as follow:
L6DEC:  lda     $0389
        cmp     #$31
        bne     L6DFC
        lda     $038A
        cmp     #$00
        bne     L6DFC
        bra     L6E0E



Edited 1 time(s). Last edit at 05/03/2011 07:55PM by funtoy1001.
Re: LCD screen for your dockstar (cheap! <$5)
May 02, 2011 11:46PM
this is a cheap way i think i will try for awhile to read buttons on my Coby DP152

while true; do od -N 1 -j 3998 /dev/sdb | head -1 | cut -f2 -d' '; sleep 1; done

until i whip something up in C
Re: LCD screen for your dockstar (cheap! <$5)
May 03, 2011 03:56AM
hackfin Wrote:
-------------------------------------------------------
> BTW, for those keen on hacking, I found something
> else looking quite cheap:
>
> https://www.dealextreme.com/p/designer-s-2-8-touch
> -screen-portable-multi-media-player-w-1-3mp-camera
> -fm-radio-av-out-tf-4gb-47336
>
> If that could be turned into a remote screen, it
> would be a blast because of the touch screen
> features.
> BTW, this item is likely to have an ARM inside,
> but I'll know more when I get my hands on it (in
> 3-4 weeks).

Darn, looks like the screen faces the wrong way mounting on the Dockstar :-) It would have been really nice if it faces the other way!
Re: LCD screen for your dockstar (cheap! <$5)
May 04, 2011 10:55AM
Anyone has the original firmware for the DP152 they can share? I reflashed my dp152 with the file posted by j10152 a while back but hack script couldn't find what it is looking for.
Thanks.
Re: LCD screen for your dockstar (cheap! <$5)
May 05, 2011 09:11AM
funtoy1001 Wrote:
-------------------------------------------------------
> Anyone has the original firmware for the DP152
> they can share? I reflashed my dp152 with the file
> posted by j10152 a while back but hack script
> couldn't find what it is looking for.
> Thanks.

I just tried connecting to my home machine to get the file for you, but I guess it went to sleep or something.. argh. I can share mine later today.
Re: LCD screen for your dockstar (cheap! <$5)
May 05, 2011 04:35PM
Re: LCD screen for your dockstar (cheap! <$5)
May 05, 2011 06:26PM
neutronscott Wrote:
-------------------------------------------------------
> http://goflex.scottn.us/picframe/coby_dp152_fw-ori
> ginal.bin
> http://goflex.scottn.us/picframe/coby_dp152_fw-h4c
> k.bin
Thank you. I flashed my unit with coby_dp152_fw-h4ck.bin and it works.
Re: LCD screen for your dockstar (cheap! <$5)
May 06, 2011 12:00PM
hackfin Wrote:
-------------------------------------------------------
> BTW, for those keen on hacking, I found something
> else looking quite cheap:
>
> https://www.dealextreme.com/p/designer-s-2-8-touch
> -screen-portable-multi-media-player-w-1-3mp-camera
> -fm-radio-av-out-tf-4gb-47336
>
> If that could be turned into a remote screen, it
> would be a blast because of the touch screen
> features.
> BTW, this item is likely to have an ARM inside,
> but I'll know more when I get my hands on it (in
> 3-4 weeks).

Yes! Please let us know. There is a picture I see of the board on dealextreme looks like it says ATJ2257.

Found and mirrored the datasheet http://goflex.scottn.us/picframe/ATJ2256-ATJ2257-ATJ2257B%20Datasheet_V1.0_20091208.pdf

It has a MIPS 4KEc core. This thing might be able to run Linux itself.
Re: LCD screen for your dockstar (cheap! <$5)
May 08, 2011 10:59AM
petergunn Wrote:
-------------------------------------------------------
> psk Wrote:
> --------------------------------------------------
> -----
> > the letters are backwards as well....* any
> ideas?
>
> try...
>
> case 16:
> if (getenv("ROTATE")==NULL)
> c = getpixel(h, pixinfo, x, y);
> else
> c = getpixel(h, pixinfo, y,
> h->width-1-x);
>
> also change...
>
> if (h->proto == PROTO_PCF8833) {
> if (h->oldpix == NULL) {
> pcf8833_send_partial(h,
> pixinfo, 0, 0, h->width - 1, h->height);
>
> to
>
> if (h->proto == PROTO_PCF8833) {
> if (1) {
> pcf8833_send_partial(h,
> pixinfo, 0, 0, h->width - 1, h->height);
>
> Sorry I don't have time to test right now :-/
>
> -PG
Anyone able to rotate a DP152's display? When I implemented Peter's changes (page 7), my display is rotated but all the text are mirror imaged too. If I only change the "case 16", my display seems to be rotated but text is all garbled.
Re: LCD screen for your dockstar (cheap! <$5)
May 08, 2011 11:06AM
Hi funtoy,
the following code was supposed to help with rotation:

> case 16:
> if (getenv("ROTATE")==NULL)
> c = getpixel(h, pixinfo, x, y);
> else
> c = getpixel(h, pixinfo, y,
> h->width-1-x);

However, to activate it you have to set the environment variable ROTATE=1 before libst2205 is loaded which I don't think is happening if you see horizontally mirrored text.

If you want to hard code it you could try just using:
case 16:
    c = getpixel(h, pixinfo, y, h->width-1-x);
-PG
Re: LCD screen for your dockstar (cheap! <$5)
May 08, 2011 11:11AM
Thank you. It works.
Expertsetup
Re: LCD screen for your dockstar (cheap! <$5)
May 09, 2011 11:34PM
petergunn Wrote:
-------------------------------------------------------
> Expertsetup Wrote:
> --------------------------------------------------
> -----
> > New 1.5" LCD Digital Photo Picture Frame w
> > key-chain 8MB
>
> I'm thinking that looks like one of the AX203
> devices that is not hackable, but there are so
> many that look the same its hard to tell. Fingers
> crossed :-)
>
> -PG

You were right it was an AX203 unit so I gifted it to my wife and picked up the Coby 152 from ebay, The coby 152 is working great right now with st2205term. Nice work on the term PG, a fine addition to the dockstar for sure not to mention other applications non dockstar related.

Thank you PG for the work on this project, it will be of great use to me indeed.

At first I followed the Coby 152 docs and modified the return value to be hard set at 1 in main.c and that worked in so far as flashing the firmware and seeing my output on the screen. The problem I had was that the screen was shifted down about four pixels which caused the current line at the bottom to be trimmed off except for the top row of pixels.

I then restored the original firmware I backed up. Then rather than work out the problem I simply downloaded the firmware provided by neutronscott in this post:
neutronscotts firmware image for coby 152

Which took care of the problem for me perfectly. Thanks Neutronscott!
Expertsetup
Re: LCD screen for your dockstar (cheap! <$5)
May 10, 2011 01:47AM
OK so on further examination, it would seem that the first frame I bought was in fact a AX206 based unit. Here is what I get with lsusb when I select "USB Connect" from the units menu:

Bus 001 Device 012: ID 1908:0102

and the dmesg gives me:

usb 1-1.1: new full speed USB device using orion-ehci and address 12
scsi4 : usb-storage 1-1.1:1.0
scsi 4:0:0:0: CD-ROM buildwin Photo Frame 1.01 PQ: 0 ANSI: 2
scsi 4:0:0:0: Attached scsi generic sg0 type 5
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 4:0:0:0: Attached scsi CD-ROM sr0


it also came with DPFMate v5.0.2.1 so it would seem to be the exact same unit from here:
DPF Hacking it even looks identical with the mirror finish border three buttons and case.

I may be able to do the method hackfin describes if anyone is interested as the number available seems high. The screen is not as nice as the coby 152 mainly due to the 'LCD Contrast' module not having any apparent effect on the LCD.

If there is a way to use the AX206 units as a term I would actually love to hack this as a comparison of 2205 vs AX206, which seems interesting.
Re: LCD screen for your dockstar (cheap! <$5)
May 10, 2011 06:02AM
Expertsetup Wrote:
-------------------------------------------------------
> If there is a way to use the AX206 units as a term
> I would actually love to hack this as a comparison
> of 2205 vs AX206, which seems interesting.

I'll probably port st2205term at some point as the
larger AX206 devices have a nice resolution/price
but the two units I have are currently not supported
by hackfin's hack.

-PG
Re: LCD screen for your dockstar (cheap! <$5)
May 10, 2011 08:56AM
Is there a color code table for lcd4linux somewhere or is it follows some kind of standard?
Thanks.
Re: LCD screen for your dockstar (cheap! <$5)
May 10, 2011 01:26PM
Variables {
    # Ticks:
    second 1000
    minute 60 * second
    
    # Standard Dimensions:
    linesize 53	# max line length, for status lines etc.
    width100 51	# full width after padding (border)
    width050 24 # 1/2 of full width
    width033 17	# 1/3 of full width
    width025 12	# 1/4 of full width
    width010  6	# 1/10 of full width

    # Colors; see http://www.uize.com/examples/sortable-color-table.html
    # aliceblue	'f0f8ff'
    # antiquewhite	'faebd7'
    # aqua	'00ffff'
    # aquamarine	'7fffd4'
    # azure	'f0ffff'
    # beige	'f5f5dc'
    # bisque	'ffe4c4'
    black	'000000'
    # blanchedalmond	'ffebcd'
    # blue	'0000ff'
    # blueviolet	'8a2be2'
    # brown	'a52a2a'
    # burlywood	'deb887'
    # cadetblue	'5f9ea0'
    # chartreuse	'7fff00'
    # chocolate	'd2691e'
    # coral	'ff7f50'
    # cornflowerblue	'6495ed'
    # cornsilk	'fff8dc'
    # crimson	'dc143c'
    # cyan	'00ffff'
    # darkblue	'00008b'
    # darkcyan	'008b8b'
    # darkgoldenrod	'b8860b'
    # darkgray	'a9a9a9'
    # darkgreen	'006400'
    # darkgrey	'a9a9a9'
    # darkkhaki	'bdb76b'
    # darkmagenta	'8b008b'
    # darkolivegreen	'556b2f'
    # darkorange	'ff8c00'
    # darkorchid	'9932cc'
    # darkred	'8b0000'
    # darksalmon	'e9967a'
    # darkseagreen	'8fbc8f'
    # darkslateblue	'483d8b'
    darkslategray	'2f4f4f'
    # darkslategrey	'2f4f4f'
    # darkturquoise	'00ced1'
    # darkviolet	'9400d3'
    # deeppink	'ff1493'
    # deepskyblue	'00bfff'
    # dimgray	'696969'
    # dimgrey	'696969'
    # dodgerblue	'1e90ff'
    # firebrick	'b22222'
    # floralwhite	'fffaf0'
    # forestgreen	'228b22'
    # fuchsia	'ff00ff'
    # gainsboro	'dcdcdc'
    ghostwhite	'f8f8ff'
    # gold	'ffd700'
    # goldenrod	'daa520'
    # gray	'808080'
    # green	'008000'
    # greenyellow	'adff2f'
    # grey	'808080'
    # honeydew	'f0fff0'
    # hotpink	'ff69b4'
    # indianred	'cd5c5c'
    # indigo	'4b0082'
    # ivory	'fffff0'
    # khaki	'f0e68c'
    # lavender	'e6e6fa'
    # lavenderblush	'fff0f5'
    # lawngreen	'7cfc00'
    # lemonchiffon	'fffacd'
    # lightblue	'add8e6'
    # lightcoral	'f08080'
    # lightcyan	'e0ffff'
    # lightgoldenrodyellow	'fafad2'
    # lightgray	'd3d3d3'
    # lightgreen	'90ee90'
    # lightgrey	'd3d3d3'
    # lightpink	'ffb6c1'
    # lightsalmon	'ffa07a'
    # lightseagreen	'20b2aa'
    # lightskyblue	'87cefa'
    lightslategray	'778899'
    # lightslategrey	'778899'
    # lightsteelblue	'b0c4de'
    # lightyellow	'ffffe0'
    # lime	'00ff00'
    # limegreen	'32cd32'
    # linen	'faf0e6'
    # magenta	'ff00ff'
    # maroon	'800000'
    # mediumaquamarine	'66cdaa'
    # mediumblue	'0000cd'
    # mediumorchid	'ba55d3'
    # mediumpurple	'9370db'
    # mediumseagreen	'3cb371'
    # mediumslateblue	'7b68ee'
    # mediumspringgreen	'00fa9a'
    # mediumturquoise	'48d1cc'
    # mediumvioletred	'c71585'
    midnightblue	'191970'
    # mintcream	'f5fffa'
    # mistyrose	'ffe4e1'
    # moccasin	'ffe4b5'
    # navajowhite	'ffdead'
    # navy	'000080'
    # oldlace	'fdf5e6'
    # olive	'808000'
    # olivedrab	'6b8e23'
    # orange	'ffa500'
    # orangered	'ff4500'
    # orchid	'da70d6'
    # palegoldenrod	'eee8aa'
    # palegreen	'98fb98'
    # paleturquoise	'afeeee'
    # palevioletred	'db7093'
    # papayawhip	'ffefd5'
    # peachpuff	'ffdab9'
    # peru	'cd853f'
    # pink	'ffc0cb'
    # plum	'dda0dd'
    # powderblue	'b0e0e6'
    # purple	'800080'
    # red	'ff0000'
    # rosybrown	'bc8f8f'
    # royalblue	'4169e1'
    # saddlebrown	'8b4513'
    salmon	'fa8072'
    # sandybrown	'f4a460'
    # seagreen	'2e8b57'
    # seashell	'fff5ee'
    # sienna	'a0522d'
    # silver	'c0c0c0'
    # skyblue	'87ceeb'
    # slateblue	'6a5acd'
    # slategray	'708090'
    # slategrey	'708090'
    # snow	'fffafa'
    # springgreen	'00ff7f'
    # steelblue	'4682b4'
    # tan	'd2b48c'
    # teal	'008080'
    # thistle	'd8bfd8'
    tomato	'ff6347'
    # turquoise	'40e0d0'
    # violet	'ee82ee'
    # wheat	'f5deb3'
    white 'ffffff'
    # whitesmoke	'f5f5f5'
    yellow	'ffff00'
    # yellowgreen	'9acd32'

    transparent 'ffffff00'

    # Standard colors (style):
    std_fg		ghostwhite
    std_bg		midnightblue
    std_fg_bar0		'72a8f9'
    std_fg_bar1		salmon
    std_bg_bar		darkslategray
    std_fg_inverse	darkslategray
    std_bg_inverse	ghostwhite
    std_fg_area		ghostwhite
    std_bg_area		darkslategray
    std_fg_debug	lightslategray
    std_bg_debug	midnightblue

    # To be set later by timers:
    SyslogMsg 'Dummy'
    TopMsg 'Dummy'
}

HTH
Heinz
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: