Loading... Please wait...

Arduino Tutorials

Arduino Tutorials

This year we have upgraded our Pro and Deluxe versions of our best-selling Arduino Kits. We are introducing a new Pro Plus kit which offers incredible value for $79.95 with 195 items and a genuine Arduino Uno. We have reduced the price of the standard Pro kit by $10 and added a whole lot more for $59.95. And the new Deluxe kit contains everything in the Pro kit but upgrades the stepper motor to a heavyweight NEMA17 and also offers a metal gear servo. The Deluxe retails for $99.95.

There are over 80 tutorials described here that cover everything we sell in these kits. Please use them to discover the full potential of your kit.

Basics

  • BareMinimum: The bare minimum of code needed to start an Arduino sketch.
  • Blink: Turn an LED on and off.
  • DigitalReadSerial: Read a switch; print the state out to the Arduino Serial Monitor.
  • AnalogReadSerial: Read a potentiometer; print its state out to the Arduino Serial Monitor.
  • Fade: Demonstrates the use of analog output to fade an LED.
  • ReadAnalogVoltage : Reads an analog input and prints the voltage to the serial monitor

Digital

Analog

  • AnalogInOutSerial: Read an analog input pin, map the result, and then use that data to dim or brighten an LED.
  • Analog Input: Use a potentiometer to control the blinking of an LED.
  • AnalogWriteMega: Fade 12 LEDs on and off, one by one, using an Arduino Mega board.
  • Calibration: Define a maximum and minimum for expected analog sensor values.
  • Fading: Use an analog output (PWM pin) to fade an LED.
  • Smoothing: Smooth multiple readings of an analog input.

Communication

  • ReadASCIIString: Parse a comma-separated string of ints to fade an LED.
  • ASCII Table: Demonstrates Arduino's advanced serial output functions.
  • Dimmer: Move the mouse to change the brightness of an LED.
  • Graph: Send data to the computer and graph it in Processing.
  • Physical Pixel: Turn a LED on and off by sending data to your Arduino from Processing or Max/MSP.
  • Virtual Color Mixer: Send multiple variables from Arduino to your computer and read them in Processing or Max/MSP.
  • Serial Call Response: Send multiple variables using a call-and-response (handshaking) method.
  • Serial Call Response ASCII: Send multiple variables using a call-and-response (handshaking) method, and ASCII-encode the values before sending.
  • SerialEvent: Demonstrates the use of SerialEvent().
  • Serial input (Switch (case) Statement): How to take different actions based on characters received by the serial port.
  • MultiSerialMega: Use two of the serial ports available on the Arduino Mega.

Control Structures

  • If Statement (Conditional): How to use an if statement to change output conditions based on changing input conditions.
  • For Loop: Controlling multiple LEDs with a for loop and.
  • Array: A variation on the For Loop example that demonstrates how to use an array.
  • While Loop: How to use a while loop to calibrate a sensor while a button is being read.
  • Switch Case: How to choose between a discrete number of values. Equivalent to multiple If statements. This example shows how to divide a sensor's range into a set of four bands and to take four different actions depending on which band the result is in.
  • Switch Case 2: A second switch-case example, showing how to take different actions based in characters received in the serial port.

Sensors

LED Display

Strings

Liquid Crystal Display

  • Hello World: Displays "hello world!" and the seconds since reset.
  • Blink: Control of the block-style cursor.
  • Cursor: Control of the underscore-style cursor.
  • Display: Quickly blank the display without losing what's on it.
  • TextDirection: Control which way text flows from the cursor.
  • Scroll: Scroll text left and right.
  • Serial input: Accepts serial input, displays it.
  • SetCursor: Set the cursor position.
  • Autoscroll: Shift text right and left.

Nokia 5110 Display

DS1307 Real-Time Clock Module

Motors and Servos

Remote Control

SD Card

  • SD Card: Reading and writing an SD Card

Piezo Transducer and Buzzer

Relay Module

Shift Register

433 Mhz RF Communication

Notes

Some of these tutorials are based on the tutorials from the official Arduino.cc site. Some are updated with parts in the oddWires kits and some are exactly as described in the original text and images. Both the original and the oddWires texts are licensed under the Creative Commons Attribution ShareAlike 3.0 License.

You can find the complete text of the license here.

The Arduino brand, Arduino logo, design of the website and design of the boards are copyright of Arduino SA and cannot be used without formal permission. For information about the right way to use them, please write to trademark@arduino.cc

The oddWires brand, oddWires logo, design of the oddWires website are copyright of oddWires and cannot be used without formal permission.

 

What's News

newsletter

Copyright 2017 oddWires. All Rights Reserved.
 Sitemap | oddWires