Twitter timeline

We are on github

The coders corner has a (fairly active) account on github. From Arduino libraries, Joomla to Hugo through to examples for the datacomms section, why not take a look.

Recent articles and blog posts

Manually creating a menu with TcMenu

By dave on October 10, 2018

In most cases, the Generator UI will generate menus for you, even creating and round tripping the boiler plate code and moving rendering classes and remote capability files into place. However, there may still be reasons to generate a menu manually. Also, if you just want to understand what’s going on under the hood, this guide is good for that too. Before proceeding, I would recommend you try to create a couple through the Generator UI so that you understand the basics first.

Arduino Sketch compilation, cost of virtual tables, Wire memory use - part 2

By dave on September 20, 2018

In part 2 of this series we discuss how sketches compile on Arduino, along with the cost of using the virtual keyword to create virtual classes. Some things are not quite as clear cut as may be initially thought, especially in the very low memory environment of the ATMega328 (Arduino Uno). Lastly we discuss the memory usage of Wire and how to reduce it. If you’ve not read static memory analysis for Arduino - part 1 then I recommend reading that first, as it sets the background for this article.

Evaluating static memory (SRAM) usage in an Arduino Sketch - Part 1

By dave on September 14, 2018

While writing the IoAbstraction library and Tc Menu library I noticed that SRAM memory usage seemed to increase at a rate greater than what seemed right by static evaluation of all the objects I had created. This will become a series of articles on the subject of efficiency in micro-controller environments. In this part, we’ll look at how to evalulate memory on your device, and see how to use underlying avr tools to examine the memory requirements.

How the Arduino memory model works - for AVR

By dave on September 10, 2018

An overview of memory organisation All general purpose processors, be it Intel, ARM or AVR devices work by reading instructions from memory and executing them. They are generally based on one of two Architectures: Von-Neumann or Harvard. The vast majority of larger systems such as PC’s and mobile devices use Von-Neumann, but AVR processors in Arduino boards such as Uno and Mega use Harvard architecture. In a Von-Neumann processor there is one memory area, all program code, data, EEPROM and IO registers share a single memory space, with everything mapped to unique address ranges.

We use cookies to analyse traffic and to personalise content and adverts. Some social media functionality embedded may also create and use cookies in your browser.

Please see our privacy policy should you need more information or wish to adjust your settings.