I was never a big fan of using Arduino libraries (i.e. libraries written by people other than yourself), but this time it’s gone too far. They simply can’t be trusted. They do more harm than good. These libraries are evil. Do you think I’m exaggerating? Well cover your nose, because we’re about to go where things really stink!
If you have some background in computer programming languages, and you just started working with low-memory MCUs, you may be tempted to do some dynamic allocation in your programs. After all, that’s what smart memory management is all about, right? Well, the truth is that in the vast majority of cases, dynamic allocation in MCUs will be pointless and even detrimental. In this post, I will explain why.
The Serial Monitor of the Arduino IDE is used extensively by most, if not all, Arduino programmers. it is also unbelievably basic, and provides only the simplest of capabilities. On the plus side, that makes it easy to operate, but it also causes some frustrations. Isn’t it time for a better alternative?
While this could be a really awesome title for an Arduino project (hmm…. maybe it will be, one day), this post is actually about spamming software mechanisms, as exposed by an interesting piece of tell-tale spam I got a few days ago. Let’s peek into the murky depths where spammers and spam blockers collide…
When I found this ancient QuickShot Joystick which seemed to be still in working order, I just had to make it work again. Of course, no modern computer knows how to interface with such a dinosaur, so I build a “translator” system using and Arduino Leonardo. Here’s how.
These error messages are not only common, but also very annoying. Their text is unfriendly and unhelpful; so what’s really the problem, and what can you do to fix it if and when it happens to you?
I finished the 595 Beginner’s Guide with a fairly simple example project. As a supplement, here’s another project, based on the same setup but just a little bit more complex, where we manipulate another input pin on the IC – and by doing that, control the output LED brightness!
After playing with the Arduino for a certain period, you may feel an urge to move forward to stand-alone microcontrollers. The official way to program AVR MCUs is with the Atmel Studio IDE and an Atmel programmer/debugger, such as Atmel-ICE. But Atmel Studio is only for Windows, and the programmers are pretty expensive. Here’s an alternative.
In this guide I will introduce the cheap and useful IC (Integrated Circuit) nicknamed “595” – a Serial-to-Parallel chip, which is commonly used as an output port expander for Arduino and other MCU projects.
No, this is not about their killer driver fiasco from a couple of weeks ago. In a sense, that was a success – at least the driver did what it was supposed to do! How about distributing a demo source code for a new product – probably the very first code a user will try to compile and run – that has obvious bugs which render it useless?