Seite 1 von 1

OLED on LPC922

Verfasst: 24. Jul 2018, 08:27
von pete68
Hello
can anyone tell me if there is a library to drive an I2C OLED display (Driver IC: SSD1306) with a 89LPC922?

thank you

Re: OLED on LPC922

Verfasst: 24. Jul 2018, 13:07
von oldcoolman
i think: no.
furtermore: It's better to take the LPC1115!

Re: OLED on LPC922

Verfasst: 24. Jul 2018, 13:49
von pete68
it's fine even in 1115,
my goal is to read a temperature from the bus and display it on the display, that's all.

Re: OLED on LPC922

Verfasst: 25. Jul 2018, 12:03
von StefanT
For the 1115 exists some driver code that can display text on a EA-DOGS display.
I think it's the EA-DOGS 102 that I used for implementation.

Showing other stuff should be possible, but it most probably needs some
implementation, which should not be too hard as the protocol is quite straight
forward.

Re: OLED on LPC922

Verfasst: 27. Jul 2018, 07:01
von pete68
thanks, if i solve, i will leave some information for those who need it.

Re: OLED on LPC922

Verfasst: 30. Jul 2018, 10:52
von pete68
it seems that the library for ARM U8G can work, but implementing a project in LPCxpresso is not easy for those who are not used to writing in C.

Every help is welcome

thank you

Re: OLED on LPC922

Verfasst: 7. Aug 2018, 10:53
von pete68
I gave up (for now) to directly control the SSD1306 display with LPC1115 and I'm using a 89LPC922 with RS232 firmware that transforms the received telegrams from the bus into an information to be sent as text to an arduino (with which it is easy to control a oled with the u8g library and the like). It works, however I have difficulty in transforming DPT9 messages into decimal values ​​to be sent to arduino. Is there any routine to use in these cases?

thank you