Archive for July 2010

Tips and Tricks (1)

Let’s inaugurate this new section with a records breaking type of puzzler: pointers! While testing my own, private, unique, ultimate LCD library I faced a strange problem. While the printing of strings passed under various testing conditions, the same test failed for printing a unique character! In my case, an extra character was systematically appended […]

SD Cards (Part 3)

Other posts on same subject Part 1, 2, 3, 4, 5, 6 Following the idea of minimizing the extra components required for building smart Arduino applications, here are some illustrations of the additional SD Card module that I am using for testing prototyping purposes (Pevious post). This is the electronic schematic which makes use of simple resistor dividers to make the 5V […]

User Interface (Part 1)

Part 1, 2, 3, 4, 5 The goal for this user interface is to use the least number of pins from Arduino, leaving as many pins as possible for the application itself. Taking advandage of my early works on rotary encoders I decided to use this type of control in addition to an LCD display. This type of combination […]

This may help you too!

Before desiging the ultimate, smartest in the world, unsurpassed Arduino platform, have a look there! At Jeff’s “Comprehensive Arduino-compatible hardware list”, to which he has the modesty to append a “?”, just in case, you, yes you my beloved reader 😉 , finally designed the MagicDuino board! For many of us, the addiction began with […]

Incremental rotary encoders (Part 5)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Now that we managed to optimize our code, what about making commands and functions available, while their source code would be kept invisible? This is what the libraries are all about! I am proposing here to decompose the steps from plain code to a (simple) library. First of all, me must […]

Incremental rotary encoders (Part 4)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 I must confess here that I was not feeling so comfortable at interrupts while writing the early posts on rotary encoders. But now things have changed and we even investigated a very interesting function which allows us to trigger a external interrupt on any change in state on one or more […]

Events management (Part 3)

Part 1, 2, 3 Now that we managed to handle external interrupts on PIND2 and PIND3 some may want to get even more! Why not 😉 And yes, it is possible thanks to the “Pin Change Interrupt”! In this way each of the port lines can be used for triggering an external interrupt! Look at the pinout below, […]