I plan on giving updates on what I'm working on here, since I'm useless at writing blogs. I'm hoping i can stick to short regular updates.
Here's my cocktail machine. I'm currently writing the software for it!
The cocktail robot now uses entity framework! I'm working on the admin/management functions first (adding recipies etc) to make testing easier. User and ingredient management is done. I also got the RFID reader working.
Is this how I should be reporting on this, replying to the first toot about it?
I'd like to take a moment to praise d-sub connectors (DB-25 etc). They're awesome. I'm surprised by the current they can handle every time I look it up. You can't connect them backwards and they're easy to solder to.
All of the motors on the Cocktailor are powered through a DB-25. A lot of my model planes have DB-9s in them to connect wings etc.
Man do my side projects move slowly!
I've 3d printed a mount for the loadcell, i just need to mount it, and then build a platform that will hold the glasses that is suspended by the loadcell. Hopefully i will get that done this weekend.
In the meantime I've started making a faux neon sign from the movie "Cocktail" 😂
Its actually quite a challenge to come up with a list of 8 ingredients, from which you can make several drinks. Here's an example for an upcoming party:
- Hurricane (rum/passionfruit/lime)
- Cosmopolitan (vodka/cran/lime/cointreau)
- Cranberry zombie (rum/cran/lime)
- Vodka cranberry
- Vodka orange
I feel like this is an O(n^2) problem..
@IVData So are Razor components similar to React components?
@jmwright yes, in that you can define them and then reuse them with a tag etc. The cool thing for me is that I can call C# from user interaction so i can mostly avoid js 🙄
@IVData However you want to do it is fine. Having it in as thread like you're doing it makes it easier for people to go back through and catch up on your project if they get in part-way through, which is nice.
@IVData So like the retract setting on a 3D printer? Cool. Does it make it harder to dispense an accurate amount since you might pull air into the system when it's reversing?
@jmwright exactly. It works pretty well. The tubes go 'downhill' once theyre behind the wall of the machine. I only retract just enough that the liquid would have to go uphill to leak out - so likewise the air would have to travel down into the liquid to mess things up.
It just occurred to me that smaller tubing for the air pumps might mean air cant leak in to let it drip (rely on surface tension).
@IVData Is the dispenser nozzle set up in a way that wouldn't result in cross contamination with this retraction? Also, is there a viscosity limit for what they can pump?
@sexybenfranklin thanks man. Silicone tubes actually run all the way to the tip of the 'nozzle' so there's no contamination. And they pump at least a thick syrup (though at about half the speed of water).
@IVData Did the rfid cards work as expected with the guests? How did they react to them?
@jmwright most of them had used them before with the previous prototype. But they are quite intuitive really. Main issue is drunk people losing them lol. If you didn't want to keep track of who was drinking what you wouldn't even need them though.
@IVData What will the process be for calibrating the pumps?
@jmwright given a density value for each ingredient, the loadcell can be used to calibrate how long the motor should be on to pour a certain amount. Needs to be done for a variety of motor speeds too because PWM % to flow rate is not linear.
@jmwright also it can detect when a glass is present so a drunk patron doesn't make the machine pour all over itself 🤣
@IVData glad to see a new update. So this is going to be used for weighing out the measures?
@sexybenfranklin it'll just be used to calibrate so the measures are accurate. When making a drink all ingredients are poured at once, so you could only check the final weight in that case.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!