
26th February 2025
Get your Code Club coding with AI and ML
Artificial intelligence (AI) and machine learning (ML) are transforming the world around us, and it’s more important than ever for young people to understand this technology.
By introducing AI and ML concepts in your Code Club, you can equip your members with essential skills for the future, spark their creativity, and empower them to become responsible users of AI technologies.

Code Club’s AI projects make exploring AI and ML a blast. You can learn more about the projects in our ‘Taking your first steps into AI’ blog. With hands-on activities and fun challenges, they’re the perfect way to spark a passion for these exciting technologies.
“The AI learning path gives kids an understanding of the different ways AI fits into our world, whether they’re looking at photo recognition or my favourite project ‘Doodle detector’, where we get to draw and decide what our picture is. All of these feed into how young people understand the way AI works, and getting in early gives them a deep understanding of how that can work to help them in the future, and what to look for so that they don’t get caught out by it.”
– Kaye North, Code Club Australia
Project options for every club
New to AI? Start with the ‘Doodle detector’
If you’re new to AI, the Doodle detector is a great project to start with. You don’t need any special kit, just a computer. Creators draw different objects, then train an ML model to recognise their drawings. It’s a fun way for creators to see for themselves how model training works.
Can the model detect an apple? A banana? A cat? A caterpillar? Gather your Code Club and put it to the test!

Limited connectivity? No problem!
In our unplugged Dinosaur decision tree project, creators explore how ML models use decision trees to sort things into groups.
This project uses a paper-based decision tree to classify dinosaurs, but you could classify anything.
Short on time? Create an AI image
Need a quick and creative activity? Try our ‘AI-generated images’ project and produce amazing AI images with Adobe Firefly. Your creators will learn how to write text prompts and then watch as generative AI brings their creations to life.
This project uses Adobe Firefly, which requires an Adobe ID. You must be 13 or older to register for an individual Adobe ID.

Got a microphone? Use your voice!
In the Fish food project, creators train an ML model to recognise voice commands and then play a fun fish-feeding game using their commands. You’ll need a microphone for this one. Want to feed a giraffe or a penguin instead? Go for it!
More advanced coders? Level up with a large language model
Your more advanced Code Club creators can learn how to run a large language model on their Raspberry Pi and create a powerful AI assistant using Ollama.
This project is not recommended for learners below the age of 13 and we encourage Code Club creators to engage with this material responsibly.

New AI safety resources
The Raspberry Pi Foundation has released new AI safety resources that equip educators with the tools to empower learners to question AI technologies, think critically, and use AI technologies responsibly. The AI safety resources allow for flexible learning and have been built around three key components: animations, unplugged activities, and discussion questions.
Head to the Code Club projects page to find these projects and more! Don’t be afraid to experiment and have fun. Who knows? Your Code Club might just create the next big thing in AI!