• Another simple example is to hook up a speaker to your Arduino.   Schematic Layout     Code A simple example.   [c] int pin = 8; int note = 988; void setup() { } void loop() { //3 dots …

  • Basics

    DHT11 sensor example

    by shedboy71

    In this example we will show a basic example of connecting a DHT11 Temperature and Humidity Sensor to your Arduino. This is a very nice little, low cost sensor which requires only a pull up resistor to VDD. This can …

  • Basics

    Piezo Buzzer example

    by shedboy71

    In this example we will connect a Piezo buzzer to our arduino and play some basic sounds, this uses the PWM functionality of the Arduino. A piezoelectric element may be driven by an oscillating electronic circuit or other audio signal …

  • Code

    Touch sensor example

    by shedboy71

    The touch sensor is connected to D3 and we attach an LED to D13   Code [c] #define TOUCH_SENSOR 3 //the touch sensor is connected to D3 int led = 13; // pin for the LED void setup() { pinMode(led, …

  • In a previous example we showed you a basic usage of a DS18B20 which outputted the temperature to the Serial output. A simple addition to the code can show a practical example, in this case if the temperature exceeds a …

  • The DS18B20 is a  temperature sensor that can be used in various simple projects.  This part uses the 1 wire (I2C) bus and you can connect multiple sensors up to your Arduino. The part is also relatively low cost and only …

  • Shields

    LCD4484 shield examples

    by shedboy71

    Following on from the LCD 4484 shield introduction, we will present some more basic examples using this shield This is another example using the LCD4484 shield, this time put a character on the screen and then move it across the …

  • Shields

    LCD4884 shield

    by shedboy71

    This was another shield that grabbed my attention, this LCD was used on older nokia phones. You can find it on the internet  at very reasonable rates. LCD Features resolution of 84 by 48 pixels blue back light display bitmap images …

  • Code

    Knight rider effect

    by shedboy71

    In our example of creating a knight rider effect with some LEDs you will require the following parts. Amount Part Type Properties 8 Red (633nm) LED package 3 mm [THT]; leg yes; color Red (633nm) 1 Arduino Uno (Rev3) type …

  • Basics

    Flash an LED

    by shedboy71

    The ability to flash an LED is the most basic ‘hello world’ type of program you can write and run on your arduino. Most Arduino’s have an LED attached to D13, rather than take the easy option we will attach …

Older Posts