PDA

View Full Version : Propellering the COBY DP151 - A PocketProp :)



jazzed
07-06-2009, 10:03 AM
I was wandering through the local Fry's and found the COBY-DP151 Digital Photo Keychain for $11. Well, at that price I couldn't resist the "hack it up" urge. After being thouroughly accosted at the door by the receipt checker, I made it home with my new toy.

What is a DP151? It is a 1.44" diagonal photo-frame on a key-chain. It comes equipped with an LCD, a USB port and software in the flash, 3 user buttons, a rechargable ~4V 180mah lipo battery, a very nice little case, and a keychain.

Taking the device apart was fairly easy by removing 2 screws and nudging apart the tiny clam-shell. I was immediately delighted by the look of the LCD packaging and the fact that a part-numb er was printed on the side. I slowly detached the LCD panel from the gluey foam and found a cute chip connected to the LCD pins.

I Googled the various part-numbers on the LCD and found the most promising link at varitronix-hk.com. It turns out that the LCD is a CTSN technology and the specsheet is available by email. There I found the controller is an ST7687S and I was able to find a specsheet for that too.

With two important specs in hand, I decided to look up the chip which is an AppoTech AX206 which appears to be a really nice mask-rom 8051 controller with a USB2.0 interface and lots of GPIO. I could not find a detailed spec on that exact PN, but did find a spec for the AX203 in a zip package that amazingly contained another LCD spec that would be compatible with the varitronix LCD.

Looking around on the other side of the PCB and starting to really appreciate this package with the USB port and 4V rechargable battery, I noticed an 8 pin SOIC that is marked 25L080. Well that's a large serial flash device :)

During my browsing for all the specs I came accross an article for hacking the COBY DP151-SX. The SX has a different CPU and flash and looks really good for PC-USB driven photo-frame hacking. This got me thinking that I should really leave the USB device in tact so I can download BMPs for Propeller game sprites :) We'll see if I can hook the Propeller to it.

So, what is the plan? That's defined by the resources at hand. It looks like the LCD might be fully update-able at about 100 times/second by the Propeller. The write cycle time minimum is 200ns and the read cycle time (yeah read-modify-write!) is 400ns. So it looks entirely possible to have live real-time video ... we'll see.

The current plan is to detach the LCD 8 bit 8080 interface from the 8051, keep the 8051 in-circuit for power management and USB, and connect the Propeller to the LCD using 13 pins total (there is a SDIO mode, but the parallel interface looks good to me:).

Looks like plenty of wiggle-room for adding Propeller hooks to the buttons. I think I'll intercept the center config button function and let Propeller send the power-up/down sequence and other AX206 software interface sequences. The other buttons can be used for game-play or whatever.

So 13 + 3 = 16 generic Propeller pins allocated so far (and 4 pins for Serial communications and EEPROM access), and we still have 12 pins left for fun. Gee, I've never had it so good :)

Tomorrow I plan to disconnect the AX206 from the LCD and install a Propeller QFP, EEPROM, crystal, and Prop-Plug header. My backup plan (in case I destroy the QFP) is to use mctrivia's PropMod 1x1, but even that is too big.

So far, my $11 gamble has turned out pretty good. I'll post an update tomorrow.

More to come ....

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/7/2009 10:26:36 PM GMT

jazzed
07-06-2009, 10:22 AM
WARNING: BE CERTAIN THAT POWER IS APPLIED TO DEVICE FROM USB OR BATTERY IF USING PROP-PLUG.
Failure to have power applied via USB or battery with Prop-Plug attached may cause damage to your Prop-Plug.

Starting the rework process now ....

Considering the complexity of the task, I expect to offer two PCB solutions to make this hardware hack work:
An add-on PCB and clear instructions that would allow easy connections to the existing PCB.
A replacement PCB and simple instructions that allows advanced features like adding uSD card, but requires a heat gun for LCD removal.


Warning, these rework steps are historical and incomplete. I do not recommend following them to the letter.

At some point, I will create a schematic that you can implement yourself.





Rework (so far):

Even with the LCD off, there is still power to the AX206 from the battery.
Be careful to not touch any other pins besides the ones mentioned here.

- Lift (or more practically cut off) pins AX206 1-6, 26-27, 30-31, 48 ... not sure about bit D0 yet.

- Remove and save 5.1K resistors R12 & R13 (marked in yellow) near the left and right switches.
Will use these later so don't lose them.

- Remove C1 (above R13 and the right side switch) and excess solder to make room for Propeller.

- Solder the old R12 5.1K resistor from C17 to the left side switch.

- Scratch the trace connecting to C1 pad to form a connection point for 3.3V.
Make the scratch pretty big, and tin it ... you can use this for Propeller power later.
- Solder the old R13 5.1K resistor from the scratched 3.3V trace to R13 pad connecting to the
right side switch.

The Menu (center) button is attached to AX206 37. We will leave this connected.

Prepare the QFP (or QFN) Propeller:

The Propeller chip will be soldered upside down (dead-bug style). The main reasons for this are
1) we need to bend the QFP pins so they don't touch other components, 2) the QFN pins if used
are more accessible upside down, 3) makes it easier to solder +3.3V and ground, and 4) the LCD
data-bus counts left to right D0-D7 which makes point to point connections cleaner.

If using QFP, with the chip right-side up bend all leads toward the bottom of the chip.
If using QFN, there are no pins to bend :)

- On the QFP, solder wire-wrap wire in a cross shape with a loop at the head between pins
5, 6, 17, 27, and 39 on the bottom of the chip leaving about a 2" tail for connecting to the
board and the first pin (left to right) of a 4 pin male breakaway header. On the QFN, you can
solder the pins to the bottom plate, but you still need a tail for soldering to the board and the
breakaway header.

- Solder wire-wrap wire in another cross shape with a loop at the head between pins
8, 18, 30, and 40 on the bottom of the chip leaving about a 2" tail for connecting to the board.

- Soler wire-wrap wire from pin 7 RESn leaving room to solder a small smt pull-up chip resistor
between pin 7 and 8. Connect wire to 4 pin header pin 2. When the serial EEPROM is connected
later, a 10K chip resistor will need to be connected to RESn.

- Solder wire-wrap wire from pin 31 to pin 3 of the 4 pin header.

- Solder wire-wrap wire from pin 30 to pin 4 of the 4 pin header.

TEST PROPELLER:

BEFORE APPLYING POWER MAKE SURE: 3.3V to ground resistance is greater than 20K ohms.

- Connect Propeller 3.3V wire to a power source that does not exceed 4.0VDC.

- Connect Propeller ground to power source ground.

- Connect PropPlug to 4 pin header and check if chip is found with Propeller Tool IDE F7.

ADD PROPELLER TO PCB:

THE PROFILE OF PROPELLER MUST BE AS LOW AS POSSIBLE.

- Use hot glue to secure Propeller upside down with pin 1 close to center button.

- Add 1.2K 3.3V pull-up to LCD connector pins 12, 16, 26, 27.

- Connect LCD connector to Propeller as follows:

LCD 12 CS - Ground
LCD 16 RD - Prop 20 P17
LCD 26 WR - Prop 21 P18
LCD 27 A0 - Prop 22 P19

LCD 18 D7 - Prop 4 P7
LCD 19 D6 - Prop 3 P6
LCD 20 D5 - Prop 2 P5
LCD 21 D4 - Prop 1 P4
LCD 22 D3 - Prop 44 P3
LCD 23 D2 - Prop 43 P2
LCD 24 D1 - Prop 42 P1
LCD 25 D0 - Prop 41 P0

- Bit D0 is a problem. ... see below.

- Connect 5MHz crystal to Prop 28 & Prop 29

- Glue crystal in place with top facing the edge of board (see floorplan).

CONNECTING EEPROM: ... TBD ...




Note the Propeller floorplan below.

Legend: Cyan - Propeller, Grey - Crystal, Purple/Gold - PropPlug, Magenta - uSD?

With AX206 installed: After doing the cuts, the LCD back light still works (no display of course).
The center button still works.
- To turn on power press and hold the center button until the back light comes on.
- To turn off power press the center button twice slowly.

With AX206 cut off the board, the LCD driver needs to be enabled using the transistor in the red square.

Something else from the AX206 drives the D0 pin. Cutting the AX206 completely off the board is desirable.
If you do that, you need to enable the LCD back light by setting the back light transistor driver base to 0V
... see attached picture. The red square marks the transistor. The red pad on the transistor should be
attached to ground or a Propeller pin with a small 100Ohm resistor.

WARNING: BE CERTAIN THAT POWER IS APPLIED TO DEVICE FROM USB OR BATTERY IF USING PROP-PLUG.
Failure to have power applied via USB or battery with Prop-Plug attached may cause damage to your Prop-Plug.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/17/2009 5:09:24 PM GMT

mikediv
07-06-2009, 10:31 PM
Hey Jazzed the link does not work I would like to buy a few of these myself can you recommend a place to purchase from?
Jazzed do you think this unit can be made to work stand alone with the prop what I mean is can the prop drive this LCD without any other support chips?
it would make a nice color display for a robot project

jazzed
07-06-2009, 10:43 PM
@mikediv,
Sorry about the link problem ... the forum editor is corrupting it. Just go to http://www.cobyusa.com and click on Digital Home -> Digital Photo Frames.

I believe Prop can drive the LCD, but there are other requirements for back light + and - square wave voltages, etc... which the accessory circuits on the DP151 provide; these may not be trivial. I'll attach some pictures of the PCB in a while.

The DP151 is available from Amazon and other places at about $14 and beats the heck out of the equivalent SparkFun LCD board ($39) which may or may not have the switching regulator teen-annoyance whine fixed. The SparkFun LCD also sucks way too much current.

Here's a Fry's link: www.frys.com/product/5439059?site=sr:SEARCH:MAIN_RSLT_PG (http://www.frys.com/product/5439059?site=sr:SEARCH:MAIN_RSLT_PG)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/6/2009 5:25:44 PM GMT

Rayman
07-07-2009, 07:22 AM
I hope you get it! I'll be impressed. I bought a little handheld game unit with 2.8" LCD a while ago for $29 that I tried to hack into, but eventually gave up...

But, since you know the display's driver IC model and the pinout, I think you have 1/2 the battle won already.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

mikediv
07-07-2009, 08:36 AM
Thank you jazzed just ordered 2 of them I will watch this thread closely, I don't know why but I am obsessed with displays for the prop chip I never had this problem with any of the other controllers I worked with maybe because the prop makes it withing my reach to add these
I don't know but I have to try just about all the displays you guys post about and I know I drove poor Rayman crazy," I really did "and I apologies to him but thats what he gets for being the resident LCD expert,, lol no he is a real decent guy and did not hesitate to help me out
anyway Jazzed thanks I will check your progress ... I built a little robot that would be awesome if I had a small affordable color display to send debugging stuff to

jazzed
07-07-2009, 08:55 AM
@Rayman, Thanks for the vote of confidence. I wonder if I could use your PSM QVGA driver on this. Where is that anyway?

@mikediv, I think this will work. If not, they make great little gifts ... my girls like them.

I've gotten the first big hurdle with a QFP Propeller powered by a 3.6V NiMh and identified with Propeller tool.
Gotta clean up those rework instructions and see if the rats-nest will fit in the photo-frame package.

More to come ....

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-07-2009, 04:10 PM
You can use the code provided the copyright notice remains intact and it's not sold as part of a product...

Find it here:
http://www.rayslogic.com/Propeller/Products/PSM/Files.htm

As you may already know, the startup procedure is unique to every device...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-07-2009, 11:00 PM
Thanks Rayman. Most likely I'll write my own driver anyway. At least I know where to find code for the PSM now :)
I bought a super cheap game with keyboard, buttons, and an LCD once. The LCD turned out to be segmented.
Guess I can put another LCD in it some day, but it will be a pain.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

jazzed
07-08-2009, 02:49 AM
Yea!∑ Survived connecting the LCD :)

Works with RCFAST and crystal. Everything except EEPROM in the package now :)

The LCD sits on top of the Propeller and the mess of wires and makes it impossible at this point to
screw the enclosure completely tight.∑It's not too bad though; a gap of only 0.05 inch is in the edge.

Will update rework instructions soon. Soldering wire-wrap wire to Propeller QFP pins is pretty hard.
Having a little extra solder on the wire tip makes it easier. You need steady hands :)
I always make sure I have a place to anchor my pinky fingers.

Now, time to write some driver code.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/7/2009 10:11:24 PM GMT

CassLan
07-08-2009, 04:32 AM
WOW Steve that is really very cool!


Great Job So Far.


Rick

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Prop Forum Search (Via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)

Oldbitcollector (Jeff)
07-08-2009, 04:39 AM
Hey Steve... Don't think you are done yet!

You still have room for a microSD adapter in there. :) :)

{Nice work!}

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Visit the: The Propeller Pages (http://www.warrantyvoid.us/tiki-index.php?page=Propeller) @ Warranty Void.

jazzed
07-08-2009, 05:30 AM
Thanks guys.

Still have to write that LCD driver .... Has anyone used "PocketProp" before?
I have room for EEPROM,∑small piezio speaker,∑and maybe a mike for that speech recognition code :)
The power for charging and development is coming from the USB port ... very comfortable.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

rokicki
07-08-2009, 05:43 AM
This is awesome!

I screwed four standoffs onto the PSM and thought I was the man.

Looking really good.

jazzed
07-09-2009, 01:31 AM
The LCD is lit :)∑∑∑∑ Nothing exciting to display yet, but you might enjoy the attached pictures.

Unfortunately I accidently destroyed something about the AX206 chip, so now USB won't work.
The battery charger still functions (I think) so it must be a separate circuit.
I suspect the AX206 can be completely removed since it is crippled ... but will not do that this time.

I had assumed that the data bus pins are contiguous bits coming out of the AX206. This doesn't
appear to be the case as what would be bit 0 comes from another pin group. Reworking this because
of a fight between Propeller and the AX206 is the reason the AX206 is crippled now :< oh well.

The large square-wave voltages for the LCD actually come from the LCD controller. Only capacitors
are needed for these voltages. There is a bias voltage going to the LCD that I haven't investigated yet.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/8/2009 8:36:23 PM GMT

Microcontrolled
07-09-2009, 08:17 AM
Wow, That's awsome!!!!!

I too have always been fasinated with the prop and displays.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

Cluso99
07-09-2009, 10:43 AM
Really neat Steve. How much height is available? i.e. if the processor was removed could you fit a prop and pcb in there??

I could see some really neat apps with those buttons, LCD and memory & of course the usb to change/load.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-09-2009, 12:37 PM
It's a really tight fit Ray. But the idea of making an accessory board is very attractive and has crossed my mind more than once during the monsterous rework task. Clearence is about 2.54mm. You could squeeze a QFN, TSOP EEPROM, and some 603 resistors & caps∑in on a 62mil board (on one side), but that's about it for height. I've seen some oscillators small enough, but not sure about frequency or precision availability. No room for tantalums or the Hirose uSD socket (but there is a big serial spi flash on board which would need alternate connections). Having some kind a flex connector on the Propeller PCB would make it easier to attach ... plenty of VDD/VSS there. Finding a way to use the USB for Propeller would be grand :)

Added: I think it might be better to replace the original PCB entirely though. Not sure how one could safely remove the LCD.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/9/2009 5:44:46 AM GMT

Cluso99
07-09-2009, 02:32 PM
I saw this on TV last night - I think this is what we need although it's only an invention, not in production. The pcb is plastic screened with conductive ink? up to 6 layers.
No horrible chemicals, etc and recyclable.

Back to reality. Thinner pbcs can be bought at a premium.

What about removing the processor and gluing a prop upside down with kynar wire to make the connections? Kynar wire is the wire-wrap wire - nice and thin so it looks more professional and not so cumbersome, but harder to strip unless you have a tool.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

mikediv
07-10-2009, 12:07 AM
Gee Jazzed you must be a lot younger than me by about 40 years I can barley see to solder anymore, I have to admit I plan on just setting it up on a bread board
and if I am lucky using the Dip package prop∑I have a rather small to me anyway hobby box that radio shack sells I use them a lot
then can just hot glue them to my robot platfrom,, I cant wait until you get these to display text / graphics, imagine if we could do video that would be cool


jazzed
07-10-2009, 07:53 AM
@mikediv, I have astigmatism and find my reading glasses and a 7x zoom eyepiece adequate. My soldering iron seems to have a mind of it's own though :) One too many burns today :)

I've done some risky experiments today. I chopped the AX206 chip off the board entirely (there is a second land-pattern there). Had to add a wire for the back-light LED driver; the driver appears to be a common-collector transistor driver. This frees all 3 buttons on the enclosure. Also, I tied chip-select to ground. The lithium-ion battery charger seems to be working fine without uC intervention.

I worked on ideas to make animation flicker-free, but had no luck. A tearing signal is available on the controller, but not brought out to the LCD connector :) Too bad, because a lot can be done in 15ms ... the status is not available in a register either as far as I can tell.

Scrolling and partial display work now.

See Scrolling Demo www.youtube.com/watch?v=lj4hUJmNot0 (http://www.youtube.com/watch?v=lj4hUJmNot0)
Here's another Scrolling Demo www.youtube.com/watch?v=gijQM0BhErY (http://www.youtube.com/watch?v=gijQM0BhErY)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/10/2009 1:23:44 AM GMT

Cluso99
07-10-2009, 10:13 AM
Really nice Steve http://forums.parallax.com/images/smilies/smile.gif
Can you place a socket instead of pins for the PropPlug ? You could use an adapter (tiny piece of vero) with 4 pins to 4 pins so that the pins don't have to protrude from your module.

And its more of a KeychainProp isn't it??

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-10-2009, 12:07 PM
The next one can have a socket I guess; I do have some good size headers for an adapter.
Would like to figure out how to make use of that USB connector other than for just a battery charger.

PocketProp has good alliteration :) But I do like KeychainProp too.

This thing has been running on battery for more than 4.5 hours now with the LCD fully lit :) Guess I need to measure current consumption.

I've started working on drawing lines now. After that I'll do some miscellaneous small things like putpixel and clear screen. Then I'll import my 5x9 mono spaced character set. Finally on software, I'll do some sprite/image routines. I'm afraid this display will never run a smooth graphics demo.

I still have to connect the buttons, the big flash, Propeller boot EEPROM, and other devices. Somewhere in the middle of all that, I'll look at publishing some good dimensions so that anyone interested in providing a PCB for this will have enough information to begin a schematic/pcb layout (me included :).

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

mikediv
07-10-2009, 10:04 PM
Jazzed thats awesome any luck with text yet?

jazzed
07-11-2009, 02:14 AM
@mikediv, text is next :)

I've just finished adding primitive pixel and line drawing support. There is no special clear screen support in hardware, so we have to make do with a clearScreen wrapper that calls fillRectangle. The 5x9mono font should not take long to add provide usage with the out, dec, str, etc... commands. I'll make a demo then start working on image support.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

jazzed
07-11-2009, 06:50 AM
@mikediv,
Text is working now for the most part. I have some things to fix before I offer any source.
Being able to scale text would be useful I think. I'll think about that while I look at image stuff.

Here is the latest youtube video www.youtube.com/watch?v=hqAtrzuaVzw (http://www.youtube.com/watch?v=hqAtrzuaVzw)
Think its time for a break :)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Sapieha
07-11-2009, 06:54 AM
Hi jazzed.

I can only say IMPRESIVE.
Very well done.

Regards
Christoffer

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it∑as simple as∑possible yet as versatile as posible.


Sapieha

Cluso99
07-11-2009, 10:34 AM
Steve: I agree with Christoffer, very impressive. I hope Fry's have plenty of stock http://forums.parallax.com/images/smilies/smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Bill Henning
07-11-2009, 10:41 AM
Totally agree with both of you - extremely cool!

Smallest potential prop tool to date!


Cluso99 said...
Steve: I agree with Christoffer, very impressive. I hope Fry's have plenty of stock http://forums.parallax.com/images/smilies/smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com (http://www.mikronauts.com) - my site 6.250MHz custom Crystals for running Propellers at 100MHz (http://mikronauts.com/products/mikronauts-625mhz-crystal/)
Las (http://mikronauts.com/products/las-largos-lmm-assembler/) - Large model assembler for the Propeller Largos (http://mikronauts.com/products/largos/) - a feature full nano operating system for the Propeller
Morpheus & Mem+ (http://mikronauts.com/products/morpheus/) Advanced dual Propeller SBC with XMM and 256 Color VGA
Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full

Sapieha
07-11-2009, 12:17 PM
Hi jazzed.

If You have bill of materials (for its dimensions) and corect dimensionsof PCB.
I can route to You any PCB to fit Prop and rest of components.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it∑as simple as∑possible yet as versatile as posible.


Sapieha

jazzed
07-12-2009, 02:20 AM
Sapieha said...
Hi jazzed.
If You have bill of materials (for its dimensions) and corect dimensionsof PCB.
I can route to You any PCB to fit Prop and rest of components.

@Sapieha,
There are 2 options:
1. create an accessory board to connect with existing PCB.
2. create a new PCB.

Advantages (A) and disadvantages (D) of options:

Option 1
A: duplicate current working configuration
D: very tight dimensions
D: difficult to describe in 3D termsOption 2
A: easier for dimensions
D: requires more schematic engineering
D: LCD will be difficult to remove and replace
In any case, it will be best for the PCB designer to have a sample of the device.

I have no idea how much inventory might be out there for the COBY DP151.
Maybe hacking 100 of these things would justify any PCB cost.

The risk of destroying the LCD connector during removal and other factors makes option 1 more desirable.
I'll do some mechanical stack up measurements on a fresh device. Think I'll use some plumber's putty to
get a 3D model impression.

One software thing that I haven't done is try to use the USB port for serial comm with BradC's USB drivers.
I'm not sure if that is worth pursuing now though.

I'm thinking the accessory board parts-list would be:
QFP Propeller
resistors, caps, etc...
5MHz (or higher) crystal ... alternatively an 80MHz SMT oscillator for space,
64KB serial EEPROM
4 pin header pads for prop-plug
29 pin flex cable for connecting LCD
pad for connecting to LED backlight enable
test point pads for connecting to USB
test point pads for all unused propeller pins
accelerometer
a tiny pezio speaker ?
a tiny microphone ?
I would like to do some international collaboration, but I fear some communication issues.
I'm a very patient person with language barriers because my wife of 20 years knows English as a
second language and has taught me much of her native Isaan (Laos & Thai country side).
Unfortunately I only know how to say 2 things in Swedish: skŚl and sšng :)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-12-2009, 02:28 AM
Jazzed: I looks to me like you could easily remove the LCD with a hot-air gun...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-12-2009, 02:37 AM
Rayman,
Yes I've considered that but fear doing it because of some things I've seen a heat gun do to ABS plastic :)
Maybe the connector material has a higher temperature rating than ABS. Have you tried anything like this?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-12-2009, 04:38 AM
I appears to be the same material as that used in the PSM's LCD display... I think it's Mylar.
I've often used a hot air gun on it no problem. You can also put a soldering iron directly on it.
It might be hard to get off with just an iron though...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Rayman
07-12-2009, 04:44 AM
PS: What's the screen resolution anyway?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Rayman
07-12-2009, 04:56 AM
Before you get mad at me, I should point out that the actual display probably melts quite easily! It's just the flex connector that's solderable...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Sapieha
07-12-2009, 05:03 AM
Hi jazzed.

For me it is not problem to understand English ... BUT write is litle problem.
I have plenty of time to work ... BUT not money to realise.
Not posiblity to buy that device to back enginering its schematiks to.
But if You have hand writen/drawing .... It is not problem to me to Place it in "ISIS" shcematik part of "Proteus"
and then Draw Layout on it.
Problem is to have corect dimension on all components. In first place Dimensions on Its Box and placement of display part to fit corectly in box.
You have used 4 pin male conector. My idea is to have 4 pin female conector in that place and use 4 pins Female to Female pins to be compatible with PropPlug-

Regards
Christoffer



Ps. I remowe that conectors by Hot air on oposite side of PCB. Works in most cases.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it∑as simple as∑possible yet as versatile as posible.


Sapieha

Post Edited (Sapieha) : 7/11/2009 10:09:37 PM GMT

jazzed
07-12-2009, 06:42 AM
@Rayman,

The resolution on the LCD is 128x128. There is no way to have a complicated flicker-free full
screen animation on the LCD as far as I can tell except maybe by read-xor-write. The spec sheet
mentions RMW commands, but it is beyond me how to use them. The scrolling rectangles are
done with the LCD's built-in screen scroll feature. Thought I could use scroll and partial display
to animate, but both can't be active simultaneously and partial display looks "funky."

You're right about the connector withstanding a soldering iron. The specs have no connector
temperature range and don't say what the material is. It probably is Mylar. The LCD itself is
rated to 80c ... need a heat-shield for extraction. I guess heating the back of the board would
work according to Saphieha's suggestion ... especially since the PCB would be disposable.

@Saphieha,

I didn't spend much time reverse engineering the circuit since I wanted to save as much circuit
function as possible. The female connector is a good idea for sure ... I can imagine my first
encounter with the male pins stuck in my gr... oops, my leg.

It would take as long to draw this up in Eagle as it would in paint or some other drawing method.
I have to decide whether or not to make a PCB for this. Finding the parts an making the schematic
is a little more than half the battle. I'll let you know what I come up with later.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-12-2009, 07:06 AM
Jazzed:∑ Why do you think you can't do flicker-free?∑ You are using the 8-bit 8080-series interface mode right?
I just took a quick look at the datasheet and it does the standard auto address update upon write, so you should be able to stream data very quickly...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-12-2009, 07:28 AM
Rayman: Yes, I'm using 8080 mode, but there is "tearing" ... maybe I have the term
wrong, but it reminds me of the old sci-fi movies where you get to see alien videos and
vertical or diagonal bands roll across the screen. The TE pin is not available for blanking
status; if it was, the 15ms blanking interval would be a great place to do updates. They
do mention auto update after memory write, but it doesn't seem to perform very well ...
maybe it's a setting I have to make but I don't see it.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-12-2009, 07:38 AM
Well, just as a point of reference, the PSM uses 8-bit 8080-series interface mode and I think you'll see the "Graphics Demo" runs pretty well at 320x240 with very little flicker... So, I think it's just a software issue... Did you ever try the unit "as-is"? I assume it has some sort of slideshow mode... That may indicate how fast it can update the screen...

You do need to set the "Window" before updating the screen. Just set this to the full screen size, if you intend to update the whole screen.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Microcontrolled
07-12-2009, 08:22 AM
Wow! I consider risking hacking this thing if you can get graphics like that! Impressive!
Do you have to have buffer space like with the TV?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

jazzed
07-12-2009, 11:25 AM
@Rayman,
I'm attaching what I have here so you and others can take a look. Maybe I'm missing some technique.
The unhacked unit draws very slowly and is not trying to make any animations.

@microcontrolled,
The LCD driver is not using substantial buffer space. There is ~28KB left for code, etc... in the demo.
Some of what you see is a "trick" of the controller and is not really so great.
Porting the TvFavorites demo to this would be easy since the interfaces are mostly the same.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

lonesock
07-12-2009, 11:56 AM
jazzed said...
Then I'll import my 5x9 mono spaced character set.

I created a 5x6 font a while back, variable spacing. 5x6 = 30 bits, leaving 2 bits in a long to code the width of the glyph. So it's one long per character. I have "!" (ASCII 33) through "~" (ASCII 126) defined, everything else I just draw as a space. You're welcome to it if you'd like. The glyphs are coded in columns (ST7565P driver chip I'm using writes 8-pixel-high rows), but I have the generator source around somewhere, if you want the bits organized in rows instead of columns.

Jonathan

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.

Cluso99
07-12-2009, 02:01 PM
With a 128x128 pixel display, using 8x8 pixels -> 16x16 characters of 5x7pixels or 6x8 pixels - 120x16 characters of 5x7 pixels.
Would this be readable Steve?

I am wondering if the USB-microSD adapter with microSD would work ?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Cluso99
07-12-2009, 03:03 PM
The above post resulted in an error and did not show up on the thread index. Curious???

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Ron Sutcliffe
07-12-2009, 03:25 PM
YASD!

But Soooooo small.

Can you find room for a light sensor, so that it goes to sleep when you put it you pocket ?

There would be a work around required so that you could use it at night though. LOL

Cheers :)

Ron

jazzed
07-12-2009, 10:03 PM
Well the thing I most feared has happened. I can no longer program the Propeller.

It will "ID" fine, but downloading fails with a write error. I suspect that it has something to do
with connecting the prop-plug with the unit's battery completely drained, but can offer no proof.
There have been other situations I've seen where the prop-plug tried to supply power to the
chip through IO pins and a failure happened. So, my conclusion is that the USB port must
be used to ensure power is available during programming.

I think the right thing to do is make a replacement PCB. That allows using the FTDI chip and
all the other goodies like a uSD card for OBC, light sensor, microphone, speaker, etc....


@Ron, A light sensor would be good for controlling display contrast. I was thinking that a few
minutes of inactivity would be a good reason to enter low power mode. Amazingly, with full
power to LCD and driver/spin COGs running, the battery lasted about 5 hours.

@Cluso99, Yes, the font in the video is hard to read. The video was made with a web-cam so
it's really hard to judge by that. The 5x9 is pretty small, but readable. I'm not sure what you
mean about a USB microSD.

@lonesock, Your font sounds interesting. I would like to see your implementation. The font
I'm using is fixed size (535 total font bytes) ... there is a 95 byte offset array used, but it look
like just multiples of 5, so that can be optimized.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-12-2009, 10:24 PM
Wouldn't it be a neat trick to use the backlight LEDs as photodetectors?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

lonesock
07-12-2009, 11:12 PM
jazzed said...
@lonesock, Your font sounds interesting. I would like to see your implementation. The font
I'm using is fixed size (535 total font bytes) ... there is a 95 byte offset array used, but it look
like just multiples of 5, so that can be optimized.

Sure, I'll dig it out. The reason I went for a long per glyph is that my entire font table is in cog RAM, and fetching a single long is easy in pasm, so the whole system is fast. This also has the benefit that once you load your driver cog, you can overwrite the DAT space used to hold the code and font table.

Jonathan

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.

jazzed
07-12-2009, 11:22 PM
Sweet optimization Jonathan. Your ideas always impress me.

Rayman,
Detecting ambient light with back light LED is definitely worth looking into :) At first I was concerned about not being able to "see the light" because of the LCD design, but as a last resort I can see turning off the display momentarily for measurement then turning it back on. The back-light on this LCD requires a transistor to boost LED current which complicates things a little. At least there is a separate connection for anode/cathode to do reverse bias for measuring RC-time. So it looks like 3 pins are needed: 1) forward bias enable, 2) reverse bias enable, and 3) reverse bias RC measurement. Guess I need to make a schematic. Not much time for hobby today.

BTW, I'll be adding an EEPROM socket now since I can't program through the friggin' serial port :<

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-13-2009, 12:41 AM
Jazzed: I've had write errors with the old version of the Prop tool... You do have a new version, right?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-13-2009, 01:03 AM
Yippeee! http://forums.parallax.com/images/smilies/roll.gif You were right Rayman! Thanks a ton!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

localroger
07-13-2009, 04:55 AM
I would just like to add my voice to the chorus of "impressive work," Jazzed.

Cluso99
07-13-2009, 10:08 AM
Steve: Since you are going to replace the pcb my idea may be irrelevant, but here goes anyway...

You have a USB connection which can (using the old processor anyway) read a USB stick - correct?

Well, there are USB sticks with sockets for microSD cards (I posted pics on a thread a while back re SD v microSD).

So, can we access the microSD contained within the USB stick - that is the million dollar question ??? This would save having an internal microSD socket/card.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-13-2009, 10:34 AM
@localroger: Thanks.

@Cluso99: Ah, Ok ... small misunderstanding. The USB is a "device" (not a host) and provides access to the big SPI Flash chip which happens to have PC software and is the place where pictures are stored for the photo-frame. So the device normally is more or less Flash on a wire.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Microcontrolled
07-13-2009, 06:45 PM
@Cluso99: Just a simple tip: YOU CANNOT CONNECT USB STRAIGHT TO THE PROPELLER. I have seen it in many threads before, and it is just a fact to go by.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

BradC
07-13-2009, 06:59 PM
microcontrolled said...
@Cluso99: Just a simple tip: YOU CANNOT CONNECT USB STRAIGHT TO THE PROPELLER. I have seen it in many threads before, and it is just a fact to go by.


Now, I just need to correct that little misconception. The propeller is capable of low speed USB. At 96MHz it even has enough accuracy to perform as a host.
The kicker is bulk endpoints (used by printers, disks and serial ports) are now allowed by the standard running at low speed. This means most devices that one might want to connect to the propeller won't actually function even if host code had been developed.

Now, mice/keyboards/joysticks *may* function if the appropriate host code is written (running at 96Mhz), however the HID protocol is quite complex and each device can implement different parts of it, so the host code is by necessity quite complex. To comfortably fit it into the Propeller, it would need to be trimmed and tailored to the device to be controlled.

Having said that, the Propeller can (has and does) quite comfortably perform as a low speed device. (Keyboard, mouse, joystick and by violating the specification a serial port).

So yes, with three pins and three resistors the Propeller *can* connect directly to USB (just not as a host *easily*).

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Release the hounds!

Cluso99
07-13-2009, 07:53 PM
Thanks Brad.

Yes, I was just wondering if the prop could implement a very basic (and violate the spec) interface to the USB memory devices.

My thought was to provide an adapter that plugs into the PropPlug pins on say a Prop ProtoBoard and the other end had a USB socket to plug into a USB memory device. Obviously we would need to provide +5V for this. It was just a thought.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

BradC
07-13-2009, 08:15 PM
Cluso99 said...
Thanks Brad.

Yes, I was just wondering if the prop could implement a very basic (and violate the spec) interface to the USB memory devices.



Unfortunately (spec violation or not) it's just not gonna work. USB mass storage devices just don't talk low speed. The spec states that all host devices must do high speed, so most (all I've seen) take advantage of that by not supporting low speed in the hardware/firmware.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Release the hounds!

Rayman
07-13-2009, 08:23 PM
I've seen code in this forum that lets you connect the Prop to your PC over USB and act like a USB keyboard...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

BradC
07-13-2009, 08:26 PM
Rayman said...
I've seen code in this forum that lets you connect the Prop to your PC over USB and act like a USB keyboard...


I know :) It works well. It also works when you allow a spec violation and use it as a serial port, but playing a host to mass storage is just not quite as easy as it might appear.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Release the hounds!

lonesock
07-14-2009, 12:59 AM
jazzed said...
Sweet optimization Jonathan. Your ideas always impress me.

Thanks! Attached are 4 files:

* LS5x6v10.fon - this is the font file I created using the excellent free application Fony (hukka.furtopia.org/projects/fony/ (http://hukka.furtopia.org/projects/fony/))
* LS5x6v10.png - the same font rendered to a png by Fony
* Font4Spin.cpp - my C++ code to load the image (needs stb_image nothings.org/stb_image.c (http://nothings.org/stb_image.c)) and convert it to my Spin DAT font table
* LS5x6Font_Adapt_Vert.spin - the resulting Spin file

You can tweak the cpp file to generate the font in either vertical slices (as I use for the ST7565P), or horizontal slices. The least 2 significant bits hold the width of the glyph (where 0 => 2 columns, 1 => 3 columns, 2 => 4 columns, 3 => 5 columns). The most significant bit is the bottom left pixel of the glyph (again, because of the hardware I'm targeting).

Here is the sample code I use to render a string...sorry that it is insufficiently commented. There are some extra bits in there, for handling special characters (tab, newline, etc.). Hopefully you can guess the function of each subroutine based on the name. (The subroutine "send_cmd_data" is basically just a SPI_8_bits_out function, but is used to send commands or data, based on the state of a pin, hence the name.)



write_text
mov t1, par
add t1, #4
rdlong text_ptr, t1
' OK, start the actual writing of data
char_loop
rdbyte the_char, text_ptr wz
IF_Z jmp #write_text_ret ' 0 => all done
add text_ptr, #1
cmp the_char, #13 wz ' newline?
IF_Z call #new_line ' apparently
IF_Z jmp #char_loop
cmp the_char, #9 wz ' tab?
IF_Z call #write_tab ' apparently
IF_Z jmp #char_loop
sub the_char, #33
cmp the_char, #(126-33) wz,wc
IF_A mov the_char, #0 ' sets the width of space to be 0+2
IF_A jmp #write_the_char
' OK, the character code is in range, to the lookup (indirection)
movs :read_val, #LS5x6Font
add :read_val, the_char
nop
:read_val
mov the_char, 0-0
write_the_char
mov t2, the_char
andn the_char, #3
and t2, #3
add t2, #2
add t2, column
cmp t2, #127 wz,wc
sub t2, column
IF_A call #new_line
:loop
rol the_char, #6
mov cmd_data, the_char
and cmd_data, #%111111
shl cmd_data, #1
call #send_cmd_data
add column, #1
djnz t2, #:loop
mov cmd_data, #0
call #send_cmd_data
add column, #1
jmp #char_loop
write_text_ret
ret

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lonesock
Piranha are people too.

jazzed
07-14-2009, 01:07 AM
Nice font Jonathan. Thanks for your effort putting this together.

@BradC, I think I'll try your "violated serial USB" later :) Do you think that would work with a large number of USB hosts ?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Microcontrolled
07-14-2009, 01:12 AM
Sorry for the mistake; I was talking about a USB host.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

BradC
07-14-2009, 09:21 AM
jazzed said...

@BradC, I think I'll try your "violated serial USB" later :) Do you think that would work with a large number of USB hosts ?


It's worked on every host I've tried it on.

With Linux, you need to patch the kernel a little to allow the spec violation (low speed bulk endpoints). With Win32 you need an .inf file and Windows sometimes does very odd things setting up the port. Once it's installed and configured it works great. MacOS just works perfectly out of the box.

It might have problems if you stack 4 or 5 hubs between the Prop and the PC (Timing violations) but I've used it with two hubs and it works ok.

The Propeller soft-usb stack is the only soft stack out there that actually checks the CRC's properly. All the AVR based soft stacks wimp out because the processors are too slow.
If you turn off the CRC checking, then it is actually 100% timing compliant with the specification :)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Release the hounds!

jazzed
07-14-2009, 03:08 PM
@BradC, Thanks for the details. I'll look into this further tomorrow after I dive back in with my soldering iron.

Here's another demo with more text and a "mystic" screensaver: www.youtube.com/watch?v=3gBX9G7mDPU (http://www.youtube.com/watch?v=3gBX9G7mDPU)

Changed pointer to a better demo.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/14/2009 8:02:00 PM GMT

Cluso99
07-14-2009, 04:39 PM
Very impressive video. Congratulations Steve !

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

nightwing
07-14-2009, 11:39 PM
Very interesting....

Outstanding idea! ^_^

Wondering now if any bigger photo frames can be alter also. Still have the spare I got last year for a project... Hum... Need to pull it and see what chipset it running. I know its 320 x 240 3.5"

Post Edited (nightwing) : 7/14/2009 4:46:17 PM GMT

Cluso99
07-15-2009, 02:42 PM
The link jazzed provided has a wallet size version. That could be nice.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Rayman
07-16-2009, 01:11 AM
Jazzed: Where are the photos stored on that thing? Are they inside the controller? The 25L080 is only 8k, so I guess they're not there...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-16-2009, 01:50 AM
Rayman: The device is an 8Mbit flash in SPI form factor. The device numbering is similar to the old AMD/Spansion parts.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-16-2009, 01:56 AM
I wonder if you could trick it into storing a Prop binary as a picture over USB and then have the Prop boot that binary...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-16-2009, 02:23 AM
@Rayman: Ya, that question struck me too, but I've kind of discounted it because of the I2C boot requirement.

Of course, going a little further with the idea, one could put a boot loader on the Propeller boot EEPROM that would "interpret" the image file (which would probably be necessary anyway). The PC software is installed on the device which shows up as a CDROM on windows. The application will only deal with pictures, so you would need an encoder.

Being able to download images like that would probably be faster than loading Propeller HUB RAM via PropTool, but would require some extra processing. If someone really needs a Propeller debug port, that could be available on a female header as suggested before, but I've had some bad experiences with PropPlug trying to power the target devices. I imagine however, that the Propeller could take over the USB connection by manipulating analog switches, and potentially run BradC's code for serial port connections. Space is still a premium, but a less destructive solution would be better to provide as a kit for hardware-hackers.

I have the USB pins connected to the Propeller now and after I finish some sprite work, I'll likely play with BradC's code.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

jazzed
07-16-2009, 02:25 AM
Propeller 64K TSOP EEPROM installed on device and working. Since the Propeller was upside down, I put the EEPROM on top and soldered it directly to pins 27,28,29. Pin 27 becomes a write protect if I really need it, and 28/29 are positioned perfectly for their function.

Will have more pictures for this prime real-estate post later (location, location, ....).

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/17/2009 3:10:43 PM GMT

Rayman
07-16-2009, 03:08 AM
Hmm... I didn't realize BradC had a working USB serial port... Guess I've been living under a rock!
Since you have full-time battery power, that does seem to be a much better way to go...
Wait... Why do you need an EEPROM if the thing is always powered?∑ Well, I guess that's the easiest way...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Post Edited (Rayman) : 7/15/2009 8:13:19 PM GMT

jazzed
07-17-2009, 05:24 AM
Hi.
Uploaded another video with more enhancements here: www.youtube.com/watch?v=JpyX3l569RU (http://www.youtube.com/watch?v=JpyX3l569RU)
Also attached some pics below.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 7/16/2009 10:58:48 PM GMT

Microcontrolled
07-17-2009, 09:16 AM
Impressive as usual.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

Rayman
07-17-2009, 09:19 AM
jazzed:∑ I think you could make some $$ selling this with a break-out board.∑ I'd do it myself if I weren't ball-and-chained to my own project...



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-17-2009, 09:50 AM
Could be Rayman.
Just have to find out the best way. I suppose I should work on an add-on and a PCB replacement.
Can't sell a hacked up COBY DP151, but I could sell a kit for one without issues.

Meanwhile ... this is a message from BradC that showed up in my PropTool :)



to my parents

all the leaves are brown and the sky is gray
i've been for a walk on a winter's day
i'd be safe and warm if i was in l.a.
california dreamin' on such a winter's day



You were right about the hubs causing trouble. I had to connect the USB directly to the PC port for it to work.
Now, how do I get rid of stuff that slows it down ? ... looking for CRC and babble calls I guess.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-17-2009, 11:32 AM
Steve, this is REALLY neat. Congratulations http://forums.parallax.com/images/smilies/smile.gif
I noticed lots of 16MB versions of a similar keychain on ebay but they all have the buttons on the rear. Not as cheap as Fry's but we don't have Fry's in Australia. :-(

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Rayman
07-17-2009, 04:46 PM
If that USB serial thing doesn't appear to be working very well... I think I'd make a custom cable with miniUSB plug on one end for the display and a 4-pin header on the other (for the Prop Plug)...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Cluso99
07-17-2009, 05:16 PM
Steve: I note the DP152 has the buttons on the front. The DP240 has a 2.4" 240x320 pixel display and would have more pcb space provided the LCD can be driven.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-17-2009, 10:08 PM
Rayman said...
If that USB serial thing doesn't appear to be working very well... I think I'd make a custom cable with miniUSB plug on one end for the display and a 4-pin header on the other (for the Prop Plug)...


@Rayman, that's a "dandy idea" as my dad used to say. Could make an adapter that provides power from the USB at the same time which meets one of my usability requirements. This would also allow removing the extra 4 pin header entirely :)

@Cluso99, will have to check out the DP240. Thanks for looking :) If I make kits available, they will have to include key components (minus heat gun for PCB replacement).

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

jazzed
07-18-2009, 09:41 AM
Following on Cluso99's thought among other things, I went back to Fry's where I picked up a DP350 (no DP240's in the store) and more DP151's for prototype modeling. The DP350 is so beautifully done, I've decided to give it to my wife for a welcome home gift instead of hacking it up (not sure how I could get into it without totally breaking it anyway). The DB350 LCD has wonderful brightness/contrast, and judging by the quality of graphics, complexity, and speed of the user interface, the device must be using at least an ARM9 and is probably running Linux underneath. The DP350 also has an MP3 player. All of this comes in a nicely sheened wallet size package for $17.50 :) Amazing feature to price ratio !

I opened up a black/white DP151, and have noticed some small differences. I expect that it should be just as hackable though since the PCB looks to be exactly the same.

Also, I looked around at some Chinese product showcases, and have found suppliers of DP151s and/or clones. Sourcing does not seem to be much of an issue with 100's unit minimum purchases ... sampling will be key and may prove hard to get. They are available on EBAY in the US, but go for $12+ each new. Ain't the web grand?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-18-2009, 11:28 AM
Steve, did you see the DP152 (see coby website). Looks like it might be the same as the DP151 but with the 3 buttons on the front. May make it more usable.

The∑DP350 is really cheap at Fry's :-)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Cluso99
07-18-2009, 02:40 PM
I found a 1.5" version here in Australia, but I thought it too small for my old eyes.

So, I just bought a modernliving decor 2.4" portable digital photo viewer NS-0248 from Target A$20.
No specs yet. I will pull apart later tonight. It has mini USB for connection to pc and has 3 front buttons. LiIon battery. It is somehow glued to a wallet flap. Photos to come.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-18-2009, 03:18 PM
Post all the part numbers you can find and I'll help dig the specs in the morning.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-18-2009, 05:44 PM
This is made in China for modernliving decor. I presume therefore, there are other brandnames to this unit.
http://www.alibaba.com/product-gs/219067777/2_4_Inch_Simple_Function_Digital.html

modernliving decor 6cm (2.4") protable digital photo viewer NS-0248
Keycode 44686673 APN 9341395600163

To remove the backcover you will need to break four glued posts. I removed the unit which has it's backcover glued to the back cover of the wallet. To do this I split the wallet backcover from the edge which appeared to the backcover of the unit. This is the wrong way!
Remove the "u" metal pin from the top of the unit beside the usb. It just slides out.
Next, use a knife to seperate the top and sides of the unit from the wallet and backcover. There are 2 glued posts in the top corners that have to be forcefully broken. There are 2 more glued posts 3/4" up from the bottom and at each side edge that also have to be forcefully broken. Be careful of the right hand side one (as viewed from the top) as there is a ridge housing the piezo speaker 1/8"-3/16" in from the edge.

The pcb is marked KX . K838 V9 and a manufacture date of 0902.
Unit size 2.1"x3.4"x0.3" (excluding the wallet)

Now for the parts on the pcb...
* Piezo Buzzer
* 2 watch can xtals
* LiIon battery
* USB mini connector (to pc)
* Reset switch
* 25L3205DM2C-12G (pcb marked W25X80) flash memory
* CPU Appo Tech AX203/LQFP48R 2THD51319.1 0808
http://www.appotech.com/main/pro_detail.php?product_id=AX203
* 2 x SOT23 (pcb marked 9014)
* 2 x SOT23 (pcb marked 8550)
* U3 (pcb marked XC6206P332MR) SOT23 Voltage Regulator 3V3
* U2 ??? SOT23
* U8 (pcb marked TD2560) 6 pin

2 screws hold the pcb and it removes easily. Its a thin pcb.

* LCD TM240320C1NFWGWC B-1 ROHS 08/40
2.4", 240x320, 65K colors, 8080 8/16 interface, backlight, ILI9325 controller
http://tianma-europe.com/downloads/tm240320c1nfwgwcv1.0.pdf

The LCD is soldered to the pcb via a mylar connector just like the Coby DP151.

Photos to come later http://forums.parallax.com/images/smilies/smile.gif

Steve, I hold you personally responsible for the diversion you have caused !!! LOL

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Post Edited (Cluso99) : 7/18/2009 11:44:48 AM GMT

Rayman
07-18-2009, 07:46 PM
I hold you both responsible!

Now, I'm very interested....

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Rayman
07-18-2009, 07:50 PM
The company that makes that one also makes several other 2.4" units. Wonder if they all use similar parts...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Cluso99
07-18-2009, 08:19 PM
Here is a photo of the pcb. It uses a variant of the processor IC in Steve's picture frame.

Update: Would have to use thin pcbs if we were to replace the pcb. The Xtal is a problem as it has to be located in an area where we can place a hole in the pcb. I don't know what freq the second watch can is. One will be 32KHz for the digital clock. Actually there is more circuitry than I expected. Pity the AX203 is an OTP. Erasable would have been fun to interface it to the prop and we would have USB2.0. We lose that when we replace the cpu with a prop.

Just wondering how I could simply get a bit more depth? I don't want to buy 2 iust to get another case although it would work gluing two cases back to back. Would be nice though - could stick a RamBlade in it also :-)

Of course it would be better just to program my Windoze phone, but no fun !!!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Post Edited (Cluso99) : 7/18/2009 1:56:11 PM GMT

Rayman
07-18-2009, 09:25 PM
I just noticed a 2.8" OLED unit at Walmart for under $30...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

jazzed
07-18-2009, 11:41 PM
@Rayman, A 2.8" OLED under $30 ? Can't beat that with a stick :) Can't wait to see the details.

@Cluso99, That's a sturdy looking case with some room for extras maybe.

The LCD looks like it will use 19 Propeller pins: D0:15, RD, WR/, RS. Don't you just love having 65K colors for a Propeller ?
Both the DP151 and Nokia Knockoff LCD have that; the format is 565 RGB (or BGR for DP151 LCD).

The ILI9325 LCD controller looks pretty easy -- www.sparkfun.com/datasheets/LCD/ILI9325.pdf (http://www.sparkfun.com/datasheets/LCD/ILI9325.pdf)
Here is a link to a nice AX203 package where I got my pin-out picture -- www.ccs.neu.edu/home/bchafy/ax203_info.zip (http://www.ccs.neu.edu/home/bchafy/ax203_info.zip)
That link comes from this interesting page -- picframe.spritesserver.nl/wiki/index.php/Talk:HK_Unbranded_with_AppoTech_chipset (http://picframe.spritesserver.nl/wiki/index.php/Talk:HK_Unbranded_with_AppoTech_chipset)
We are not the first to visit this type of hack. There is some idea that the AX206 used on the the DP151 is programmable ... didn't notice that before.
1MB of SPI Flash on board. LION battery. Now all you need is a uSD card :)

I was looking at the DP151 stack-up again, and it looks like 0.92" PCB to LCD clearance.
The current FAB is 0.42" ... hope I can find a cheap vendor to do that size.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-19-2009, 01:45 AM
Steve: From the extra info you have found, looks like we could just substitute the Windbond SPI interface with the prop to provide the picture out to the AX203 (AX206 in yours). Maybe cut the SPI tracks to the Winbond chip and re-route via the prop. Your thoughts???

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-19-2009, 02:09 AM
You could try that as a "video interface" for Propeller I guess, but the update rate is way too slow (for the device I'm using at least ) for that to be practical. If you don't care about the update rate, that wouldn't matter much. The simplicity of the hardware connection is attractive of course.

If the DP151's AX206 is really downloading/running code from the SPI Flash, I could see maybe using this as a hack for modifying the AX206 run-time -- the AX2** devices are based on 8051 code, so conceivably you could write apps for that. Lots of hacking would be necessary to understand the details.

I probably won't pursue either of these possibilities. I have other nuts to crack that seem a little more tasty right now :)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Microcontrolled
07-19-2009, 02:27 AM
And what might those be?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

jazzed
07-19-2009, 02:42 AM
That was a Squirrel metaphor :) Don't read anything into it that is not there :) Some say I'm a little nutty (I'm not fruity though).

I'm trying to figure out another way to make better use of existing Propeller memory and external serial devices that would be reasonably fast and be compatible with current Propeller programming methods ... read this: en.wikipedia.org/wiki/Paging (http://en.wikipedia.org/wiki/Paging).

Of course I have these boards to design to make hacking the DP151 easier. Soldering wire-wrap to tiny little SMT propeller pins is exhausting and impossible for some people who participate here. Writing the instructions for showing others how to solder those little pins and where it all connects is equally difficult.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
07-19-2009, 07:00 AM
Just FYI: I may have said the flex cable is Mylar... But, upon further reflection, I'm pretty sure it's Kapton.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Cluso99
07-19-2009, 07:56 AM
I said mylar :-( I don't know the difference and cannot see the actual mylar/kapton properly anyway (yet).

The AX... series are 8051 OTP based extensions. I noticed they seem to switch some instruction sets on the fly. Inc -> Dec, etc. They have been specifically targetted for photo frames and have a security bit.

Steve, thinking about substituting the flash with the prop. Since the AX... does not have much internal ram memory, it would have to fetch the display buffer row by row, so would be fast -OR- is the screen buffer held in the controller chip on the LCD (and therefore it is the 8051 that is replacing this slow) ???

Shame we cannot get to the USB 2.0 interface on the AX... I am presuming these chips are not readily available except in masses to photo frame builders ???

The 65K colors is great, but for that we will require external memory on the prop as 240x320 = 76.8K pixels x 16 bits = 153.6KBytes. So if we only use hub ram then we have to reduce resolution or colors - ouch!

However, I am extremely happy with my buy - may get a couple of extras as they are on special which may mean they are discontinuing them. The display and case is too good to miss at this price http://forums.parallax.com/images/smilies/smile.gif

Postedit: Steve, does the DP151 have 2 xtals?? If so, it the second one 24MHz??? I don't have anyway to measure mine and from the spec it has to be 24MHz to double internally to 48MHz for USB2.0. The watch can is a nice size - I must try mine out on a prop. 24 & PLLx4 -> 96MHz (will try 24 & PLLx8 -> 192MHz for overclocking just in case it works)



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Post Edited (Cluso99) : 7/19/2009 1:20:13 AM GMT

jazzed
07-19-2009, 08:24 AM
Cluso99 said...
... The 65K colors is great, but for that we will require external memory on the prop as 240x320 = 76.8K pixels x 16 bits = 153.6KBytes. So if we only use hub ram then we have to reduce resolution or colors - ouch! ....

I guess that all depends on how you make your images :)

The LCD has all the memory we need for display. The animations I made do not use Graphics.spin and some big buffer. I'm not sure how Rayman is doing it, but he has Graphics.spin running with his PSM and it's pretty awesome :)

The Propeller Beanie in my last demo video was taken from the Parallax web site and run through a variant of Andre's bmp2spin converter. I was thinking about how many colors to use this morning. The beanie was only 4; 16 colors per sprite should not be very hard to do.

The update rate I'm seeing for the pictures may be a function of how fast the data can be fetched from the SPI flash by the 8051 (which appears to be running at 24MHz). I've had a Propeller running with RCFAST on the Nokia Knockoff which is SPI, and the update rate was comparable. The LCD controller for the DP151 has some built-in picture format modes, but I don't know if they work or not.

The Kapton data sheet shows melting point at 400C or > 700F ... that's wonderful for my heat gun :)

As far as prices go, I'm very happy with the margin available for the DP151 at $11. You've probably seen what I mean on Alibaba. Did you see the tear-drop frame? It's cute.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-19-2009, 08:32 AM
I liked the DP152 as the buttons are on the front, but still only 1.5".

The 2.4" that I bought seems the cheapest in Australia. eBay has the Coby 2.4" but almost $40. Plus I like the better resolution of 240x320. The LCD interface is the same as yours.

Now, need a keyboard - can hack an old iMate JasJam for a small qwerty keyboard. Or maybe design a capacitive pcb and a PSOC chip. I just have to get my RamBlade and TwinBlade pcbs out - but I keep getting new ideas and distractions (and not much time) :-(

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

looking
07-22-2009, 09:49 PM
Hello,

it is also possible to check for an AX206 without opening the frame:
- connect to USB
- press and hold down the reset button
- press and hold down the menu button
- release reset button
- release menu button
-∑the LCD will stay inactive and the AX206 will enter a special mode (boot mode?)
-∑it appears as USB HID device "BL206", idVendor = 1908, idProduct = 3318
- to terminate the special mode, just press reset button short

Has anyone found a 2.4" frame (320x240 pixels) that uses the AX206 (not the AX203)?

jazzed
07-22-2009, 10:24 PM
@looking, Hey thanks for this, and welcome to the Propeller forum.
Assuming the menu button is the center of the 3 buttons on the DP151, which is the reset button?
It would be nice to be able to compile/run programs the AX206.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

looking
07-22-2009, 10:41 PM
jazzed said...
@looking, Hey thanks for this, and welcome to the Propeller forum.
Assuming the menu button is the center of the 3 buttons on the DP151, which is the reset button?
It would be nice to be able to compile/run programs the AX206.


Right, the menu button should be in the center.
I do not have a DP151, I have a noname frame from Ebay, the menu button is labeled "M".
The reset button is not a real button on the backside, there is just a small hole labeled "reset". By using a paper-clip, a reset can be performed (inside the frame behind the small hole, there is a button).

jazzed
07-22-2009, 10:48 PM
Cool :) That helps. I just found a web page that has a project / pictures of one of those EBAY photo-frames.
74.125.127.132/translate_c?hl=en&sl=ru&tl=en&u=http://fotki.yandex.ru/users/ioan-ar/album/67634/&prev=hp&rurl=translate.google.com&usg=ALkJrhhwD6CyXms47CNJsGn59DcE5uUlYA (http://74.125.127.132/translate_c?hl=en&sl=ru&tl=en&u=http://fotki.yandex.ru/users/ioan-ar/album/67634/&prev=hp&rurl=translate.google.com&usg=ALkJrhhwD6CyXms47CNJsGn59DcE5uUlYA)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-23-2009, 12:08 PM
@looking: Thanks for the info.

@Jazzed: Now you know how to tell what is inside the photoframe (AX203/AX206) can you check the 3.5" one you bought?

I would think a pcb which replaced the rear panel on my 2.4" may be the way to go. That way I could put the prop, etc on this pcb and just wire what is required to the existing pcb, removing of course the AX203, etc. The alternative is to just replace the existing pcb and rewire the LCD. Yet another posibility is to remove the battery and use this space, but then you lose the battery function.

I am thinking about the keyboard - maybe an old phone with an alphanumeric keyboard? I am keen on a projection keyboard but they are a bit $$$.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

nightwing
07-23-2009, 02:34 PM
If you can find it. There actual a thread here about a very small keyboard called Micro datapad. Was for Palm m100/m105 PDA...

Oldbitcollector (Jeff)
07-23-2009, 08:24 PM
Here's the thread for those keyboards...
http://forums.parallax.com/showthread.php?p=702473

I believe bean may still have a few of these for sale if you PM him.

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Visit the: The Propeller Pages (http://www.warrantyvoid.us/tiki-index.php?page=Propeller) @ Warranty Void.

nightwing
07-23-2009, 09:38 PM
Tnks for the link... Remember seeing it but forgot to save that link.

Also just saw a mouse pad connected to a arduino over at hack a day.

Now if a small touch screen system could be cooked up. Similar to some of the adapter for POS and standard monitor... etc...

jazzed
07-24-2009, 01:40 AM
Using the DP152 that Cluso99 mentions, one might put a tiny joystick on the front in place of the center button.
Another center button replacement is a three position switch that could be used to control an on-screen keyboard.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

nightwing
07-24-2009, 05:31 AM
jazzed said...
Using the DP152 that Cluso99 mentions, one might put a tiny joystick on the front in place of the center button.
Another center button replacement is a three position switch that could be used to control an on-screen keyboard.


Wonder if a micro trackball like from a blackberry could be hooked up...

Cluso99
07-24-2009, 10:26 AM
I have an old dead camera that has a joystick button - haven't looked at it but could be a nice addition.

OBC: Thanks for the keyboard link. I haven't had time to play yet so will keep that option in mind.

I would like to add a touch screen, but I want to make it. Otherwise, I may as well use my old iMate JasJam phone (touch screen, qwerty keyboard, etc.)

A friend of mine has now also bought the same photoframe as me (they must be on runnout as they are reduced from A$50 to A$20 at Target, Australia)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

nightwing
07-25-2009, 11:04 AM
Dug into the bone yard and found a palm Z22.. 160x160 touch screen... Hum... Be nice to make a moble prop thing...

jazzed
07-25-2009, 12:25 PM
I know of at least one person that's hacking a PDA phone that has a qwerty keypad :)

The reverse bias LED trick for making a touch screen might be usable on a small display like the DP151/152. Depends on how far the LED can detect an obstacle. If that works, the LEDs would have to be SMT and at least 3 would be necessary for triangulation and 4 would be better. You might even make an iPhone-like finger squeeze or expand feature work.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

nightwing
07-26-2009, 05:01 AM
No keyboard on this one. Just a touch screen.

Would be intresting if possible to replace that chip with this or tie into any graphic chipset it had.

Microcontrolled
07-27-2009, 01:08 AM
Try this keyboard:

http://www.sourcingmap.com/black-cellphone-replacement-parts-keypad-button-for-nokia-e71-p-39852.html

Took me a while to find it. Hope it helps!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.


If it's not Parallax then don't even bother. :-)


Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap∑shipping unless specified!∑∑∑∑∑∑∑∑∑∑150 left!!∑∑

Sapieha
07-27-2009, 01:19 AM
Hi microcontrolled

It is only KEY's with resistive top's.
You must design Yours own boten plate to it if You will have it as KEYBOARD to Propeller

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it∑as simple as∑possible yet as versatile as posible.


Sapieha

nightwing
07-27-2009, 11:07 PM
Back in the mid-late 70's even a regular keyboard were a bit tough to get...

Saw some designes using conductive foam, a pcboard with a pen and wire etc.

Saw a keyboard made from those small momentary switches used for reset somewhere.

Else there is hacking a Xbox 360 keypad. Think its a serial device...

Cluso99
07-28-2009, 12:05 AM
Keyboards using reed switches and magnets were common in the early 70s and progressed to hall effect switches in the later 70s

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Post Edited (Cluso99) : 7/28/2009 5:40:26 AM GMT

Rayman
07-28-2009, 12:08 AM
Personally, I think a touchscreen keyboard is the best solution to the mobile Prop'ing problem...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ∑http://www.rayslogic.com/propeller/propeller.htm

Cluso99
07-28-2009, 12:40 PM
Just received an email about Cypress PSOC for touch screen implementation. Haven't had time to check out their website yet, but his could be an interesting way to add a touchscreen to our prop SBC's (single board computer) http://forums.parallax.com/images/smilies/smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Cluso99
07-30-2009, 09:07 AM
I have just been doing a bit more research into the display (mine is 2.4").

The ILI9325 datasheet says it has a SPI mode. Steve, did you see if this exists??? It also states that when using an 8 bit bus use the upper data pins DB8-15. Since you connected to D0-7 and it works, I wonder if I have a different ILIxxxx driver chip.

BTW: My unit has a speaker.



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

jazzed
07-30-2009, 12:01 PM
Yes, the DP151 LCD does have a SPI interface.
It would simplify a hack considerably, but will too slow for interesting graphics.
I've already been through a SPI LCD driver for Sparkfun's Nokia Knock-off :)
See here www.youtube.com/watch?v=YalcMqkdHEU (http://www.youtube.com/watch?v=YalcMqkdHEU)

Cool, you could draw eyes on the LCD and make it talk.
Wonder how vocal-track would sound saying "Hi honey! Feeling lucky?"

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

jazzed
07-30-2009, 12:53 PM
For those who don't mind the performance hit, I guess with just a few cuts, jumps, and a 2 pin female header,
you could have a Serial LCD + 3.3V USB rechargable battery for your Propeller project.

If there is any interest, I would be willing to develop the code and rework these devices for forum participants.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
07-30-2009, 12:57 PM
Just went to buy some more 2.4" photoframes. :-( none left - will have to search other stores.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

looking
07-30-2009, 03:47 PM
Does your 2.4" frame use an AX203 or an AX206?

Thanks.


Cluso99 said...

I have just been doing a bit more research into the display (mine is 2.4").

The ILI9325 datasheet says it has a SPI mode. Steve, did you see if this exists??? It also states that when using an 8 bit bus use the upper data pins DB8-15. Since you connected to D0-7 and it works, I wonder if I have a different ILIxxxx driver chip.

BTW: My unit has a speaker.

Cluso99
07-30-2009, 04:35 PM
Its just an AX203

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

nightwing
08-01-2009, 11:06 PM
Just saw this over at sparkfun...

Microtrackball like in a blackberry... Not sure if requires other parts but nice...

http://www.sparkfun.com/commerce/product_info.php?products_id=9308

Harrison.
08-01-2009, 11:19 PM
jazzed said...
For those who don't mind the performance hit, I guess with just a few cuts, jumps, and a 2 pin female header,
you could have a Serial LCD + 3.3V USB rechargable battery for your Propeller project.

If there is any interest, I would be willing to develop the code and rework these devices for forum participants.


I'm very interested in a SPI interface for the display. I've actually been following this thread closely and have purchased a DP151 for hacking. I just haven't had time to hookup a prop to it.

jazzed
08-02-2009, 01:37 AM
Harrison. said...

I'm very interested in a SPI interface for the display. I've actually been following this thread closely and have purchased a DP151 for hacking. I just haven't had time to hookup a prop to it.

Hi Harrison,

I'll take a break from my current fascinating project on Monday or Tuesday and see what I can do.
The header actually needs 4 pins for VDD(3.3V out for propeller power), VSS, CLK, and D0 ....
The easiest placement for the male/female header would be on the left side top near the battery connector.
Hopefully, I can come up with some easy rework instructions that my wife would happy to follow http://forums.parallax.com/images/smilies/wink.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

jazzed
08-05-2009, 04:46 AM
Harrison or others who may be expecting some DP151 SPI connection results today:

I've identified 4 cuts and 4 jumps on the board to isolate the LCD from the AX206.
SCL and DI/DO cuts are pretty easy and are on the battery side of the board.
CS* cut is on the top side and may be moderately difficult.
The function select FS3 bit is on the top side right under the flex-cable and will be hard to cut.

The FS3 will need to be soldered to the adjacent FS1 (GND) on the LCD pins.
If FS3 (+3V but not VDD) is not cut completely the end result is unknown but may be destructive.

I'll do this rework on a unit this afternoon and start adding SPI code to my existing driver.

UPDATE: well I destroyed the LCD http://forums.parallax.com/images/smilies/mad.gif I'll start another one fresh first thing in the morning.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Post Edited (jazzed) : 8/5/2009 12:50:41 AM GMT

jazzed
08-06-2009, 07:45 AM
Progress UPDATE: I have the device connected in "9 bit serial SPI mode" but can't get it lit.

There are notes in the data-sheet about tying some parallel control pins to VDD and pulling up extra Dbits in SPI mode which I noticed after connecting the SPI pins, but it is unclear why that should be done. All I know is that when something like that shows up in a data-sheet, it's best to do it. Tomorrow I'll try that. Wish I had better news http://forums.parallax.com/images/smilies/eyes.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
08-06-2009, 09:01 AM
Keep it up http://forums.parallax.com/images/smilies/smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

hinv
08-08-2009, 07:55 AM
Any updates to your PocketProp code? I just bog my DP-151 today. For $8 including shipping on ebay!


Thanks,
Doug

jazzed
08-08-2009, 12:20 PM
No progress today Doug.
I was trying to get something else going. Now that is kind of settled, and I should get back to the SPI DP-151 code tomorrow.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Harrison.
08-09-2009, 01:38 AM
jazzed said...
I was trying to get something else going. Now that is kind of settled, and I should get back to the SPI DP-151 code tomorrow.

What you're doing is totally awesome and will give everyone access to a super inexpensive color lcd display. I can't wait to replace these ugly 2x16 lcds with a nice little color screen.

jazzed
08-09-2009, 11:39 AM
Ok, I've tried everything I know to do on the SPI interface with no luck.

Here's what I think is happening: The LCD flex cable only provides for parallel interface selection.

The Varitronix LCD spec show the interface type bits as IF1,IF3 with the same values on each entry of the truth table.
The Tianma LCD spec (a clone) shows the same bits as IF1,IF2 and no truth table which would mean parallel only.

I suspect that there are type-o's in the Varitronix spec and the IF1,IF3 pins are actually IF1,IF2 pins.

So, what to do with your DP151s ?

1. Hack the Propeller into the DP151 parallel interface the way I did.
2. Hack the LCD to bring the parallel interface pins out to a header for connecting to a Propeller.
3. Wait for me to make a Propeller PCB to replace the DP151s original PCB.
4. Wait for me to make an add-on Propeller PCB.
5. Wait for me to make a breakout board for connecting the LCD to Propeller.
6. Other

Making a breakout board (5) would PCB would be pretty quick and force me to make a land-pattern for the LCD.
After I get that going, I could quickly make a replacement board (3) or some other Propeller based PCB.

Let me know what you would like to see.

TIA

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Cluso99
08-09-2009, 01:50 PM
I would rather use the larger 2.4" screen which has 240x320 resolution. The 1.5" is just too small for me to see :-(

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

∑ Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),∑SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
∑ Single Board Computer:∑3 Propeller ICs∑and a∑TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
∑ Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
∑ Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
∑ Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ∑www.bluemagic.biz (http://www.bluemagic.biz)∑∑ MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

hinv
08-09-2009, 09:30 PM
Hi Steve
After looking at the pictures you posted, and comparing mine to yours, it appears that I have a different revision that is probably unworkable.
Mine has what I call a "drip chip", as you see in the attached photos it is chip epoxied right to the circuit board.
If you know what to do here, please let me know.

Thanks,
Doug

I am having trouble uploading the attachments. I keep getting resets.

Post Edited (hinv) : 8/9/2009 2:36:15 PM GMT

jazzed
08-10-2009, 03:12 AM
Maybe you have the 6502 downloadable version. Various hacks exist for a couple of versions. Try this link:
www.google.com/search?hl=en&rlz=1C1CHMQ_enUS308US312&q=dp+151+hack&aq=f&oq=&aqi= (http://www.google.com/search?hl=en&rlz=1C1CHMQ_enUS308US312&q=dp+151+hack&aq=f&oq=&aqi=)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve


Propalyzer: Propeller PC Logic Analyzer (http://www.brouhaha.com/~sdenson/Propalyzer)
http://forums.parallax.com/showthread.php?p=788230 (http://forums.parallax.com/showthread.php?p=788230)

Rayman
11-07-2010, 01:08 AM
So... I was at Bed Bath & Beyond and saw a decent looking 1.5" photo frame for $9.99 and decided to see if I could do like jazzed...

But, this one looks much more difficult to hack. I can't find any info on the LCD and the PCB is in the shape of a C with a big hole for the battery, which doesn't leave enough room for me to put in a Prop with just a 2-layer board...

But, I was so into it that I bought a Coby 1.5" and a Coby 1.8" off Amazon for ~$10 each. I saw a post that they're now on PCB revision#7, but I'm praying that they still have the same LCD module in there.

I'm going to try to replace the PCB with a custom one with a QFN prop and FTDI chip...

If I ever get it done, I'll have a nice unit that I can take on an airplane without looking like a terrorist...

jazzed
11-07-2010, 04:32 AM
Hi Rayman.

I've attached the latest code here for you. The code is pretty old and could use some optimizations and clean up. Pardon the mess.

Good luck on the plane. Just don't call it C5 :)

For some reason I can't get BST to make a good .zip with the files. Here are the files uploaded separately.

Rayman
11-10-2010, 12:49 AM
Just got the Coby keychains...
Well, the LCD in the 1.5" one has changed, it's now a 1.44" version. But, I think I have a good datasheet from the same place. I'll have to see, but I'm thinking I can use a QFP Prop and FT232RL USB chip, which makes it easier for me to prototype with...

The 1.8" one is nicer but there's a lot of problems... The screw is hidden behind an epoxy front panel. This may make it difficult make look like new again. The LCD is glued directly to the PCB and is hard to remove in one piece. Also, I can't find a datasheet for the LCD. Still, the bigger screen might make it worth the pain dealing with this one...

Rayman
11-13-2010, 01:15 PM
Just started designing replacement circuit board for the Coby DP151.

Here are scans of the top and bottom of the board.
I think there are only minor changes to the one jazzed had before.

So far, it looks to be very easy, no show stoppers. The LCD wiring looks to match the datasheet I have for the -04 version.

I'll reuse a lot of parts, especially the 8 Mbit SPI flash chip, battery, usb connector and switches.

Rayman
11-13-2010, 01:29 PM
But now I guess I'm hijacking jazzed idea and his thread...

So, I suppose I should start a new thread so as not to offend...

jazzed
11-13-2010, 02:13 PM
But now I guess I'm hijacking jazzed idea and his thread...

So, I suppose I should start a new thread so as not to offend...

I don't mind at all. Just give me a little credit for blazing the trail.

So how different is the LCD anyway? It looks identical to the ones I have.

Rayman
11-13-2010, 02:47 PM
Ok, I'll stay here for now then.
Looking back, I don't think you ever mentioned the LCD part number.
I suppose I thought it was the same as mentioned elsewhere on the web.
Anyway, here's a scan of the LCD part# label. Is this the same as yours was?

Either way, I think you're code will work because the controller is the same. I just peeked at your code and I think you used P0..P7 for data. That was my plan too since assembly code can be faster using those pins...

Updates:
1. Just figured out that the battery is charged directly by the USB 5V supply with just a 4.7 Ohm series resistor. I'm a little surprised that works. There appear to be places on the board for a more advanced charger, but they left it out... Actually, it looks like there's a Schottky diode (labelled SL) that drops the 5.0V to 4.7V before going to the 4.7 Ohm resistor.
2. There are 2 watch crystals. One is the standard 32.something kHz for time and the other appears to be 24MHz for the clock. I think I can use the clock crystal if I can fit in a DS1307 somewhere. I don't think I can use the 24Mhz crystal.
3. I think the smt part labelled 662K is a 3.3V LDO regulator, part number LY6206A33, but I can't find a datasheet.
4. I think the smt part labelled 2TY is a pnp transistor. One of them is used to supply power to the LED backlight. There's just a 10 Ohm resistor in series to limit the LED current.
5. I think the 3.0 voltage for the LCD is simply supplied using a Schottky diode to reduce the 3.3V supply. The diode is labelled S4 and is under the flex cable.
6. Not sure about the circuit with the transistor labelled J3Y. But, I think it's some kind of power on reset circuit.

jazzed
11-13-2010, 03:44 PM
It's the same.

You'll enjoy these attachments. I've also included the controller, Flash, and AX203 docs.

Cluso99
11-13-2010, 07:28 PM
Nice work Ray. It seems those keychains are over here in Oz for $10 now. I have the larger 2" or 2.5" one but didn't do anything with it. Cannot believe it was over a year ago.

Rayman
11-13-2010, 08:32 PM
I just got a few more red ones for under $10 with free shipping. I'm set on doing this now...

My circuit board thickness is a bit of a problem... The ExpressPCB board thickness is much more that this one. I'll have to replace the switches with lower profile ones to make it fit. But, I just looked at Digikey and I think I see something that will work...

Cluso99
11-14-2010, 02:11 AM
Ray, have you thought of making the pcb slightly larger which sandwiches between the case top & bottom? I often do this as it actually makes it an easy mount in some standard boxes.

Rayman
11-15-2010, 01:42 AM
Ray, I'm not exactly sure what you mean... I don't really see a way to move the board because the switches and USB have to line up...

BTW: I've started the schematic and layout for the board... Here's what I've got so far:

jazzed
11-15-2010, 02:39 AM
Just some thoughts ... One tough thing will be getting the LCD to rest squarely against components. Why don't you add a dual footprint for the FLASH / SDCARD? I would be inclined to let Brad's USB serial port handle communications. The FTDI is fine, but as you know, it's a PITA and is taking lots of space.

Cluso99
11-15-2010, 07:08 AM
My new designs are hopeful that we can get USB to function using the prop and no FTDI chip. If it works, then a USB command can be used to cause a reset provided the USB cogs have not frozen.

Ray: I have used a larger pcb which sandwiches in between the two shells of the case - the pcb actually fits in between the case but extending outwards to the outer edge of the case making the case 1.6mm (pcb thickness) thicker. Of course this depends on the pcb being at the point of the case join. Its just a suggestion that may work.

Rayman
11-16-2010, 11:50 PM
New PCB layout is finished (I think). This one was a real challenge, but I think I have everything hooked up. I'm just upset that I didn't make the 2PM deadline for ExpressPCB and now have to wait until Monday for the boards...

jazzed
11-17-2010, 03:02 AM
New PCB layout is finished (I think). This one was a real challenge, but I think I have everything hooked up. I'm just upset that I didn't make the 2PM deadline for ExpressPCB and now have to wait until Monday for the boards...
Looks great Rayman.

Rayman
11-24-2010, 02:13 AM
Got the boards yesterday and started soldering it today... First, I got the FTDI chip talking over USB. Then, I added in the voltage regulator, then the Propeller. Then, the LCD. Put in the 24 MHz crystal for the Prop.

Prop is working fine. Am able to use fullduplexserial with the attached PC.

But, I haven't been able to get the screen working yet... My pins are all different from jazzed and I actually have P0..P7 going to D7..D0 (for ease of routing), which makes converting his code difficult.

I am able to set and read a 2-bit ID from the LCD, so I think I'm on the right track...

Rayman
11-24-2010, 02:15 AM
BTW, I ordered some red ones from J&R, which turned out to be a mistake because they have a completely different PCB and LCD. And, the LCD part number comes up with nothing on Google, so that's a dead end...

jazzed
11-24-2010, 02:45 AM
I remember having trouble getting this to light up before. I could take a day or two to help you get this working with my driver which if nothing else would confirm your design will function. I think you have my address - PM me if not.

I sense that you wouldn't want to use my driver which is fine since I see things that I would do differently too :D, but I've made this work before. So, here I am if you get stuck.

BTW, I'm pretty sure I have D0-7 connected to P0-7.

Rayman
11-24-2010, 10:55 AM
jazzed, thanks, I may need your help. I have no idea why it's showing a blue screen.

I'm using the same pins for data, but in reverse order from what you had. That's the problem... Your driver code looks fine.

I have a few spare boards now. I can send you one, if you want. There are just a few issues with them. Most noteably, I had the pin order backwards on the USB connector when I moved it to the bottom layer. So, it needs some knife work and jumper wires...

jazzed
11-24-2010, 03:41 PM
I'm using the same pins for data, but in reverse order from what you had.

Ok :) I never dreamed that bit connections would be reversed.

It should be easy enough to use "REV data,#24". Unfortunately there is no
one subroutine for read or write since I was focusing on performance.

What extra parts are necessary to stuff the PCB?

Rayman
11-30-2010, 01:44 PM
This thing was really driving me crazy! I just couldn't get the display to do anything... So, I figured it was damaged somehow. Opened up another white and black Coby and wouldn't you know it, they each had a completely different display. The boards are the same though, so that's good. I melted the white one's display trying to get it off with a hot air gun.

Got the new black one's display off intact, but after hours and hours, couldn't make the thing work. Figured I may have broke it so I took it off my board and put it back on the original board and it still worked. put it back on my board and after hours and hours finally got it working yesterday :)

But, I'm a little troubled because I'm not sure why this 10th or so try at a driver works and all the other ones don't. I think it's something in the init sequence, but not sure what...

jazzed
11-30-2010, 03:16 PM
But, I'm a little troubled because I'm not sure why this 10th or so try at a driver works and all the other ones don't. I think it's something in the init sequence, but not sure what...
Does it work every time now?

Rayman
12-01-2010, 03:38 AM
It does seem to work every time now. And my previous attempts still don't work...

This display is part# TXDT144C-7735R
Found this number on a website and it appears to be a TFT display, which is actually better than the other CSTN one. Can't find a datasheet for it though...

I've attached my new driver/test code. It's in SPIN. I'll convert it to Assembly soon...

Rayman
12-03-2010, 01:12 PM
Just got TV_Text mode working :)

76011

Graphics Demo is next!

jazzed
12-03-2010, 03:40 PM
Just got TV_Text mode working :)

Looking good.

I just love the fact that you don't have to use propeller memory to do video and 65K simultaneous colors are possible.

Having any luck with the built-in Flash?

Rayman
12-03-2010, 04:08 PM
Haven't tried the flash at all yet although I do have it soldered in... I also have a tiny RTC chip to test out. I put in the pads for a tiny speaker, but haven't actually ordered that yet...

I'd like to put in an 3-axis accelerometer chip, but I don't know if there's room...

My real problem right now is the buttons... My original plan isn't working because the LCD pushes down on the buttons which pushes them into the plastic bottom of the switches, which then won't let the switches push in... But, I did find some really tiny switches on Digikey that I'll try. It's either that or take a knife to the buttons...

HShanko
12-03-2010, 06:59 PM
Rayman,

Looks like one can display 4 lines of 8 characters, yes?

Harley Shanko

Rayman
12-03-2010, 07:11 PM
Using the straight ROM font, that's right. But, jazzed has already used a smaller font with it. I hope to have the "Graphics.spin" vector font working with it soon too...

I can also bring over a few smaller fonts from my PSM code...

Cluso99
12-03-2010, 10:25 PM
I have noticed that there are now plenty of 1.5" keychains available in Australia for $10. Not sure if they are the same.

As I said earlier in this thread, I bought a 2.5" version ($20?) that used the same chip so it should be easy for me to get this going when time permits. I would rather a larger screen.

Rayman
12-04-2010, 12:41 PM
Graphics Demo! Screen update is very fast (Now have 5 MHz crystal installed).

76077
There's a video in the attached zip file.


When they were ~$20 I was able to resist the temptation to hack these things... But, now that they're <$10, it was too hard for me not to crack them open...

PS: Just opened up a Blue one from Amazon. It has the original COG type LCD with the same circuit board. I think I'll see if this display will work with the new driver too... I have a guess that they made the different LCDs perfectly compatible so that no changes to the board design or firmware had to be made...

Rayman
12-06-2010, 06:03 PM
I think I just thought of a way to use this as a PropPlug. There's a PropPlug 4-pin header on the bottom of the board. It's there in case the FTDI USB chip didn't work out. But, since the FTDI chip works, you should be able to plug this board to any other Prop board as if it were a Prop Plug.

Only problem is that the reset line would reset this board as well as the one you want to program. But, what I can do is put in a resistor between the reset transistor and the Prop's reset pin. Then, I can run a new wire between the Prop's reset pin and one of the three buttons. Then, you can just push the button to prevent reset. So, you can just push a button to use this thing as a Prop Plug.

Tubular
12-06-2010, 06:52 PM
Lol, a visual prop plug for less than $20? I spotted those Coby's in Frys and was very tempted, but "didn't". Must not until I've put my Zipit2 back together.

Does the reset issue prevent us having a fancy bar graph as the target prop is programmed?

jazzed
12-06-2010, 07:21 PM
Bar Graph indeed :smile: Waiter! I'll have another Manhattan! ... Oops, wrong bar.
The Propeller could be configured as a FIFO with extra pins connecting to the other device.

Baggers
12-06-2010, 07:40 PM
Jazzed, Rayman, are either of you selling a unit? converted with Prop Inside?

jazzed
12-06-2010, 10:05 PM
Jazzed, Rayman, are either of you selling a unit? converted with Prop Inside?
I've never produced a board for this and doubt I ever will. I bet Rayman will be happy to sell a few dozen or more though.

Rayman
12-06-2010, 10:32 PM
I'd like to sell just the boards, but I doubt that would help anybody because the LCD is difficult to remove without special tools.

I'd like to do a short run of 16 or so units, but have a few problems:

1. The cost is likely to be $30 even if I don't make any money off of it.
2. There seems to be a different type of display in almost every unit I open. This means several different versions of the initialize routine. And, I've yet to get the CSTN working right.
3. I'm not sure I'll get the switches working right with the case closed flush.

4. I'm not actually sure if there's any demand...

Cluso99
12-06-2010, 10:50 PM
Ray, what about the larger 2.5" version like I have. Are they easy to find in the US? There is more room in these units and they have a nice battery (LiPo?) which could be replaced with a pcb. IIRC I attached a photo in my post earlier in this thread. I just think a larger version would be more practical provided the units can be obtained readily and cheaply. IIRC Officeworks (in Oz) have plenty of them at $20??

jazzed
12-06-2010, 10:58 PM
In one of the projects I have planned, I will be buying generic housings, LCD's, etc.... so that I can control the components. Of course the primary product volume will be high enough so I can harvest the economy of scale as a secondary beneficiary. I bet that you could buy everything except the PCB but the parts in total may actually cost more than the finished product.

Baggers
12-07-2010, 01:28 PM
No worries guys, was just wondering, like you say Rayman, if it gets silly and each one being different, it's probably not worth the hassle.

Rayman
12-07-2010, 08:44 PM
Ray, what about the larger 2.5" version like I have. Are they easy to find in the US?

Ray, I've often thought about hacking into cheap displays. I like this one because it's tiny. I'm not really interested in larger ones. Although, I have seen 7" digital photo frames around for $30 now... That's got me thinking...

Rayman
12-07-2010, 09:19 PM
I think I finally have the CSTN type LCD working...
Cheated though and rigged up this setup to sniff the init sequence...
76156

Rayman
12-10-2010, 07:59 PM
More progress:

Got graphics demo working on the CSTN type displays.
Able to talk to the Flash and Real time clock now.
Found a spot for the 3-axis accelerometer.
Got a break and found one unit with smaller, 1.5mm high switches and was able to find them on Mouser.
Now, I have confidence that I can get the switches working...
Running of the LiPo battery pack now. Haven't done stress test yet, but it went >1 hour with backlight on full.

If everything works out, I may have some to sell by XMas :)

PS: I found a compatible 32MB SPI flash chip on Digikey for <$4
PSS: I put in a couple pads that if you solder together, will allow you to force reset high and therefore use as a PropPlug

Rayman
12-12-2010, 01:37 AM
Here's a photo of the unit I'm testing out the PropPlug mode with...
I've decided to hardwire a spare Prop pin directly to the Reset line to prevent the DTR signal from causing a reset. There is a potential problem that a code mistake could make it impossible to reset the unit without unsoldering the battery. I've made sure there's a trace we can cut with a knife to dissable this feature though.

This 4-pin header detracts from the visual appearance a bit, but some people might find it useful. You could also plug this into a breadboard and use it as a serial display...


76257

jazzed
12-12-2010, 01:50 AM
Looks great!

Rayman
12-20-2010, 01:51 AM
76484
Got the new batch of PCB boards in! Suprisingly, I don't appear to have made an major blunders this time. I'm still checking it out, but so far everything seems to work.

Major advance is that the buttons work now...

I've added these optional features:
1. A Prop pin is connected directly to the Reset line so that the device can be used as a PropPlug replacement.
2. Added an SMT speaker/buzzer so that it can be used as an alarm clock. It may also play music, don't know yet.
3. Place for a 3-axis accelerometer.
4. As an afterthough, I think I found a way to use 1 pin to measure the battery voltage. Still needs to be tested...

I think I can take orders soon, if anybody is interested... I'm still thinking about a name, but am leaning towards PKS (Propeller Keychain System).

Bean
12-20-2010, 01:55 AM
Oh, I'm in for a couple of them.

What is the price ?

Bean

Rayman
12-20-2010, 02:12 AM
I'd like to have the price start at $30, but haven't look close enough at that yet...
I'll probably do as low a base price as I can and then sell optional extras to make a profit...

One dilema I have is that Amazon.com will only sell me 3 of each color...

I can get them elsewhere, but for more and without the free shipping...

Bean
12-20-2010, 12:27 PM
Rayman,
$30 sounds okay.
How about 4 for $100+shipping ?

Bean

wjsteele
12-20-2010, 04:48 PM
At that price... count me in for a few as well! I like the four for $100 idea.

Bill

Rayman
12-20-2010, 05:30 PM
I'll probably have to impose an initial 2/person initial limit because supplies are so limited and I'd like to get these into the hands of as many developers as possible...
Let me take an inital stab at my costs:
$10 for the Coby
$9 for the PCB (that will come down if I later order a huge batch of boards)
$8 for the Prop
$5 for the FTDI chip
$3 for the RTC
$3 for the switches
$2 for the eeprom
$1 for the 5MHz crystal
$1 for the header
$1 for various resistors and capacitors.
-> So that's $43 without any profit...

But, I can leave off the FTDI, RTC, EEPROM, header and 5MHz crystal (and run at 24Mhz with the Coby crystal).
Then, it's down to about $30.

Ooops, forgot to add $4 for the optional speaker.

Bean
12-20-2010, 05:51 PM
Rayman, I would want fully populated. Just name your price.

Bean

David Betz
12-20-2010, 05:56 PM
I'm jumping into this thread late. Could someone point me to the message that describes rayman's board in detail?

Edit: I've read over the thread and I understand now what rayman is doing. Count me in for one full kit.

Thanks!
David

jazzed
12-20-2010, 05:58 PM
I'll take a PCB and a parts list with part numbers. Paypal?

Rayman
12-20-2010, 07:15 PM
jazzed, I'll give you a PCB for free, since you got me into this mess... List of part numbers may take a while, but I can ship a board now... Just email me the address where you want it...

Bean
12-20-2010, 09:45 PM
Okay you got us all excited with that $30 estimate. I want at least two even if they are $100 each.
PS I didn't see the accelerometer on the parts cost. I would like to have that too.

Bean

Rayman
12-20-2010, 10:20 PM
Sorry about that, I didn't add up the numbers until now... Still, I think it could be $30 for a bare-bones version eventually. But, it'll be much more fun fully populated.

I did leave off the accelerometer. But, that's only 2 or 3 dollars. I'm not sure I can put those on without a custom solder stencil though... But, I can try.

Bean
12-21-2010, 12:51 PM
Rayman,
That's okay if you don't solder it. Just include it and I can have the assembly staff at my work solder it on for me.
They can hand solder 0201 size resistors!!!

Bean

Rayman
12-27-2010, 08:25 PM
Did find a way to install the accelerometer...

Just found some time to work on this project...
Finally got data written and read back from the Flash chip.
I was hoping to use Mike Green's Winbond flash chip driver, but something must be different because it doesn't work for the SST chips of the Coby. Still, his driver is nice so hopefully we'll be able to fix that issue.

Also, tested the battery voltage monitor.

So, I think the hardware all checks out.

I tried to combine the CSTN and TFT drivers into one file, but there's just too many differences between them to make that simple...

Now, I'll start building units to ship out... Maybe by New Year...

Rayman
12-27-2010, 08:32 PM
Here are high-res scans of the top and bottom of the new circuit board.
Because the battery voltage monitor was an afterthought, it needs the red jumber wire to work...
7670276701
http://forums.parallax.com/images/misc/pencil.png

jazzed
12-27-2010, 10:47 PM
Looks great Rayman! You really should also consider selling blank PCBs for SMD adventurers.

Rayman
12-31-2010, 12:42 AM
Ok, first unit is off the assembly line! This one is for jazzed.
I've got one more gift to make and then I'll make them to sell.

76793 (This isn't a very good picture)
This one is with the TM128128 CSTN lcd. It actually has a slightly different init sequence, but the one for the COG CSTN lcd seems to work fine, so I'll leave it alone until I hear of a problem...


jazzed, I can sell the PCB for $12 each (+shipping). They cost me $9 each at this point.

I'll try to create a web page with sample code and schematic in the next couple days...

Rayman
01-06-2011, 01:26 AM
Ok, jazzed should get the very first production unit tomorrow (or maybe Friday).
So, I figured it's time to post some code...
I just uploaded all my current test codes to here:
http://www.rayslogic.com/Propeller/Products/PKS/PKS.htm

There's still a lot of work to do to turn these into an OS...

jazzed
01-06-2011, 02:11 AM
Cool. I look forward to taking it for "a little spin!"

Bean
01-06-2011, 12:45 PM
Rayman,
I'd like to purchase two when you get them made. Let me know.

Bean

Rayman
01-08-2011, 07:25 PM
Bean, Ok, I'm working on one for you now... Does $50 sound OK? That's essentially my cost, at least I think so (haven't crunched the numbers yet).
But, these things take forever to make right now. So, I would like to send just one for now. I think there's other people waiting... When I feel more comfortable with this idea, I'll invest in a stencil that will make it 10x easier...

I just completed the second unit and learned this: This one has a COG-C144 type CSTN LCD. For some reason, it needed a contrast setting of 90 instead of 60 like the other two TM128128 type CSTN displays needed. So, I'm not totally sure if this is a unit to unit variation or type to type variation. Anyway, I've now added a SetContrast() function call to the CSTN driver. BTW. I though my test unit was a COG-C144 display (and maybe it was at one point), but it's actually a TM128128, just like the one I sent jazzed.

Bean
01-08-2011, 08:57 PM
Rayman, Just let me know the amount and I'll paypal it to you.

Bean

Rayman
01-09-2011, 02:20 AM
Ok, but it may be a few days...
BTW: I just opened up a couple new Coby's and guess what... One has a different kind of Flash chip: 25Q80SCP
It appears to be code compatible, but who knows... I wonder if they could get away with copying the JEDEC ID or not...
Anyway, I'm starting to think that no 2 of these devices are actually the same...