Jump to content

[SOLVED need help connecting newhaven oled


ultra

Recommended Posts

i'm trying to connect a newhaven nhd-2.8-2.5664ucb2 display (datasheet).

to get my 2.5v, i'm using a 10r/33r resistor voltage divider. after voltage loss on the ribbon cable to the breadboard, i have 3.27v from the core. so taking voltage off the 33r resistor (i think later i'll use a resistor/zener combination for efficiency) gives me 2.51v. perfect. that also leaves me with 76mA of current available, so there should be enough to power the display.

for wiring, i used the ssd1306 wiring diagram at ucapps. i think the pins match up enough to be fairly obvious, but my connections may be wrong.

here is how i have the display connected:

(edit: except for vdd/vss, i replaced all resistor dividers with 1k/330r)

1 VSS - lpc17 ground

2 VDD - lpc17 VDD (2.5v from 33r resistor)

3 NC - not connected

4 D/C - RS on lpc17 (2.5v from 33r resistor)

5-6 VSS - lpc17 ground

7 SCLK - E on lpc17 (2.5v from 33r resistor)

8 SDIN - RW on lpc17 (2.5v from 33r resistor)

9 NC - not connected

10-14 - lpc17 ground

15 NC - not connected

16 /RES - to VDD/2.5v via a 1K (this pin is active low)

17 /CS - D0 on lpc17 (2.5v from 33r resistor)

18 NC - not connected

19 BS1 - lpc17 ground

20 BS0 - lpc17 ground

i compiled and uploaded the sd1322 demonstration app from the repository. without the display connected, the core functions normally (led blinks a few times and i can still upload). with the display connected, the lpc17's led blinks endlessly and i can't upload anything. the core is locked up.

any ideas would be appreciated!

ultra

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...