Things to change
Once it works, make it do something else.
12 changes across the builds, sorted by how much of the walkthrough disappears. Every one of them starts from a build that already works — so finish that first, then come back here.
Small change
Change a value and watch what happens.
Small change
Add a hold-open delay
Keep the barrier open for a few seconds so a car has time to pass fully.
On Automatic Parking Barrier
Small change
Change the rhythm
Speed up or slow down the blink by changing the delay values.
On Blink an LED
Small change
Make the threshold adjustable
Store the trigger distance in a variable you can easily change and retest.
On Distance Alarm
Small change
Sweep back and forth
Make the servo continuously sweep between two angles.
On Move a Servo
Add something
Add a part or a behaviour the build didn't have.
Add something
Add a warning blink
Blink an LED for a moment before the barrier closes.
On Automatic Parking Barrier
Add something
Add a second LED
Wire in a second LED and make the two blink out of sync with each other.
On Blink an LED
Add something
Add a graduated warning
Add an LED that blinks faster the closer an object gets.
On Distance Alarm
Add something
Point like a clock hand
Move the servo to five different angles in sequence, pausing at each.
On Move a Servo
Design it yourself
You decide how it works. No steps for this one.
Design it yourself
Count how many cars pass
Keep a running count each time the barrier opens and closes.
On Automatic Parking Barrier
Design it yourself
Send a Morse code message
Use short and long blinks to spell out "SOS".
On Blink an LED
Design it yourself
Track the closest distance
Keep track of and print the closest distance seen since the program started.
On Distance Alarm
Design it yourself
Respond to a button press
Add a push button that moves the servo to a new angle each time it's pressed.
On Move a Servo
Haven’t built anything yet? Start with a build.