Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 Reporting to Arduino LCD shield?

Hi there!

Working with the nRF52840 DK, I am wondering how I might modify an existing SDK example in order to display the Tx and Rx Power characteristic on a hardware connected LCD display?

That is, rather than using a BLE-UART example, I'd like to interface with an Arduino (or others?) LCD shield mounted on the DK. 

I'v tried a few things that I thought might produce a quick result, but I find that I don't really know what I'm looking for as far the software. 

My next theory is maybe to somehow report this characteristic to the LCD over the TWI/I2C bus? But again, still a little lost on that. 

I've been using the most current SDK and Soft Device. I've been successfully using Keil to build and flash other, simpler modified example code (and Soft Device) to the DK, but the TWI is getting tricky for me. 

Open to other suggestions on how to achieve this. 

Beyond the Tx/Rx Signal, eventually I'll be looking to report the power consumption and battery level on the LCD as well. 

Many thanks for your time, 

Cheers, 

Sam

Parents
  • Hello,

    This question is really divided in two, and I suggest that you do that with the development as well.

    1: You need to be able to fetch all the data that you at a some point want to display on the screen, but start with checking that you are able to view it in the log.

    2: You need to be able to communicate with the screen.

    I am not sure whether you have started looking into any of these yet, but I suggest that you try to separate these tasks first. 

    For 2), I suggest that you look into the example found in:

    SDK\examples\peripheral\gfx, as this is an LCD screen example. If you use another LCD screen than the ones supported in this example, you must find some drivers that works for your screen. You can find the testing description for this example here.

    Best regards,

    Edvin

  • Great point, that is a good strategy. Appreciate the pointer to the gfx example, anywhere you can point me to help with #1?

    1: You need to be able to fetch all the data that you at a some point want to display on the screen, but start with checking that you are able to view it in the log.

    Thanks again for your time.

Reply Children
No Data
Related