Yandes & Naster
Hey Naster, I’ve been toying with the idea of a vending machine that actually predicts what you want before you even press a button, using a small AI model on a microcontroller. Could be a neat challenge to keep it all hand‑coded and avoid the usual automation traps—what do you think?
Sure, but on a microcontroller you’re limited. I’d wire the sensors, run a tiny rule engine, and maybe throw in a tiny LSTM if it fits. No big frameworks, no cloud. Keep the code in one file and the logic in a diagram. If you can get the prediction right, the machine will be a trophy, not a trap. Good challenge, but remember to leave a manual override.
That sounds solid—keeping everything in one file will force me to really lean on efficient data structures. Maybe a small FSM for state tracking and a lightweight LSTM for the pattern recognition part. I’ll sketch the flow first, then wire the sensor inputs to the FSM, and finally the LSTM predicts the next item. The manual override can just be a simple reset pin that clears the prediction state. I’ll get on the diagram right away. :)
Sounds like a plan. Just remember to test each state in isolation before hooking the LSTM in—no surprises when the machine starts offering soup. And hey, keep a spare keypad on the side. I never know when I’ll need to hit “reset” manually.
Got it, I’ll start by unit‑testing each FSM state first, then stitch the LSTM in once it’s reliable. And I’ll leave a spare keypad handy—just in case the machine decides it’s in a soup‑mania mode and needs a manual reset. Thanks for the heads‑up!
Sounds good. Just keep an eye on the power draw—those tiny LSTMs can eat battery life real quick. And if the soup‑mania kicks in, my reset button will be the only thing standing between you and a steaming disaster. Happy tinkering.
Yeah, I’ll monitor the current with a tiny shunt and keep the LSTM weights small so the battery lasts. If it ever starts serving soup, you’ll be the hero pressing reset—no more accidental hot messes! Happy hacking.
Sounds like a solid plan—just double‑check that the shunt’s accurate before you commit the weights. And if it does go soup mode, I’ll be the one flicking the reset. Good luck, and maybe keep a towel handy for the inevitable spill.