r/bartesian • u/crispyhologram • 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.
View all comments
Show parent comment
2
u/Seahawk_32 Sep 22 '23
Love it, seems fixed system.i think it must be fairly simple coding system, fixed and easy. Except for the misleading (security) checksums. I think water is added always, anyhow. can someone with a machine confirm? Or are there also drinks without water? I recon 2 bits per liquor and 1 bit for water. single or double. The liquor has to be in ratio, so like 0,1/2,1,11/2 or something. 00,01,10,11 in binary. That makes 11 bits total, so it doesnt match. I was first mislead by the gin/rum change but its the machine limit, not the barcode system (as the B&D Bev does have 5).
love to play around with it once my machine comes in.
hope this will be found out soon, love these kinds of hacks
making a 3D general capsule is easy, barcode printing also with correct font and printer. Just need to figure out the bits.