This DIY robot gets "high" in real time

A hobbyist on Reddit's LocalLLaMA community has built what might be the most unexpected LLM integration we've seeb all year: a suitcase robot called Sparky that gets progressively more... incoherent when exposed to smoke. This doesn't happen through any scripted behavior but by feeding real sensor data directly into the model's sampling parameters.
The project has been posted by Reddit user u/CreativelyBankrupt. It essentially uses an MQ-2 gas sensor (curr. $7.99 on Amazon) mounted inside the robot's case. Every 500 milliseconds, the sensor reads ambient air against an adaptive clean-air baseline and converts smoke presence into a phase value between 0 and 10. That phase value then rewires how the LLM generates text in real time. For instance, temperature climbs from 1.0 to around 1.6, top_p rises from 0.95 to 0.99, and top_k jumps from 64 to 120 as the smoke level increases.
When that happens, Sparky's word choices reduce, and the robot starts going towards lower-probability tokens, and become noisier — because the live sampler is doing exactly what high sampling parameters do to any language model. Every "high" reply is freshly generated, so no two responses are the same. A per-phase persona nudge makes sure the behavior shows through (without the robot actually announcing its state).
There's physical feedback as well. Sparky exhibits drooping eyes, a slight drawl in voice output, and a display that goes into a full smoke-and-plasma effect at phase 10. It holds there for seven minutes before decaying.
The creator is candid about the hardware's limits — the MQ-2 is a VOC sensor, meaning incense or a cigarette would trip the same response as cannabis, and it cannot distinguish between smoke sources.
The video has over 1,100 upvotes on Reddit at the time of writing. Check it out below:
My suitcase robot gets high now off a real gas sensor wired straight into the LLM sampler. Smoke raises temperature/top_p/top_k live, so his speech genuinely gets loopier and never repeats.
by u/CreativelyBankrupt in LocalLLaMA








