What is the purpose of the C++ qualifier volatile
, what does it have to do with race conditions, and what are Heisenbugs?

Something you have not known before
What is the purpose of the C++ qualifier volatile
, what does it have to do with race conditions, and what are Heisenbugs?
Debugging classic AVRs in the Arduino IDE 2 is finally possible! It took a while to implement this feature, but now it is just a piece of cake to enable debugging and start using the debugger.
Continue readingMicrochip launched a new generation of ATtinys. Is it worthwhile to consider them for your next DIY project?
Continue readingThe featured picture of this blog post is by rawpixel.com on Freepik.
AVR MCUs sometimes appear to restart without you having pressed the RESET button or any other obvious reason. Is that a sign of resilience or of looming danger? How can you find the root cause?
Continue readingThe featured image of this blog post has been generated by Stable Diffusion.
What happens if you take a dozen clocks and throw them into the flow of time?
Continue readingThe featured image of this blog post is by PublicDomainPictures from Pixabay.
Recently, I bought some ATmega328P-PU (DIP packages) chips in China and was concerned that they might be counterfeit, given that three years ago some ATmega328P clones, which did not support nano-power, had been found on Pro Mini boards. The first check looked as if they were fake chips, but apparently, they were the real thing. but they seem to work fine.
The featured image of this blog post is based on a picture by JL G on Pixabay
If you are old enough, you probably remember the Y2k bug. Now, mankind should have learned from it, right? Wrong!
Continue readingThe featured image of this post is by Emphyrio on Pixabay
In parasitic power supply mode, a device sucks its juice from a data line instead of from the power rail. This can be intended or unintended. In the latter case, all sorts of funny things can happen.
Continue readingMake it Fail
(David J. Agans)
The quote is from Dave’s book Debugging: the 9 indispensable rules for finding even the most elusive software and hardware problems, which I recommend to everybody who has to debug a technical artifact.
Another xkcd comic that hits the spot. Except, with my new hardware debugger, this is the past 😎. Recently, I debugged one of my electronic geocaching gadgets and was positively surprised how easy it was to figure out ones own mistakes and to come up with the right fix.
Continue readingCopyright © 2025 Arduino Craft Corner
Theme by Anders Noren — Up ↑