All posts by igendel

Why You Don’t Want To Use Dynamic Allocation On Your MCU

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.

Continue reading Why You Don’t Want To Use Dynamic Allocation On Your MCU

Reviving an old joystick with an Arduino Leonardo

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.

Quickshot joystick
The old Quickshot joystick in all its glory

Continue reading Reviving an old joystick with an Arduino Leonardo

Programming AVR Microcontrollers With Linux (The Relatively Easy Way)

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.

A cheap AVR programmer, suitable for Linux too
A cheap AVR programmer, suitable for Linux too

Continue reading Programming AVR Microcontrollers With Linux (The Relatively Easy Way)