Archived Library Examples

Browse through a selection of examples from archived Arduino libraries.

Curie BLE

Library examples for BLE functions with the Arduino/Genuino 101 board.

The Arduino/Genuino 101 is a retired product.

Arduino 101 CurieBLE Battery Monitor

This tutorial shows one of the simplest things you can do with an Arduino 101 Bluetooth Low Energy capabilities.

Arduino 101 CurieBLE Button LED

With this tutorial you learn to use the Curie BLE library to connect your board with a smartphone or tablet.

Arduino 101 CurieBLECallbackLED

With this tutorial you use the Arduino 101 Bluetooth Low Energy (BLE) capabilities to turn on and of the LED connected to Pin 13 from a smartphone or tablet.

Arduino 101 CurieBLE Heart Rate Monitor

This tutorial demonstrates the Arduino 101 onboard Bluetooth Low Energy capabilities.

Arduino 101 CurieBLE LED

With this tutorial you use the Arduino 101 Bluetooth Low Energy (BLE) capabilities to turn on and of the LED connected to Pin 13 from a smartphone or tablet.

Curie IMU

Library examples for IMU functions with the Arduino/Genuino 101 board.

The Arduino/Genuino 101 is a retired product.

Arduino 101 CurieIMU Accelerometer

With this tutorial you learn to read the three axes of the accelerometer contained in the IMU (Inertial Measurement Unit) of the 101 board.

Arduino 101 CurieIMU Accelerometer Orientation

With this tutorial you convert the accelerometer readings into an orientation on the 101 board.

Arduino 101 CurieIMU Gyro

With this tutorial you learn to read the gyroscope raw values and convert them into an angular velocity around each of the three axes.

Arduino 101 CurieIMU Orientation Visualiser

This tutorial demonstrates how to make use the 6-axis IMU to read the X, Y, and Z values of both the accelerometer and the gyroscope.

Arduino 101 CurieIMU Raw IMU Data Serial

In this tutorial you read the whole set of raw data from accelerometer and gyroscope.

Arduino 101 CurieIMU Shock Detect

With this tutorial you learn to set up one of the features of the IMU and manage the interrupt generated when the feature sensing conditions are met.

Arduino 101 CurieIMU Step Count

With this tutorial you learn to use the step counting feature of the IMU.

Arduino 101 CurieIMU Tap detection

With this tutorial you learn how to detect double taps made on the board in a limited time interval and on any of the three axes.

Curie Timer

Library examples for timer functions with the Arduino/Genuino 101 board.

The Arduino/Genuino 101 is a retired product.

Arduino 101 Curie Timer One Interrupt

With this tutorial you learn to use one of the timers available in the microcontroller on the 101.

Arduino 101 Curie Timer One PWM

With this tutorial you learn to use one of the timers available in the microcontroller to generate a PWM signal.

CurieTime Read Test with Arduino 101

This example demonstrate how to use the CurieTime library methods.

CurieTime Read Test

This example demonstrate how to use the CurieTime library methods.

Esplora

Grants easy access to the various sensors and actuators of the Esplora. This library is no longer being updated.

The Esplora is a retired product.

EsploraAccelerometer

Read orientation values from the accelerometer on the Esplora.

EsploraBlink

Blink the RGB LED on the Esplora.

EsploraJoystickMouse

Use the joystick on the Esplora to control the cursor on your computer.

EsploraKart

Use the Esplora as a controller to play a kart racing game.

EsploraLedShow

Use the Joystick and slider to create a light show with the LED.

EsploraLedShow2

Use the microphone, linear potentiometer, and light sensor on the Esplora to change the color of the onboard LED.

EsploraLightCalibrator

Read and calibrate the light sensor on the Esplora.

EsploraMusic

Make some music with the Esplora.

EsploraPong

Play the classic Pong game with the Esplora using Processing.

EsploraRemote

Connect the Esplora to Processing and control the outputs.

EsploraSoundSensor

Read the values from the microphone on the Esplora.

EsploraTable

Print the Esplora sensor information to a table format.

EsploraTemperatureSensor

Read the temperature sensor and get the temperature in in Farhenheit or Celsius.

GSM

Enables GSM/GRPS network connection using the Arduino GSM Shield.

The GSM Shield is a retired product.

Make Voice Call

Get your shield to make phone calls from the Serial Monitor.

Receive SMS

Read SMS messages and prompt them to the Serial Monitor.

Receive Voice Call

Check the status of the modem while getting voice calls.

Send SMS

Use the Serial Monitor to type in SMS messages to different phone numbers.

GSM Web Client

Download the content of a website to your Arduino board through GPRS.

GSM Web Server

Create a wireless web server through GPRS.

Band Management

Manage the band the GSM shield connects to.

GSM Scan Networks

Check for available networks in your area.

GSM PIN Management

Manage the PIN number of your SIM card (changing or removing it).

GSM Test GPRS

Test the proper functionality of the GPRS network using your SIM card.

GSMToolsTestModem

Read the IMEI of your modem and print it in the Serial Monitor.

GSM Test Web Server

Create a webserver with your GSM shield.

Robot Control

Enables easy access to the controls of the Arduino Robot Control board.

The Arduino Robot is a retired product.

RobotCompass

Plan a treasure hunt with this digital compass.

RobotCompassCalibration

Calibrate the compass module so it rotates evenly.

RobotDiscoBot

Turn your robot into an 8-bit jukebox and dance to the beat.

RobotHelloUser

Hack the robot welcome demo and make your own.

RobotInputs

Learn how to control the knob and the keyboard.

RobotLineFollowing

Draw a racing track and get your robot to run on it.

RobotLogo

Tell your robot where to go through the on-board keyboard.

RobotPictureBrowser

Want to use your own images? This is how.

RobotRemoteControl

Reuse that old tv-remote to command the bot on distance.

RobotRescue

Train your robot to look for hidden pearls in a maze.

RobotRunawayRobot

Play tag with your robot using a distance sensor.

RobotWheelCalibration

Tune the wheels to perform even better.

TFT

Allows drawing text, images, and shapes on the Arduino TFT graphical display.

The Arduino TFT LCD Screen is a retired product.

EsploraTFTBitmapLogo

Use the Esplora as a controller to play a kart racing game.

EsploraTFTColorPicker

Using the joystick and slider, change the color of the TFT screen.

EsploraTFTEtchASketch

An Esplora implementation of the classic Etch-a-Sketch.

EsploraTFTGraph

Graph the values from the light sensor to the TFT.

EsploraTFTHorizon

Draw an artificial horizon line based on the tilt from the accelerometer.

EsploraTFTPong

A basic implementation of the classic game.

EsploraTFTTemp

Check the temperature with the onboard sensor and display it on screen.

TFTBitmapLogo

Read an image file from a micro-SD card and draw it at random locations.

TFTColorPicker

With three sensors, change the color of the TFT screen.

TFTDisplayText

Read the value of a sensor and print it on the screen.

TFTEtchASketch

An Arduino version of the classic Etch-a-Sketch.

TFTGraph

Graph the values from a variable resistor to the TFT.

TFTPong

An Arduino implementation of the classic game.

WiFi

Enables network connection (local and Internet) using the Arduino WiFi Shield.

The WiFi Shield is a retired product.

Connect No Encryption

Demonstrates how to connect to an open network.

Connect With WEP

Demonstrates how to connect to a network that is encrypted with WEP.

Connect With WPA

Demonstrates how to connect to a network that is encrypted with WPA2 Personal.

Scan Networks

Displays all WiFi networks in range.

Simple Web Server WiFi

Turn on and off an LED accessing this simple Web Server.

Network Time Protocol (NTP) Client

Query a Network Time Protocol (NTP) server using UDP.

WiFi Chat Server

Set up a simple chat server with the WiFi Shield.

WiFi RTC

With this tutorial you will learn to use the RTC (Real Time Clock) and the WiFi capabilities.

Send and Receive UDP String

This sketch waits for a UDP packet on a local port. When a valid packet is received, an acknowledge packet is sent back to the client on a specified outgoing port.

WiFi Web Client

Connect to a remote webserver.

WiFi Web Client Repeating

Set up your WiFi Shield to repeatedly make HTTP calls to a server.

WiFi Web Server

Serve a webpage from the WiFi shield with Analog Input values.