Try putting a HIGH 4 : PAUSE 500 before the SEROUT as you are using Txxxx polarity.The program consisted of nothing but (on an 08M) :
SEROUT 4, T2400, ("?f4X20 Test w/ #107")
END
SYMBOL LCD = 4 ' Pin 3 (Output 4) for output to Serial IC
HIGH 4
PAUSE 500
SEROUT LCD, T2400, ("?f4X20 Test w/ #107")
END
In one of your earlier posts, the odd pixels only occupied the top line and not two lines. They also look like characters that can occupy the CGRAM on startup. Do they go away if you write text over them and if not, does more appear if you go onto the next line?however I still get those odd pixels on the RHS of the display as soon as I send the command to turn the internal power for the display on (see pic below).
Fortunately it does with this one. The description in the Winstar datasheet says that Clear Display instruction "Clears entire display. Sets DDRAM Address 0 into the Address Counter"...A clear display command (0x01) clears the display but does not reset the DDRAM address to 00H on the OLED.
...
If I write text, it goes straight over the top of those pixels that are lit and those pixels occur only on the first two lines. Those odd pixels still concern me.In one of your earlier posts, the odd pixels only occupied the top line and not two lines. They also look like characters that can occupy the CGRAM on startup. Do they go away if you write text over them and if not, does more appear if you go onto the next line?
Well if they don't want the faulty one back then you can consider it as a free 15x4 OLED module by covering up the damaged portion with black card or tape!UPDATE: Overnight I received an email from Winstar directly and they have confirmed the unit is faulty. Specifically they said "I am afraid this module is break" I will now wait (hopefully not another 2 1/2 months!) for a new display and begin testing from the beginning.
£24 does seem excessive for a 16x2, we will soon have them in stock for much less than that.Well, from the experiences here, the massive increase in price compared to an lcd doesn't seem worthwhile and this is putting me off shelling out for a large 16x2 one from Rapid for £24 but as power consumption is only better than a matrix-backlit LCD, OLED doesn't seem the way of the future. Plus, is there actually any way to dim them? The contrast ratio improvement probably won't be significant either but as i have never seen one in person and a lot of people in this forum have, I would like to know if it actually does look better.
The normal size OLEDs were just under £17 - this price were for the large one which is the same size as these LCDs here. As the OLEDs seemed to have slightly smaller characters than their LCD counterparts anyway, I thought that it wouldn't be worthwhile getting a small one, plus all the small ones have the connectors on either the top or side so wouldn't fit straight onto a breadboard that takes an LCD with the connector at the bottom as there will be a thick load of wires stuffed underneath it.£24 does seem excessive for a 16x2, we will soon have them in stock for much less than that.
OLEDs doen't have contrast, they are either on and off. And the contrast difference is absolutely stunning in real life, both in contrast and particularly with 'angled viewing'. Once you have seen one in real life you will not want to use an LCD if you can afford an OLED! OLEDs are more pricey at present, but will definately drop in price over the next couple of years.
Pin 3 is the contrast connection for LCDs and the OLED does not have a contrast (or backlight on pins 15 & 16)I decided to get the OLED display. After receiving it, I noticed that, although the datasheet says that pin 3 has no connection, it has got a track coming from it. What is the function of this?
The OLED's PCB lacks the spaces for a resistor ladder and has other things like an inductor mounted on it so it would be impossible for it to be re-used in LCDs. I also purchased a normal large character 16x2 LCD and that does have a different PCB.MearCat said:The pin layout seems to be a standard (although I don't know whether it's an official one). They probably maintain the same pinout so that it can be easily interchanged/upgraded from LED to OLED.
There's a GRAPHICS MODE!!!? Looking at my 16x2 OLED, there is an extra row of pixels between each row of text so that's probably for the graphics mode - so on mine it's 100 x 17 pixels. Ok, I'll work on getting the graphics mode to work. For the serial display, commands can be sent using 254,command but I do have a stripboard assembly for a 40X2 and a parallel LCD that I can use if the serial one doesn't work.To use graphics mode of the OLED I was using an 18A and sending commands directly to the display (not a serial backpack IC)
Write $1F command to OLED to change to graphics mode
Write $80 and $40 to OLED to reset CGRAM & DDRAM address
Write $FF to display a horizontal line of 8 pixels.
Have you got a link to the datasheet ?Any ideas why?
http://www.rapidonline.com/netalogue/specs/57-2296.pdfHave you got a link to the datasheet ?
I think this is an issue of the datasheet describing the controller capabilities which are different to what the 'glass' of the display supports. Graphics mode allows 16 x 100 pixels to be addressed, but from the earlier diagram there's only 16 COM and 80 SEG lines taken to the 'glass'.I've experimented with the graphics mode with direct connection to the PICAXE and it groups everything into the 16x2 grid so every five columns a column is automatically skipped. Any ideas why?
So the graphic display mode is rather useless and is just like an inconvenient-to-use feature which basically provides an infinite amount of CGRAM characters providing you can provide the normal characters as well... so a waste of time. Looking at the OLED panel though there are segments in between where the characters are so they could just be re-using a panel from a graphic OLED.It's a character display with 'graphic control', rather than a graphical display.
Although the instruction set says that there are only three selectable font tables, all four are actually selectable. If you like your Ss more curlier, your As pointy, and don't want the normally descending letters being a pixel taller than the other lower case letters, then the fourth character set is for you. It if the [FT1:FT0]=11 combination that the datasheet says is N/A. If you want to use it but also swap between OLED and LCD, you could use a jumper to select which you're using and use this initialisation code where displayselector is defined as a pin variable.The OLED has 4 different fonts built in, While testing things, I would frequently find that non-English letters would be displayed on the OLED display
lcddata = %00000110 : pulsout enable,400
lcddata = %00001100 : pulsout enable,400
if displayselector = 0 then
lcddata = %00111000 : pulsout enable,400
else
lcddata = %00111011 : pulsout enable,400
end if
lcddata = %00000001 : pulsout enable,400
I've checked pins 15 and 16 with a multimeter and pin 15 is at Vdd and pin 16 is at Vss, the opposite way around from what a backlight would normally be. Therefore, connecting these pins may damage the OLED.Pin 3 is the contrast connection for LCDs and the OLED does not have a contrast (or backlight on pins 15 & 16)
The pin layout seems to be a standard (although I don't know whether it's an official one). They probably maintain the same pinout so that it can be easily interchanged/upgraded from LED to OLED.
This is a totally unacceptable and unfounded comment - we do not ship sub-standard goods and these are received new this week direct from the manufacturer. Please think about what you are saying before posting. We have a good price because we buy in very large volumes.That's probably why Rev-Ed's new OLEDs are so cheap - they got a load of these on clearance (but I have no proof of this).
Tech - do you have any details the improvements that have been made in the new model?...these are received new this week direct from the manufacturer...
Excellent! Thanks Tech. One AXE133 purchase to be made soon...The AXE133 works fine with a 20x4 OLED - you can download the firmware file from the www.picaxe.com/products/axe133y page