uOLED-128-G1 Screen Info

Does anybody know anything about that cute little screen ?

robotshop.ca/4d-systems-stamp-sized-intelligent-oled-module.html

It is small so it look easy to install on a robot to show some info… !
But how it is to make it work

Looks like it has a serial input so I’m thinking it would act like an LCD just more options.

Tanks

I think i will get it tomorow !
A lot of info online. Can send simple serial string. Will post when i will be on a computer.

Ok look realy interesting

Manufacturer site
4dsystems.com.au/prod.php?id=84

A youtube video i have found:

Here an exemple of code of another forum for this screen. Only the part to talk to the screen is important for me.
4d.websitetoolbox.com/post?id=4276976

[code]define OSC 20
ADCON1=7
CMCON=7

LastTag CON 3
X VAR byte
tagNum VAR byte ’ from EEPROM table
idx VAR Byte ’ tag byte index
char VAR Byte ’ character from table
buf var byte(10)

'************************************************* ****************

SYMBOL PWRLED = PORTB.2 'Software controlled power LED
SYMBOL RFID = PORTC.5 'RFID /ENABLE

'************************************************* ****************

Tag1 DATA “0415146D53” ’ 2 cards registered…
Tag3 DATA “30700D48A5”

'************************************************* ****************

HIGH PWRLED
HIGH RFID
PAUSE 1000

serout2 PORTC.0,84,$55] ’ uOLED Initialize

'************************************************* ****************

Reset:
gosub cls
PAUSE 1000

'************************************************* ****************

Main:

LOW rfid ’ activate the reader
SERIN2 PORTC.4,396,[WAIT(10),str BUF\10] ’ wait for hdr + ID
HIGH rfid ’ deactivate reader

Check_List:
FOR tagNum = 1 TO lasttag
FOR idx = 0 TO 9
READ (((tagNum - 1) * 10) + idx), char 'The Tricky Order of Operation
IF (char <> buf(idx)) THEN Bad_Char
NEXT
GOTO Tag_found
Bad_Char:
NEXT

Bad_tag:
FOR x = 1 TO 2
serout2 PORTC.0,84,$73,$6,$4,$0,$F0," ACCESS",$00] 'cmd,column,row,font,Color(msb:lsb),“string”,$ 00
serout2 PORTC.0,84,$73,$6,$8,$0,$F0," DENIED",$00]
NEXT
PAUSE 4000
GOTO reset

Tag_Found:
for x = 0 to 2
serout2 PORTC.0,84,$73,$6,$4,$0,$1F," ACCESS",$00] 'cmd,column,row,font,Color(msb:lsb),“string”,$ 00
serout2 PORTC.0,84,$73,$6,$8,$0,$1F," GRANTED",$00]
next
pause 4000
GOTO reset

CLS:
FOR X = 0 TO 2
serout2 PORTC.0,84,$45]
next
return
[/code]

As far as i know it look realy easy to use.

Looks like a neat device, the code looks quite simple , I noticed in the comments that it addressees row column, font ,color etc then string$ that looks straight forward.

Even for someone like me… lol

I will have it this PM and will post some info and video of basic command when have it… :wink:

I think I could use one for a visible voltage monitor and such on my bot…good eye candy and useful.

I look forward to your evaluation when you get it.

Got it to work hook to a PC.
I have made a custom software just for test.

Uploading the code now.

Communication is done and i have the value.

Now i need to hook some potentiometer to the BB and show that.

Any info about wiring a potentiometer, and the line of code ?
screen test #1.bas (3.22 KB)

sorry for the worst than poor quality video… iPod video…lol

It’s alive…!

I just made a picture.
http://farm6.static.flickr.com/5294/5449840088_09673a4239_z.jpg

The screen is realy good. But i wonder if i can have everything hook at the same time… Since i need Seria for SSC-32 + Screen and pins for PS2 controller. Any advice there to hook all that to the BotBoard with BasicAtom Pro 28 ?

I’m not positive but I think you can output serial TTL on other pins of the Atom Bot Board.

Yes, true any I/O pin can send TTL serial data.

Tanks Robot Dude and Putt Putt,

That’s realy cool to know, i was worry a bit about not having enough pins… :wink:

Is there any special interaction on other pins. Cause i have try P8 and P9 as serial out and the speaker was making funny noise.
Maybe it was too fast “115200” aint try any other speed.

BTW: I am learning a lot doing this, with BasicAtom Manual, and BSP28 manual… !

Some devices require using the “inverted” mode when using TTL serial. Because the normal RS-232 chips invert the data.

I have them plugged on P0 P1 and it work fine. But on P8 and P9 the onboard buzzer is doing some funny noise…
No problem here i will keep P0 P1.

A new video:

Look in HD since even the HD is poor… :blush: (iPod touch… don’t have anything else to make video)

I can say that it’s realy easy to use…!!
uOLED-128-G1 02-16-2011.zip (1.07 KB)

The speaker can be disabled… :wink:

Yes i know… :wink:
But i found a way that it work… so i’ll stick with it. :mrgreen:

Ok i have a question:

In the Phoenix code… i want to slip in my uOLED file…
I want to know where i can start it…

Some of my code need to be done only once… !
uoled-128-g1.bas (3.81 KB)

Pretty cool display! It would be interesting to use on the DIY remote. What baud rates does it support?