IoT of milk bottles

I'm currently working on an interesting project for my pantry. I have literally dozens of glass milk bottles of different sizes which I use to store dry goods. And yet, sometimes it's confusing trying to differentiate semolina flour from something similar like ground cornmeal, for example. Plus, there are times when I wish I had the original instructions or nutritional information handy.

So I thought that I would design my own lids as replacements for the milk jugs and to embed RFID chips in each. That way, they would be waterproof, stand up to repeated washes and yet allow me to programmatically determine what's inside each container.

So, I'm thinking Raspberry Pi with NFC RFID reader and the average hoodoo to deliver the information.

The second version was a perfect fit with just a slight adjustment on the sizing. It took an hour in Autodesk Fusion 360.

BottleCap tinyRFID

I have to admit that I simply have a label printer for these kinds of issues :woman_shrugging::sweat_smile:

1 Like

Now that's a lot of... stuff.

I actually bought a label printer but it was dysfunctional and I had to take it back for a refund. <_<

Ditto. And it's wireless. And I upgraded it with a "catch tray", 3D printed, of course.

But @OutsourcedGuru do you have any Huell Howser milk bottles?

That's essentially the bottles I'm using. There are numerous dairy providers here in California that are using them. I'm sure I have fifty or so of these, perhaps more.

Right, there are California dairies, but only one that did the special Huell Howser bottle.

Ohh... I didn't know about him. (I don't actually own a television.) :laugh:

He was such a great part of California's history. Just surf Youtube. My favorite are Dana Gould's impersonations of him on the various Carolla shows.

He really gets excited about things. It's like if he was at the end of a Scooby Doo cartoon and they unzipped his costume a bunch of 12-year-old boys would fall out.

thaaaaaat's huell.

also, had a cool house:

he was mocked on Simpsons back in the day.

The RFID goodies came in and I was able to embed the tiny tag into a bottle cap and later, to read it. I spent the day playing with these things. The nfclib (C library) is what I was using today. Guess I'll chase the Python version next week.

I've been playing with RFID recently, and from what I've experienced, the Arduino seems to handle RDID better than the PI.

Unfortunately, the Arduino has no video output, so... it's connected to a Pi

This one is the 522 (cheapest thing they had), I wanna get a 532, but those are EXPENSIVE, and they use Ultralight-C at work, and they've got boxes of readers and the boss said I could have one cuz it might come in handy to be able to make our own cards.


Yes, I put a fan in it. And I made a little tunnel so the air blows directly over the heat sink

No, I don't know why.

Cuz I'm a geek I guess

The light and button are just for testing, and the thumb drive is being 8G of swap space so I can do "make" faster (it works)

It's also got rubber feet and 2 neodymium magnets so I can mount it on a metal shelf or something

I'm using the PN532 chipset in the Adafruit controller board. In one of their tutorials they suggested to power it via 5V on the Raspi:

"Use the 5V supply on the Pi Cobbler, and the 5V input on the FTDI header rather than the 3.3V supply, since the 3.3V supply is used by the core on the rasberry Pi and you don't want to pull sharp, heavy loads from it, like when you first enable and charge the near field."

I've managed to get this working in both UART and I2C modes so far.

With Python2, there's not a lot of wrappers that work (around libnfc). So I've been working with C and the libnfc on this and it's happy.

Obviously there's a big difference between the 522 and the 532. The instructions for the 522 say to NEVER connect it to 5V cuz it'll smoke and burn up

Oh, and the Arduino has some new toys. You might wanna look into them

mblock and XOD

Kinda reminds me of the one that MIT made for android

1 Like

Actually, MIT made the original Scratch sort of interface for the Lego Mindstorms programming interface. Their brick is presumably an Arduino under-the-covers.

And I met with a representative from Sony who's also entered the STEM/STEAM learning space.