A microcontroller combines a processor with memory and circuits for communicating with hardware. It can repeatedly read inputs, update outputs and manage power within a small device.
A connected device can let its microcontroller handle the interface while a more powerful system runs an AI model. This can make a low-power interface practical without fitting the full model onto the device.
ELI5
For example, a pocket gadget could use a small chip to detect a button press, send a request and put the answer on its screen.
The little chip handles the buttons and screen. A bigger computer can do the heavier language processing.
Why use a microcontroller in a handheld device?
It can control hardware directly while using little space and power.
Can a microcontroller run AI locally?
Some can run very small models for tasks such as sensor classification. Larger language models typically require more memory and compute than a basic microcontroller provides.

