Table of Contents

Basics of Arduino

  1. Introduction to Arduino
  2. Basic Electronics
  3. Arduino Development Environment
  4. Arduino Programming
  5.  Arduino Examples

The following:

  • PC (Windows, Mac, Linux) 
  • Arduino UNO (~200 NOK)  or a Starter Kit (~800 NOK)  
  • Software (free) 

What do you need?

To get started you need following: 

  • Electrical components (wires, resistors, etc.), Equipment, Resistors, Temperature sensor Switch, Arduino, Potentiometer, Light sensor Breadboard, USB cable, Multimeter, Thermistor, LEDs.

Connect your Arduino to your PC

Electrical Circuit

Electrical Circuit with a Switch

Short Circuit

Power Supply

  • We must never connect positive and negative side to a power source without having an electrical component in between.
  • If you do, it is called a short circuit.
  •  For example, if you short circuit a battery, the battery will get very hot and the battery will run out very quickly.
  •  Some batteries may also start to burn.
  •  When it starts to smoke from electrical components, it happens because it has become too hot.
  • In most cases, it means that the component is broken.

Ohms Law



You can use a Multimeter to measure current, voltage, resistance, etc. in an electric circuit.

Light-Emitting Diode – LED


Resistance is measured in Ohm (Ω), Resistors comes in many sizes,

e.g., 220Ω ,
270Ω, 330Ω, 1kΩm 10kΩ, …

The resistance can be found using Ohms Law

Resistor Color Codes

What is the values for your resistors?

  • Use the Color Codes to figure it out
  • Use also a Multimeter to see if you get the same results.

What is the values for your resistors?

Use a «Resistor Color Code
      Calculator», which you can find on Internet

Resistors in Series and Parallel

Kirchhoff’s Laws










A switch breaks the flow of current through a circuit when open. When closed, the current will flow unobstructed through the circuit.


It is used electric components to wire together.

 Correct Wiring

Make sure not to short-circuit the components that you wire on the breadboard