Basics

Let’s start with our Arduino Uno.

The Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digital input / output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button.

arduino

What is important for us:

Input/Output

  • you can use each Pin for both, Input or Output
  • you have  5V with a maximum of 40 mA per Pin
  • functions in the Arduino software:
    • pinMode()
    • digitalWrite()
    • digitalRead()

PWM

  • pulse-width modulation
  • this are the “~” Pins on the Board (Port numbers: 3, 5, 6, 9, 10 11)
  • 8 bit PWM Output
  • functions in the Arduino software:
    • analogRead()

analog Inputs

  • Pin A0 … A5
  • 10 bit resolution (1024 steps)
  • standard: 0 … 5V

power supply

  • for simple circuits we use the power supply via USB connection

To play with our Arduino, we need some additional accessories.
This are one or more breadboards and wires. Here is a picture of a “half-size” breadboard.

breadboard

And we need a lot of wires!

wires

Attention!

There are three kinds of wires:

  • female – female li>
  • female – male
  • male – male (see picture)</

I strongly recommend to buy all three types!

Before we begin, we need the Arduino software. This software is open source. The Arduino software makes it easy to write code and upload it to the Arduino board. You will find here the software:

Download the Arduino Software

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s