This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

2x16 LCD and Rotary Encoder

Hello,

I've been looking around to find the best way to interface the nRF52 DK with both an LCD screen for printing settings to a panel display, and a rotary encoder, used to scroll through and enter into various menus.

The rotary encoder would be any simple 5pin quadrature or 2bit grey code input that I could find, and the LCD screen would be something like this: www.newhavendisplay.com/nhd0216k1zflybw-p-284.html

I have worked with components like this extensively on Arduino and simpler interfaces but don't understand the software/coding necessary to get these working for the nRF52. I am confident I can hook them up properly however, which is a good first start.

I really have no idea where to begin and would like to find the simplest and most straightforward method of learning to interface these components.

Any help would be greatly appreciated.

Thanks and Regards

Parents
  • Your question is somewhat ambiguous, what you want is whether a programming skill of the nRF5x platform or how to work external components such as hd44780 LCD. As a rule, everything is possible to do that you can do on AVRs. For example, the things you need in order to work a LCD are ways to handle GPIO pins and delay function. That's all. All you have to do are to translate source codes from the Arduino libraries.

    If you want to learn the basic programming skill of the nRF5x, you should examine examples of nRF5x SDK, the peripherals in particular. IF you are not good at the Keil MDK or the Eclipse platform, ARM mbed Developer Site is a good starting point for you.

    I'm afraid I could not have been of more assistance.

Reply
  • Your question is somewhat ambiguous, what you want is whether a programming skill of the nRF5x platform or how to work external components such as hd44780 LCD. As a rule, everything is possible to do that you can do on AVRs. For example, the things you need in order to work a LCD are ways to handle GPIO pins and delay function. That's all. All you have to do are to translate source codes from the Arduino libraries.

    If you want to learn the basic programming skill of the nRF5x, you should examine examples of nRF5x SDK, the peripherals in particular. IF you are not good at the Keil MDK or the Eclipse platform, ARM mbed Developer Site is a good starting point for you.

    I'm afraid I could not have been of more assistance.

Children
No Data
Related