kiln-controller icon indicating copy to clipboard operation
kiln-controller copied to clipboard

Kiln display

Open adq opened this issue 4 years ago • 7 comments

This adds a small OLED display to the kiln (https://www.adafruit.com/product/4484). It can probably be easily adapted to other displays.

Since the display does take up a bit of CPU, I've added "Nice" settings to the systemd init scripts.

The adafruit libraries require the use of numpy; I guessed you wouldn't want that as a dep for the kiln-controller itself since its quite heavy if you're not using it, so I added those deps to a different file.

BTW: I actually install numpy from the system package manager since - on my pi - pip tries to compile it from scratch, which would take quite some time on a Pi Zero W! I added it to the deps for completeness though.

adq avatar Apr 29 '21 23:04 adq

thanks for giving back to the kiln controller project. you've done lots of work and I appreciate it.

jbruce12000 avatar Jun 08 '21 14:06 jbruce12000

Thanks, appreciate it! :grin:

adq avatar Jun 27 '21 10:06 adq

Hey @adq - This addition is great - I'm working on modifying your display script to work with the adafruit 2.8" pitft capacitive touch screen. Could you help me understand what the "gpio_beeper" does? Is this an additional but unrelated feature, or is it required for screen functionality? Thanks!

ClinicianTurnedCoder avatar Jan 29 '23 19:01 ClinicianTurnedCoder

Hi, This is exactly what I'm trying to do, but as a Github NOOB I'm not sure where I'm going... How do I get this in my Kiln-controller. I have a Pimoroni st7789 display connected via spi.

Splodgeink avatar Aug 08 '23 17:08 Splodgeink

My main question is where/how is kilndisplay referenced. Looks like magic to me! (I can flash LEDs!!! 🤣)

Splodgeink avatar Aug 11 '23 16:08 Splodgeink

@Splodgeink Hi Andy I have not tried this code but I see how it works. It opens and reads websockets. The kilncontroller program sends out messages to the front end via websockets, this programs listens for and processes the same messages.

msg = json.loads(status_ws.recv()) in the while loop picks up messages being sent from kilncontroller, obviously both programs have to be running.

Websocket magic!

chipgarner avatar Aug 11 '23 19:08 chipgarner

That sounds cool, Chip. I've just invested in £50 worth of book to get to grips with this!

What I can't see is how kilndisplay.py is called/run!

Splodgeink avatar Aug 12 '23 02:08 Splodgeink