• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

[Version 2 Release] RaspberryPints - Digital Taplist Solution

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
I have one of these

https://www.seeedstudio.com/Base-Shield-V2.html

it has the same pinouts as arduino uno.

I have connected this and had it working with one flowmeter ( 3 wire ) via digital connector D7. I did this ages ago and can't remember why I didn't start with D2.

I now have the rest of my flowmeters and want to connect up to ten of them, initially just aiming for 7, this is more than the number of D connectors.

Currently I have VCC, Gnd and a digital pin going to the meter, it works accurately after calibration.

Can anyone offer some advice as to whether I just continue this process connecting each meter to a D connector the same way?
I think I can do this but I am not sure how to decide the pin designation of each of these D connectors to input into raspberry pints for each of the flow meters on the setup page.

Thanks for any advice.
 
The original kit recommended using an "Alamode" shield atop the RaspberryPi for a compact package, but the Alamode has extra functionality over an UNO with things like an RTC - which uses some of the lower GPIOs. I found D2 and D5 through D12 could be used without conflicts. D0 and D1 are for the UART, of course, and D3 and D4 were used by the RTC, and finally D13 is shared with the "Blink" LED.

Using an UNO D3 and D4 are usable/not shared. So you should be able to use at least D2 through D12 without conflicts, but you'll have to grab D10 through D12 from the standard headers as there aren't Grove headers for those on your shield...

Cheers!
 
The original kit recommended using an "Alamode" shield atop the RaspberryPi for a compact package, but the Alamode has extra functionality over an UNO with things like an RTC - which uses some of the lower GPIOs. I found D2 and D5 through D12 could be used without conflicts. D0 and D1 are for the UART, of course, and D3 and D4 were used by the RTC, and finally D13 is shared with the "Blink" LED.

Using an UNO D3 and D4 are usable/not shared. So you should be able to use at least D2 through D12 without conflicts, but you'll have to grab D10 through D12 from the standard headers as there aren't Grove headers for those on your shield...

Cheers!
Thank you,

When you say grab from the standard header, do you mean the pins on the raspberry pi?

Or the board that the shield connects to?

The board only has D2 to D8 so do I grab D9 To D12 from the standard headers or are some of the I2C connections usable?

Also how do I know what pin to assign for each of the D connections on the flowmeter setup?

Thanks again
Header card.JPG
 
Last edited:
I meant from the single row gpio headers - on the the shield.

The Grove headers with I2C are all connected to the UNO's SCL and SDA pins so they're not going to be useful for your flow meters. Nor are the Grove headers for the analog pins A0 through A5.
1727058468009.png


The relationship between your UNO signals (D2 through D12) and RaspberryPints is set up inside RaspberryPints in a table. I am 200 miles from home so can't point you to the specific configuration page but it's in there somewhere :) I'll be home in a couple of days otherwise...

Cheers!
 
I meant from the single row gpio headers - on the the shield.

The Grove headers with I2C are all connected to the UNO's SCL and SDA pins so they're not going to be useful for your flow meters. Nor are the Grove headers for the analog pins A0 through A5.
View attachment 858470

The relationship between your UNO signals (D2 through D12) and RaspberryPints is set up inside RaspberryPints in a table. I am 200 miles from home so can't point you to the specific configuration page but it's in there somewhere :) I'll be home in a couple of days otherwise...

Cheers!
Thanks
Hope the travel is good.
I know the table, it's selected from the beers page I think where you configure the flowmeters you also select the pin associated with the meters.
I'll have a play around by attaching two meters and see what put number I need to use to get it working, should be logical ( I hope).
I'll update.
 
That is working well in my test setup.
When I start to use the pins 9, 10,11,12 and possibly 13 as I can see this on the board as well.
The pin is for data I think so I can just use another header for 5V ( as highlighted on the diagram ) and a ground.

Do I need a separate 5V and ground for each meter or can I split that supply and ground to the remaining flowmeters and their corresponding pin for data?

If possible could I use the VCC and GND from the I2C or analog grove ports, I have connectors that would fit neatly to do this rather than me making spaghetti?
 
I don't follow this project closely, but I still have rpints.com registered and a redirect to a copy of an install script I did for Tobor_8thMan (no longer a member here, apparently?) in my DNS.

If there's consensus on "who's in charge here?" please let me know. I am happy to either transfer the domain, fix the redirect, or do whatever I can to help (provided it's not a ton of work for me, of course). 😀).

@ me on a reply or use the "reply" button on this message and I will see it.
 
I don't follow this project closely, but I still have rpints.com registered and a redirect to a copy of an install script I did for Tobor_8thMan (no longer a member here, apparently?) in my DNS.

If there's consensus on "who's in charge here?" please let me know. I am happy to either transfer the domain, fix the redirect, or do whatever I can to help (provided it's not a ton of work for me, of course). 😀).

@ me on a reply or use the "reply" button on this message and I will see it.
My version is at https://github.com/rtlindne/RaspberryPints

The install script that is updated to install everything and based on Tobor_8thMan's original is also there, specifically at https://github.com/rtlindne/RaspberryPints/blob/master/util/installRaspberryPints

Its been a few months since I last tried it but im pretty sure i tried it on the latest Pi Desktop version right after it came out.
 
I've got mine working well, thanks to everyone, wondering is it compatible with 64bit yet?

If I wanted to transfer onto a raspberry pi 3 dedicated to pints how would I back up and do this.

Not as simple as taking the SD card out of the Pi 4 and putting it in the 3?

Any ideas?
 
I've got mine working well, thanks to everyone, wondering is it compatible with 64bit yet?

If I wanted to transfer onto a raspberry pi 3 dedicated to pints how would I back up and do this.

Not as simple as taking the SD card out of the Pi 4 and putting it in the 3?

Any ideas?
I dont know why RPints wouldn't work on 64bit. Nothing is specific to the memory addressing. Maybe some dependency name are different and the installer wont find them.

it does look the Pi OS 64 bit is compatible on the PI 3B so it could be simply move the SD card. I would take a backup of it and then move the backup SD card to the 3d to see if it works instead of your primary SD card.

RPints does have a backup option on the install page, you could do a fresh install on a new PI, use that option on the old PI, then copy the file from <WWWROOT>\html\sql\backups to the new PI, use the same install page on the new PI but with the restore option (make sure to select the correct file if you have multiple files)

1737494906326.png
 
PI OS is now up to Linux version 12 (bookworm), There are newer versions of the Arduino IDE then those from Bullseye, I didnt find anything specific about uploading to 32bit board, but since Uno is a 32bit microcontroller I am not sure why it would not be supported.
I would try to update to 64bit Pi OS myself but I dont have Uno so it wouldnt really help.

If you do try the latest 64bit Os and still have the issue, installing an older 32bit version of Arduino IDE from https://www.arduino.cc/en/software may allow you to upload.
 
Question On RPints Analytics, specifically Beer Statistics.

When I run All Taps for Beer Statistics, I get a chart of beers and amounts (as expected) but no graph. (not expected)

When I run Tap 1 for Beer Statistics, I get a chart of beers and amounts (as expected) but no graph. (not expected)

When I run Tap 2 for Beer Statistics, I get a chart of beers and amounts (as expected) and a graph. (as expected)

When I run Tap 3 for Beer Statistics, I get a chart of beers and amounts (as expected) and a graph. (as expected)

When I run Tap Statistics, I get an expected chart and graph for all 3 taps.

Any hints, tricks or ideas?
 
I don't think I've seen a graph on my stats will check tonight.
I'd like a reminder on how to move a keg off the tap list when it kicks.
 
You can make graphs in the analytical section of the admin page.

One can actually set-up RPints to kick a keg automatically if inclined.

To manually kick and tap kegs. In the admin, go to your ‘kegs’ and ‘taps’ settings. Make the necessary switches to the particular Keg and Tap, and be sure to save any changes.
 
You can make graphs in the analytical section of the admin page.

One can actually set-up RPints to kick a keg automatically if inclined.

To manually kick and tap kegs. In the admin, go to your ‘kegs’ and ‘taps’ settings. Make the necessary switches to the particular Keg and Tap, and be sure to save any changes.
Thank you, my kegs would kick automatically I suspect if I got my flowmeters calibrated accurately enough.

I'll look into the kegs and taps serction.
 
Any hints, tricks or ideas?
Do you have any beers with special characters in their name? Specifically an apostrophe (')?

I looked at my setup and I do and I found that I dont handle that in the code and willl have to fix.
If you know how to use the developer tools in the web browser (usually shortcut F12) you can look at the console and see if there are any errors in the javascript that loads the graph.
 
Last edited:
I setup a Pi 5 and had to update my scripts for the new Python packages and got x64 working.

I will look tomorrow to see what i committed. I Thought i had most of my scripts in but i didnt/cant test with pi 4
 
I setup a Pi 5 and had to update my scripts for the new Python packages and got x64 working.

I will look tomorrow to see what i committed. I Thought i had most of my scripts in but i didnt/cant test with pi 4
Thank you, I'll try the addition you mention in the post 8179 and see what happens.
 
Python is never having to say you are sorry for someone else breaking your stuff. :)

I have a real belief that the SRE's I hire at work are responsible for the never-static Python environment. If they change the libraries upstream, I have to keep them employed to fix our automation and orchestration as it breaks.

My latest project (not beer-related) is C and C++. Even my orchestration is written in Bash to keep it from breaking every six months. Vue or Django for the front end? No thank you! PHP, HTML and plain Vanilla (maybe a little jQuery) is just fine.
 
I committed the changes for the install script to work on BookWorm. I also updated the logic to use a new avrdude/avrdude64 that I compiled from source so the Alamode shield still can work but Uno shields should also work. I was able to test with Uno using x64 and it worked just fine. i havent been able to test Alamode or the 32 bit version yet.

Let me know if it installs now and if there are any issues getting the flow meters working.
 
Thanks @RandR+
So I just run the install script as before ?

I will let you know how it goes.

My hardware a Raspberry Pi 4 with 8Gb of ram, using a 32 Gb SDxc card, a uno R3 equivalent
https://www.seeedstudio.com/Base-Shield-V2.html

and flow meters https://www.aliexpress.com/item/329...order_list.order_list_main.316.46771802aFcp5s

DS18b20 temp sensors x2.


This all worked before very well with the 32bit os before.

Haven't had the courage to add in the RFID tag that I've got but it's on the to do list.

I can update when I get home.

I was also thinking of using an old Raspberry Pi 3b as a headless RPints, then I would just access the webpage via the pi 4 ?

Thank you.
 
So I just run the install script as before ?
Yep Just install like usual. If it doesnt work I would need to know the Pi OS version
from the terminal run:
uname -a

I was also thinking of using an old Raspberry Pi 3b as a headless RPints, then I would just access the webpage via the pi 4 ?
I run my Pi as headless and use any device on the network to connect to Rpints webpage (i.e. laptop, phone, tablet) The only thing I need to be careful of is that my guest WIFI cannot get to the device on my main network so I have to be on the correct WIFI to see it.

RFID tag that I've got but it's on the to do list.
I have it working and have valves that could prevent pours, but I dont actually have the beer hooked up through them. Mostly a proof of concept and testing Untapped settings to make sure that logic works. Its a lot of setup both for beers and users but its cool if you want to be able to display what someone is drinking without having them check it in. On my list is a party tag to be able to unlock all taps for x hours instead of until a beer pour is detected.
 
@RandR+

Thank you that's working great, the pi 4 with 64bit plays HD video on one monitor and rpints2 on the other monitor without any issues.
Before HD was a stutter.
A real struggle on the
Customise tap display because I'm using a horizontal display.
1748432801560.jpeg

And your modded file
beerListTableVerticale2.php.
Everything in the customise tap display is setup as if it's a vertical display so it's a crazy wind bending process.
But I'm sorting of there.

Going to use some tips from @day_trippr to use the spare inputs or outputs? On the pi board directly to add a couple more flow meters as the base shield inputs are maxed out.
 
Strange, I've edited the dummy data via beers and changed the glasses on a few of the beers.

But they persistently remain as the standard pint glass.
 
I've a bit wary to wade into this topic, but I just posted on the Taplist IO forum page and I thought I would post something here.

I have very very limited experience when it comes to computer...gulp...programming, like almost zero. I did build a raspberry pi for my tilt, but that was very straight forward with videos to guide me through.

This forum page(s) is daunting to consider, so many pages and entries to read, what's a noob to do? I would like to build a fairly simple digital taplist and would like to use an older iPad for the display. My space for a display is rather limited so a TV is kind of out of the question, unless I make some changes.

Flow meters aren't really important to me, I mean I guess they would be nice to have but I've never felt I needed them. But really I think that's because I've felt this was all over my head. So I guess I'm asking, where does one start trying to get their hands around raspberry pints? Sorry, I assume you've all gotten this question here before, but I will say that I've read like 15 pages on this and come away more confused.

Thanks for reading.
 
Back
Top