hi guys, i want to make sentry turret for room defense just like inside this link
https://youtu.be/yTYcKkbNFOY?si=szR1GDyIw56YZdrO
it using PIR Sensor, Ultrasonic Rangefinder Sensor, NEMA 17 and the driver, Airsoft gearbox, Arduino and maybe using battery or power supply. Can someone teach me how to do the coding please ?