Arduino sd card distance sensor project help

I will connect a distance sensor to Arduino. Then I will connect an sd card. If the distance sensor reads less than 15 cm, it will play the 1st music on the sd card and stop. If the value is read less than 15 cm again, the 2nd song will be played. Can you help me do this project?

Of course. This is a simple project. All you need is a SD card reader and an ultrasound sensor. What help you need?

1 Like

Kodlarını verebilir misiniz?