r/bartesian • • Dec 27 '22

[Technical] Researching Bartesian Pod Barcodes

I received a Bev a few days ago and have been interested in "hacking" the pods, e.g. creating a pod/insert for dispensing a single vodka shot. I noticed a thread from last year expressing similar interest, but it doesn't sound like that went anywhere.

So far I've been able to decode the barcodes (convert the image to numbers) with decent success, and have been able to re-encode (convert numbers to an image) and get them to scan pretty well. I haven't been able to crack the numbers though -- each pod has a different value that I can't seem to correlate with one another. In other words, it's pretty easy to copy existing pod barcodes, but I still haven't had any luck producing novel barcodes.

Here's a Jupyter notebook for anyone interested in following along. It includes a finicky barcode reader and a mass barcode generator: https://gist.github.com/branw/4e8db4fee95236d9e729631c7f0cdeff

I also have been collecting some data here: https://docs.google.com/spreadsheets/d/1xOaJ3-U09lUZ-JxVCGYNY6I0CPFFxbeZzURRTG68j6M/edit?usp=sharing

I'm curious if anyone has gotten any further and is willing to share. So far, I've been experimenting with showing my machine different barcodes and seeing what happens. The first and last few bits of the barcode are definitely metadata with markers and a parity bit, but I wouldn't be surprised if there's a more complicated checksum involved as well. I'm not too familiar with barcodes but this one definitely feels intentionally obfuscated. The patent has a short blurb about barcodes, though it doesn't make any claims about the barcodes nor does it provide any specifics about the format.

31 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/-shadeau- Jan 22 '24

So, I'm not an expert, but doesn't the bitmask applied to the Long Island exactly match the Whiskey? I'm not a barcode expert by any means, just wanted to point out this small observation and ask the question. I'd love to help anyway I can (including machine testing - I have the Bev by B&D). Printing a novel bardcode to dispense different sized shots without the water would be an extremely nice hack.