Code example

Parts data sheets listed below:

http://me.web2.ncut.edu.tw/ezfiles/39/1039/img/617/L9110_2_CHANNEL_MOTOR_DRIVER.pdf

http://sensorkit.en.joy-it.net/index.php?title=KY-012_Active_Piezo-Buzzer_module

https://arduinomodules.info/ky-016-rgb-full-color-led-module/

https://randomnerdtutorials.com/complete-guide-for-ultrasonic-sensor-hc-sr04/

https://www.arduino.cc/en/uploads/Main/ArduinoNanoManual23.pdf

https://www.es.co.th/Schemetic/PDF/TCRT5000.PDF

These are free Arduino resources

https://www.arduino.cc/en/Guide/HomePage

https://www.arduino.cc/en/Main/Education

Arduino in a Nutshell free PDF

Arduino Structures

 

 

link