In this example we connect a tilt switch up to Pin 2 and connect an LED to pin 3, when we move the tilt switch the LED will light Code [c] const int tiltPin = 2; // the number …
-
-
Sensor Module Kit This was a kit that I spotted that I thought would be useful for little experiments, as you can see from the listing below there are a variety of useful little modules. Here is a picture of …
-
Taking our hello world I2C OLED example a bit further, this is our next creation. We connect a DS18B20 temperature sensor and display the temperature on the display Coding You need to download and install various libraries and copy them …
-
Just recently I spotted various I2C OLED displays on sale at reasonable prices and fancied trying to connect these up one of my Arduino’s. Being relatively small size, requiring only 2 connections SDA and SCL from the Arduino but still …
-
Its a fairly simple process to connect your Arduino to your PC and write an appilcation to interact with your hardware. You will need the usual Arduino hardware, IDE and in this case an LED connected to the board. For …
-
Clock Shield I chose this shield, not because you can actually use this as a clock but because of the various features that are available for beginners to experiment, here is what is available on the shield Piezo Buzzer An …
-
In this example we connect an infra red receiver to our Arduino and an RGB led. We will use various button combinations on the remote control to switch on an LED and we will use a button to switch them …
-
This shield got my attention as it looked like a nice beginners learning type shield with which you could get up and running with an Arduino Here is a picture of the board, a few code examples are available later …
-
Another MAX7219 example using random numbers to randomly light an LED in the matrix, you may want to increase the delay Download and install the LedControl Arduino library as it is essential for using the MAX7219. Code [c] #include “LedControl.h” …
-
The first thing you will need is to download and install the LedControl Arduino library as it is essential for using the MAX7219. Code [c] #include “LedControl.h” // need the library LedControl lc=LedControl(12,11,10,1); // // pin 12 is connected …
-
In this example we use the ethernet shield again but this time we connect an RGB led to pins 6, 7 and 8 Code [c] #include <SPI.h> #include <Ethernet.h> #include <Servo.h> Servo myservo; // create servo object to control a …
-
This example 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 browser to http://192.168.1.177 Code [c] #include <SPI.h> #include …