We recently had a contest following our release 
of the Raspberry Pi builds
to see what our users could do 
with Raspberry Pi for fun projects.
This is Espen.
Espen, maybe you wanna say what this is.
This is my contribution for this competition.
This is a coffee monitoring solution.
It’s for figuring out how many cups of coffee
you have left in your coffee pot.
It’s based on Raspberry Pi and a weight cell.
It’s a very crude prototype 
but hopefully ready for production soon.
Looks good.
A lot of people said they were gonna do stuff
but I didn’t know if any of them would, 
so it’s good to see you actually did something.
Were you planning to do this anyway?
Yes.
Just remind me exactly what this is supposed to do.
This is an advanced coffee monitoring unit.
This is how it works.
It’s based on a weight cell which is this thing here.
And it works by measuring weight.
It’s wired up to the Raspberry using 
the analogue cords and a small LCD display.
The idea is that...
It’s quite big because it’s an early prototype.
The idea is to have a small, discrete plate like this.
You put your coffee pot on top of it.
It will measure how much it weighs.
Based on some calibration,
it will know how many cups of coffee 
are left in this coffee pot.
Over time, it will monitor this 
and send data back to wherever you want it.
You can add some thresholds 
and it will alert you when the levels are getting low.
When there are three cups left, it’s getting critical.
You need more.
The idea is that it sends a push message 
to Slack for example.
Slack integration!
Yes, of course.
It’s a Pi Zero.
To send this data, what are you doing, 
what kind of thing do you have?
Currently, it doesn’t send.
It’s a Pi Zero W, it has a wireless built in,
so it’s easy to integrate some APIs from
Slack, Discord or whatever you want to use.
Then I had to run some Python 
because that’s the easiest to work with
and it’s fast enough, so why not.
Integration with other services is trivial.
It can be fully integrated to whatever you need.
You can also run a web server on it, I guess.
Yes, of course.
Display by a web server.
What do we do?
You show it.
It’s calibrated for this.
It’s 10 decilitres.
It should be 10 cups with this.
I don’t have to fill it up.
I filled it to 5.
It’s a bit more but that’s ok.
If you do this, this should work.
Yes.
Five cups.
As it goes down, it just sends it back to wherever.
If we try pouring this…
I can try to get it down to the threshold right away.
If we do three…
Three cups.
At the top there, it now says “low warning”
which is the current threshold.
And of course you can change this 
to whatever you need.
I can pour the rest out.
But once it goes out, it just says this, 
it doesn’t have a state for “empty mug”.
But that’s very easy to add.
Why the coffee thing, are you a coffee fan?
Yes, very much so.
It’s the most obvious choice basically.
It’s based on need in our office.
It’s a big problem for us.
People take the last of the coffee 
and noone knows that it's empty.
You get there before a meeting and it’s all out.
You can register their badge 
and then you know who took the last coffee cup.
So you are gonna actually use it.
Hopefully.
The most important thing is 
to try to make this more discrete.
It’s very wide at the moment.
You can make it lower and bigger 
to fit a coffee pot on top.
You can integrate a screen.
You can make it like this... 
Make it transparent.
But I want to make a real thing running in the office.
See how it works and if it survives.
I am curious now.
I don’t have a Raspberry Pi Zero myself.
Have you tried running Vivaldi on one of these?
Not on the Zero, 
but I used it on the Three and it was fine.
Have you tried it on the Zero?
No, I haven't tried it on the Zero.
Theoretically, it works.
It’s a little bit low on memory.
Well, maybe you can open one tab.
