
It's possible to use Serial Communication, used for communication between the Arduino board and a computer or other devices. In simple words, the Raspberry Pi or any computer sends commands to the Arduino that just execute the actions. Let’s have a look at a simple architecture for this idea. This year marks the 10th anniversary of Arduino Day, and what a great milestone to celebrate together. Arduino Day is the perfect time to recognize the incredible community as well. People show off their projects on Social Media with Hashtag #ArduinoDay2023. It’s been a while since I wanted to do this test and nothing better than to do it to celebrate Arduino Day.Įvery year, Arduino Day is celebrated around the world with lots of workshops, meetups and events. I can plug a LED and build a simple blink LED example.Ĭonnect the Arduino with a Raspberry Pi and run my Spring application from the Raspberry Pi. And so this is another article about Java on Raspberry PI or perhaps this time I can say Java and Arduino.Ī simple Spring app where I can create a REST interface to control one of the Arduino GPIOs.

In this article, I show how I created a web app to control my Arduino with a Raspberry PI using Spring.

Have you ever wanted to control your Arduino board from a Raspberry Pi, or your computer, using only Java and not the Arduino language? With over 20 years of experience with Java and over 10 years in the Big Data world, Igor.

Igor currently works as a Software Engineer in a Data Engineer team.
