Emonbase display and buttons

Tags: #<Tag:0x00007f6e0864e808> #<Tag:0x00007f6e0864e718> #<Tag:0x00007f6e0864e650> #<Tag:0x00007f6e0864e560> #<Tag:0x00007f6e0864e448>

I have connected at 2x16 lcd display to my emonpi (raspberry PI3). and it works like on a Emonpi…
Now I would like to connect two buttons, one for safely powering down and one for cycling through the different displays (wake the display). Is that possible and how??

Best regards

Looking at the emonpi schematic, the display button is connected to GPIO23 (pin 16) of the RPi and as it has a pulldown configured I expect the other side of the button to be 3.3v

Likewise the shutdown button is connected to GPIO17 (pin 17) but normally comes via the emonpi add-on board which is configured to hold the pin low and bring high to initiate shutdown, so a pushbutton to 3.3v should work here too.

Thanks for the response. Tried it out and figured how to make it. I made a small instruction.Adding a LCD display to a Raspberry PI.pdf (321.0 KB)

It works like a charm and next up will be to 3D print an enclosure…


1 Like

Thanks for confirming it worked ok and for attaching the pdf, I have taken the liberty of copying your 2 pictures here to save interested parties the trouble of downloading the pdf. Perhaps they might even get copied to the wiki or somewhere they can be easily found/referenced.

No problem, just Waiting for the LCDs to arrive then I will post some pictures…


First prototype of the emonBase with buttons and LCD display!!