The Start

Hi, What and Why

Plug it in

Rule number 1

Water Sensor

Sound Sensor


Tri Colour LED

RTC (Real Time Clock) DS1302

RTC (Real Time Clock) DS3231

Matrix LED step 1


Stepper Motor

LCD revisited with PCF8574T

Humidity Sensor

Shift Register

RFID tags (RC-522)

7 Segment display

Ultrasonic distance sensor

5V regulator

analogRead and analogWrite

Wiring an Array of Switches

The next step

Other things I have bought

Infra red and Processing

Programming a separate arduino chip

Creating your own PCB

L293D for a DC motor

4 digit 7 segment display

Starting with motors

RF433 Wireless Comms

Sort a character array

More stuff

I2C devices (SDA,SCL)

I2C scanner

SPI devices (MOSI,MISO)

HMC5883L Compass

MMA7361 Accelerometer

Added projects

Message Display System

4WD robot car
4WD robot car II

4WD robot car COMPLETE

MP3 Player

analogRead and analogWrite

It took me ages to discover this, but it is mentioned in the manual.

analogRead has nothing to do with analogWrite.

analogWrite can be used on any PWM pin (digital pins 3, 5, 6, 9, 10, and 11) and creates a PWM wave.
a PWM wave is a square-shaped wave that can be read using pulseIn.

analogRead reads a voltage from the analog pins only.
When it reads a voltage of between 0V and 5V, it will return an integer value of between 0 and 1023. (where 5V corresponds to 1023, obviously).
Personally, I've yet to find a wonderful use for this. If you have a great example, then please do leave the details below.
The analog pins can be used in the same way as digital pins for both output and input, which I find much more useful.