Day 2: so for today I built an ultrasonic sensor which triggers the servo motor. Alot of thing went wrong suprisingly, one of the things that went wrong was that I tried to put 25,000 in the pulseIn() instead of 25000 which made the timeout read 25, 000 instead of the 25000 I wanted. Not alot of thing went wrong with the building itself. I also found out how to make a 5V power rail on the breadboard so that all my components can get the power they need, just like how I did it with the GND! The video below shows how the built perform! If the video doesn’t play just know that if I put anything infront of the ultrasonic sensor it makes the little blue motor move its white arm 90 degrees.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.