Recent Posts

Pages: [1] 2 3 ... 10
1
OLEDs / Re: seps525 col/row line troubles
« Last post by dotmatrix on August 15, 2018, 09:53:42 PM »
as you can see , the more I move the  image toward column 159 the worse it gets... the image always starts at 0,0 then finshes at the programed column
2
OLEDs / Re: seps525 col/row line troubles
« Last post by dotmatrix on August 15, 2018, 09:51:43 PM »
another garbled image...
3
OLEDs / Re: seps525 col/row line troubles
« Last post by dotmatrix on August 15, 2018, 09:51:02 PM »
correct image
4
OLEDs / Re: seps525 col/row line troubles
« Last post by dotmatrix on August 15, 2018, 09:50:21 PM »
sorry, pic above is the scrambled image...
5
OLEDs / Re: seps525 col/row line troubles
« Last post by dotmatrix on August 15, 2018, 09:48:50 PM »
here is the correct image:
col: 0-19
row: 0-19
6
OLEDs / seps525 col/row line troubles
« Last post by dotmatrix on August 15, 2018, 09:37:16 PM »
I have the 160x128 oled module that I have been trying to get working for the last or year or so, I'm trying to dispay three 20x20 images, but they only display correctly when the row and column start at '0' (zero)
when I set the colmn to start at 0-19 and row 0-19 the image is fine, when I change the columns, for example, to 20-39, the image gets scrambled, the more I move the colums to the right or increment, the worse the image...   
7
Character LCDs / Mounting Question for .050" pitch LCD connector
« Last post by jimr on August 15, 2018, 02:11:25 PM »
I was wondering if anyone has any thoughts on connectors to mount a NHD-0220FZ-FSW-GBW-P . This module has .050 " pitch . On one side it has pins mounted. The other is open so I could put my own on there.  I wanted to mount the module directly to my main circuit board without a cable. Also I want it to sit up about 0.5" off the board so other components on the board are cleared. I am having trouble finding a header that tall in the .050" pitch. Just wondering if others have run into this and had any clever but reliable solutions.
Thanks
8
OLEDs / NHD-3.12 SSD1322 serial synchronization reset
« Last post by atdown on August 15, 2018, 10:01:50 AM »
Good morning, quick question as my first post.  I'm working with a NHD-3.12 and my embedded system power rails bounce for several mS when i turn the system on.  I've noticed this causes varied and random errors on my OLED.  I was wondering if the serial synchronization of the controller is reset every CS edge, or if only the RESET line can reset the serial sync.  I think that the startup noise clocks in a few bits, then when i go to transmit a command what i think is bit-0 isn't anymore.

Thanks!
-Alexander
9
Character LCDs / Re: R/W signal NHD-C0216CZ-FSW-FBW-3V3
« Last post by Felix on August 13, 2018, 03:14:56 AM »
Yes, unfortunately with the serial interface the controller's serial data pin is an input only. You would not be able to read from this display.
Therefore the display does not acknowledge a I2C access? On the display data sheet there is nothing mentioned. But the ST7032 LCD Controller datasheet describes this (http://www.newhavendisplay.com/app_notes/ST7032.pdf page 11+12, Figure 4).

Regards Felix

10
Character LCDs / Re: NHD-0420D3Z - Arduino I2C Address 0x28 SOLVED
« Last post by andywb on August 11, 2018, 01:24:36 AM »
If you read the NHD data carefully it does imply 0x50 is an 8 bit value with the lowest bit set to zero:-

"The default I2C address is 80 (50 hex). The I2C address can be changed to any 8-bit value by command
function, with the exception that the LSB (least significant bit) must always be '0'."


0x68 on the DS3231 is a seven bit address to which you have to add the read or write bit. You can use this directly in the Wire library as Wire adds the read/write bit.

The I2C call on the Parallax stamp uses an 8 bit address, Wire on the Arduino uses a 7 bit address and shifts it left.

On the Arduino you therefore have to convert the 8 bit NHD display address 0x50 given in the data sheet to 0x28 before you send it to the wire library. Wire will restore the address to 0x50 for transmission.

I should have realised this because when I looked carefully into my old PBasic Code I declared all the addresses in set up but on the call to the sub routine which reads the clock I found a shift left with a comment about this.

Other tips to save you reading additional threads - The NHD display cannot be powered from the Arduino 5v when the Arduino is powered from USB as the 5v supply falls to 4.69v. Maximum clock rate has been de-rated by Newhaven to 50KHz. Use Wire.setClock(50000L) after Wire.begin to reduce the clock rate. If you do not reduce the clock rate the display misses characters.

Update 14/08/2018 - The Wire page has a note about the 7 bit and 8 bit addresses which somehow I missed https://www.arduino.cc/en/Reference/Wire
Pages: [1] 2 3 ... 10