Single Sided RBBB Arduino.

September 29, 2009

Came across this stunning little BBB by westfw.
Picture 2

Eagle files can be downloaded at:

    http://www.mediafire.com/?1y3winnlwxu

    Advertisements

    Arduino Rain/Moisture Sensor

    September 9, 2009

    Here is a quick and easy rain/moisture sensor made for the Arduino using just a 10k resistor, and two track from a strip board.

    In the sketch below it is programmed to light up the built-in LED on pin 13 when wet.

    DRY

    WET

    ARDUINO CODE

    /* Flood Sensor

    This sketch will light up the LED on Pin 13, when water (anything conductive) bridges the gap in the sensor.

    created 02/09/09

    */

    const int floodSensors = 2; // the number of the Flood Sensor pin
    const int ledPin = 13; // the number of the LED pin

    // variables will change:
    int floodSensorState = 0; // variable for reading the floodSensors status

    void setup() {
    // initialize the LED pin as an output:
    pinMode(ledPin, OUTPUT);
    // initialize the flood Sensor pin as an input:
    pinMode(floodSensors, INPUT);
    }

    void loop(){
    // read the state of the flood Sensor value:
    floodSensorState = digitalRead(floodSensors);

    // check if the flood Sensor is wet.
    // if it is, the floodSensorState is HIGH:
    if (floodSensorState == HIGH) {
    // turn LED on:
    digitalWrite(ledPin, LOW);
    }
    else {
    // turn LED off:
    digitalWrite(ledPin, HIGH);
    }
    }

    In this, my first Post I’m going to show you how to make a stripped down Arduino for a fraction of the price, using Stripboard/Veroboard.

    Material List:

    1x Atmel ATMega168 = £2.65
    1x Stipboard = 72p
    1x 7805 Voltage regulator = 26p
    2x LEDs = 16p
    2x 220 Ohm resistors = 8p
    1x 10k Ohm resistor = 4p
    2x 10 uF capacitors = 12p
    1x 16 MHz clock crystal = 45p
    2x 22 pF capacitors = 10p
    2x .1 mfd capacitors = 10p
    1x small momentary button = 18p
    # small amount of wire for jumpers

    Total = £5.94

    (All prices based on single component prices from bitsbox)

    Once you have collected all your components, its time to cut the tracks in your stripboard, this can be done with a ‘spot face cutter’ or an appropriately sized drill bit (by hand).
    Below is a guide on what tracks to cut, and how to place the components for soldering.

    Tracks1

    back tracks

    Now you have all the raw components soldered in place, test it out with one of the arduino codes such as “blink” that will make use of the built in LED on pin 13.

    Now feel free to add male pins, sockets, ICSP, extra regulated +5v and ground pins……if it fits on your breadbord, it will fit on your Stripduino!
    F92QKRIFYNTAL5O.MEDIUM
    Would love to hear any feedback on this project, and hear how you would go about changing the designs.

    Dirty schematic, and stripboard component added above for techcobweb (will post a better one tomorrow)