News

Since the project uses pretty basic components, the Arduino code is equally basic, too. It only has less than 50 lines and easily understandable functions and structures.
The code includes two Arduino libraries: one for the servo and another for the ultrasonic sensors. The main code is a simple 14-line piece with a simple if-else statement you can readily modify.
Don't worry, the coding is simple enough to understand even without prior experience. An Arduino is a much better choice than a Raspberry Pi for tasks that require real-time input and responses.