Predict
Students note which class they expect and why.
Smart Bin has students train and test an image recognition model and connect its prediction to a microcontroller.
Students note which class they expect and why.
The camera or a test image is evaluated by the AI model.
The webpage shows the chosen class and the confidence for each class.
When the prediction is stable, the browser sends a code to the microcontroller.
Students describe when the model works well and which examples are missing.
The setup
The class works with real images, a model from Teachable Machine and a microcontroller that responds to the prediction.
Students link a visible object to a label the model knows.
The confidence score helps discuss when a prediction is usable.
Wrong predictions become a reason to look for missing or one-sided examples.
The browser sends a simple code to the microcontroller.
Students compare expectation, prediction and physical response.
Place in the learning path
The platforms build computational thinking. The projects use that thinking in a cross-curricular assignment in which students build, measure, test and conclude.
This teaching material introduces students to AI technology. You choose how far to take it. Online only? Train your own AI model? Connect it to a micro:bit or build a full setup with your class?
This project does not use its own analytics or advertising cookies. Input, progress and camera images are processed in the browser and may be stored locally on the device. The camera and connected hardware are used only after permission is given in the browser; the project does not upload the images. GitHub Pages logs visitors’ IP addresses for security purposes; external services are governed by their provider’s privacy policy.
Original project material by Robbe Wulgaert may be used, copied and adapted free of charge for education, provided that ‘Robbe Wulgaert – AI in de Klas’ is clearly displayed, where reasonably practical with a link to the original project. Commercial sale, paid distribution, sublicensing or repackaging as a commercial product is not permitted without prior written permission. Other uses outside education also require prior written permission. Third-party components remain subject to their own licences.