Skip to content

Conversation

@adq
Copy link
Contributor

@adq adq commented Apr 29, 2021

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.

@jbruce12000
Copy link
Owner

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

@adq
Copy link
Contributor Author

adq commented Jun 27, 2021

Thanks, appreciate it! 😁

@ClinicianTurnedCoder
Copy link

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!

@Splodgeink
Copy link

Splodgeink commented Aug 8, 2023

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
Copy link

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

@chipgarner
Copy link
Contributor

@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!

@Splodgeink
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants