Arduino writing to an SD card
A common task in the world of datalogging is to store your data on some sort of storage card, the most common kinds being SD and micro SD cards. There…
A common task in the world of datalogging is to store your data on some sort of storage card, the most common kinds being SD and micro SD cards. There…
Just a couple of rainbow shield examples that will randomly light up the various LEDs with different colours [codesyntax lang=”cpp”] #include <Rainbowduino.h> void setup() { Rb.init(); } unsigned char…
The MQ-2 is a fairly low cost sensor that can detect LPG, i-butane, propane, methane ,alcohol, Hydrogen, smoke. There are a wide variety of shields and modules that can be bought…
Another feature of the Arduino Esplora is a built in RGB LED, again its fairly simple to use this using the writeRGB function. You can see the RGB led in…
This example will read the temperature using the built in temperature sensor on the Arduino Esplora and display it on the LCD Code [codesyntax lang=”cpp”] #include <Esplora.h> #include <TFT.h>…
Recently I had problems getting my Arduino and ethernet shield working correctly, I found the following code which basically reports via the serial monitor whether the SD card is available…
I had one of the Rainbowduino/ColorDuino type shields in my box of parts, so I decided to throw up a quick example. The Rainbowduino can be use to drive 8×8…
In this example we connect a 16×2 LCD with an I2C backpack, this backpack allows us to only use 2 pins to connect our LCD to an Arduino, so if…
In the following example we connect a capacitive touch switch to an Arduino and when a touch is detected we will switch on an LED. I used the following capacitive…
Another MAX7219 example using random numbers to randomly light an LED in the matrix, you may want to increase the delay Code #include “LedControl.h” // need the library LedControl lc=LedControl(12,11,10,1);…