Learning Stuff is Progress
Summary/Video:
A tour of my SLE workspace from Alex Leutenegger on Vimeo.
Much to my frustration, I don’t instantly know how to do everything.
So, because of this, I’ve spent a lot of time learning how to do things this past week and learned how to effectively do three fundamental things. I now know how to read digital input with a microcontroller, how to set digital output with a microcontroller, and how to use a microcontroller to drive an h-bridge (motor control circuit).
While none of these tasks alone may seem particularly impressive, together they encapsulate almost everything I need to know to control my robot. Additionally, since nothing I’ve done has worked the first time it was turned on, I’ve had to problem-solve and debug everything I do to accomplish even the simplest of tasks, which brings tons of implicit meaning these tasks.
For example, I thought a voltage regulator circuit that I had made was broken. Instead of outputting 5 volts like it was supposed to, my multimeter read that it instead outputted 6 to 7 volts. After replacing each component and checking my connections a million times, I realized that my multimeter may have been the problem, which left me with the question: “how do I test a multimeter.” To answer this, I looked around for something that was constant voltage, discovered that a USB port outputs a constant 5v, carefully tested my USB port, got a similar reading of 6 to 7 volts, and confirmed that not only my multimeter wasn’t working, but also that my voltage regulator circuit worked. In the end, it turned out that my multimeter needed its batteries changed.
Trivial stuff like this has been tripping me up all week. As a quick list, I’ve discovered these things to be common issues when breadboarding circuits.
- Polarity sensitive components hooked up backwards
- Component leads not pushed into contact with the breadboard, especially with my microcontroller
- Leads squishing into each-other, causing shorts
- Power supply not turned on (seriously)
Anyway, I’m starting to excitingly move past microcontroller fundamentals and into the realm of making stuff wheel around and bump into things! Today, I worked on mounting a microcontroller and a motor control circuit onto a piece of perfboard:
Naturally, when I first turned this on, it not only didn’t work, but started smoking. I now have a project for tomorrow.



