Advanced Topic 36 of 50 Mobile, Embedded & IoT
Edge AI and TinyML
Running machine learning on tiny devices.
How it works
Edge AI runs machine-learning inference on devices instead of the cloud, and TinyML targets microcontrollers with kilobytes of memory and milliwatts of power. Models are shrunk using quantization to 8-bit integers, pruning, knowledge distillation and efficient architectures such as MobileNet, then converted to formats such as TensorFlow Lite for Microcontrollers, ONNX or Edge Impulse deployments, and executed with optimized kernels or accelerators such as NPUs. Typical models do keyword spotting, anomaly detection, gesture recognition and visual wake words.
Where it is used
Always-on voice triggers, predictive maintenance on vibration sensors, wearables, smart cameras and agricultural monitoring use on-device inference to save bandwidth, preserve privacy and cut latency.
Common pitfall
Accuracy drops with quantization and small models, and the memory and compute budgets are tight. Training data must match deployed sensor conditions or accuracy collapses. Model updates in the field need infrastructure. Profile latency and energy on the target hardware, use representative data and monitor drift.
Where it fits in the course
Edge AI and TinyML is topic 36 of 50 in Mobile, Embedded & IoT, rated Advanced. It follows Edge Computing. The next topic is Embedded Linux.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Mobile, Embedded & IoT quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Mobile, Embedded & IoT quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Edge AI and TinyML?
Where do people use Edge AI and TinyML?
What is the most common mistake with Edge AI and TinyML?
What should I learn before this topic?
How can I practice it?
Is Edge AI and TinyML hard to learn?
How long does it take to learn Edge AI and TinyML?
Which topics are related to Edge AI and TinyML?
What should I study after Edge AI and TinyML?
Related topics
- Edge Computing (Mobile, Embedded & IoT)
- Embedded Linux (Mobile, Embedded & IoT)
- Zigbee and LoRa (Mobile, Embedded & IoT)
- Device Drivers for Embedded (Mobile, Embedded & IoT)
- Edge Detection (Graphics, Vision & Media)
- Edge Computing for Web (Web Development)