Author

James Lewis

Browsing

When most people say “Arduino” they mean an ATmega328 based board like the Uno.  This means a simple 8-bit microcontroller with only 2K of RAM.  That’s 2,048 bytes of memory to work with.  So when someone asked me if the Arduino could do speech recognition, to be honest, I laughed.  Then my jaw dropped when I saw µSpeech.  A speech recognition library for the Arduino Uno’s ATmega328.

There is one mistake that all C programmers make, regardless of experience.  You’ll do it often when you get started, but never completely stop.  The mistake?  Confusing the “assignment” operator with the “comparison” operator.  Take a look at this line of code:

[cpp] if (something = 0) {
[/cpp]

Notice the problem?  If not, then you might fall into this common trap.  The most annoying part?  A C-Compiler won’t give an error.  That code is legal C.  Legal code doesn’t mean you’ll get the results you expect.  In fact, this is probably not even close to what you wanted.   This simple mistake and why it “works” is explained below.

Each year it is fun to see who gets “got”.  With Twitter fever getter hotter each day, people can’t help but spread juicy news details.  Here’s a running list of the April Fool’s Gags I ran across in 2014 (updated links at top of list)

In the past couple of months, AddOhms has caught a little bit of a following.  Nearly every day I have new questions coming my way.  I decided to it was time to address a couple of really good questions in a video response.  Ironically, in the video I mentioned giving “behind the scenes” info with each video.  However, for this one, I don’t really have any.  I can say that the next video is going to be on transistors…

Smoke detectors beep when their backup battery dies, which always seems to occur in the middle of the night (at least for me.) These backup batteries are usually a small rectangular 9V. They have become popular choices for electronics projects. If you need your Arduino project to last longer than a day, this isn’t the battery you want to use.  Here’s why.