Thank you. I understand breadboards. And luckily, 8 year old boys, since that’s who mostly signed up.
I could use some help figuring how to add on to a build. For instance, if we do the dual LED chaser Dual LED Chaser Arduino Project for Beginners how could we add the HRSC04 and a buzzer to that and make it a motion-activated alarm?
Oh, yeah, I want to do BIG things with these kids!
Cool! Congrats on your grants! I used to teach physical computing (though will forever and always consider myself a beginner circuit builder and coder) and am happy to help brainstorm.
Adding on pieces is really a simple process–you have to make sure the power in and out of the circuit remains balanced (5V from the Arduino is still enough for this) and that you have a digital I/O for the ultra sonic distance sensor and the buzzer. Here is a good example of a simpler motion activated alarm: https://www.instructables.com/Arduino-Ultrasonic-Sensor-HC-SR04-With-Buzzer/
Try building the alarm first and see what happens if you add on some additional LEDs and series resistors–can you get the code from the LED chaser to work with the code in the buzzer example? What looks familar–how might they work together to form a bigger project?