Simple MAX7219 example
The first thing you will need that makes things easier is to download and install the LedControl Arduino library as it is essential for using the MAX7219. Code #include…
The first thing you will need that makes things easier is to download and install the LedControl Arduino library as it is essential for using the MAX7219. Code #include…
Similar to the previous single colour LED example this is for an RGB led, we use pin 6, 7 and 8 Code //simple button GET server code to control…
This requires an ethernet shield and an LED connected to pin 6. Copy the code into a new sketch and upload it to your arduino and then open your web…
In this example we connect an SD card to our Arduino, we will log analog readings to a file on the SD card. Here is the layout Code #include…
This was a simple example to show sending information using the serial monitor, in our other examples we have generally used the serial monitor for debug, outputting messages. This example…
This particular little project involved connected a DH11 breakout and an I2C LCD display to an Arduino and then displaying the humidity and temperature on the display. The code is…
#include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); Serial.println(“\nI2C Scanner”); } void loop() { byte error, address; int nDevices; Serial.println(“Scanning…”); nDevices = 0; for(address = 1; address < 127; address++ )…
This is a water sensor that I obtained as part of a kit recently, its fairly easy to connect this to your Arduino. the requirements are simply VCC (5v), GND…
In this example we connect the IR reciever to pin 3 and 8 LEDs from pin 4 to pin 11. We will press a key from 1 to 8 and…
The IR reciever and remote were part of a kit Code #include “IRremote.h” int receiver = 3; IRrecv irrecv(receiver); decode_results results; void setup() { Serial.begin(9600); irrecv.enableIRIn(); } void loop() {…