A Momentary Victory

After a lot of head scratching, I finally got my momentary button working! I’m still struggling with the details of it all, but a big hurdle for me was needing to use a pullup resistor, before wiring the button to the Arduino pin.

Relocated wires, and tried to “clean up” a bit. This isn’t code, but definitely feels like refactoring. Might even be able to get away with a half-size breadboard.

And it works! I’ve wired the momentary button to only light up when pressed (though there’s a way to always have it lit).

The button works right now when there’s continuous power to the whole setup (the arduino is plugged into my laptop via USB). The next step is to be able to have this powered via a battery of some kind… and to turn on the device via a button press (and have it auto shut off after a set amount of time).

Feels like I’ve taken a small step towards that direction. Also, need to get a servo motor running on this thing. Getting closer!

Related:
Second Solder
First Solder

This Post Has 0 Comments

Leave A Reply