We’ve all been there. When debugging a microcontroller project, we just want to put in a print statement to figure out what’s going on with the microcontroller in real time. However, advanced embedded programmers know that printf statements are verboten: they’re just too SLOW. While not fixing this plight entirely, [Atakan Sarioglu] has come up with a clever way to create readable debug messages with minimal runtime overhead.
[Atakan Sarioglu]’s innovation, called BigBug (Github), is a dynamically-generated codebook. The codebook translates abbreviated messages sent over serial (UART here) to longer-form human-readable messages. To generate the codebook, BigBug automatically parses your comments to create a lookup between an abbreviation and the long-form message. When you are running your program on the microcontroller, BigBug will translate the short codes to long messages in real-time as you send log/debug data over serial. Continue reading ““DB” = Abbreviated Microcontroller Debugging”
Still looking for that perfect gift? [Joel Witwer] shows us how to make a log coaster set and holder on the cheap. He figures he spent just $5 on the project and from what we can tell that all went to some polyurethane which he used to finish the wood pieces.
It started with an interesting-looking and appropriately sized log which he found on the side of the road. We’re not sure about the ins and outs of drying stock to ensure it won’t crack, but we hope he took that into account. With raw material in hand he headed over to the band saw. The cutting starts by squaring up both ends of the log while cutting it to the final length. He then cut the bottom off of the holder. What was left was set upright so that he could cut the core out of the log. This is the raw material from which each coaster is cut. A spindle sander was used to clean up all of the pieces. The last step before applying finish is to glue the bottom and sides of the holder back together.
[Joel] gave some tips in his Reddit thread. He says you should hold on tight while cutting out the slices for coasters because the round stock will want to spin. He also mentions that some of the slices aren’t as flat as they should have been, something to think about if you’re cutting these for yourself.