You can find the code for this tutorial in this GitHub repository.
While I don’t consider myself an expert in Arduino programming , I really enjoy building electronic projects in my spare time. So the other day an idea popped into my head: I know a few things about AI and a few things about Arduino, so how about making them work together?
Having experimented with CrewAI [1] over the past few weeks, I came up with the following experiment: connecting CrewAI with Arduino. Additionally, I thought it would be interesting to use some local LLMs, such as those offered by Ollama [2].
But, before we get started with the code, you might not be familiar with Arduino. So, let’s start with the basics.
An Arduino [3] is a small programmable computer that allows you to build your own electronic projects, ranging from basic circuits that blink LEDs to advanced robots capable of moving.
In simple terms, when using the Arduino platform, you need to understand that there…