Arduino

Reference Language | Libraries | Comparison | Changes

## Esplora library

The Arduino Esplora has a set of functions for easily interfacing with the sensors and actuators mounted on the board. The functions are accessible through the Esplora class. The library offers easy access to the data from the onboard sensors, and provides the ability to change the state of the outputs.

The sensors available on the board are:

- 2-Axis analog joystick
- center push-button of the joystick
- 4 push-buttons
- microphone
- light sensor
- temperature sensor
- 3-axis accelerometer
- 2 TinkerKit input connectors

The actuators available on the board are:

- bright RGB (Red-Green-Blue) LED
- piezo buzzer
- 2 TinkerKit output connectors

For more information about the Esplora, vist the getting started guide and the hardware page.

NOTE: If you're using the Arduino IDE version 1.0.3 or earlier, you will need to download the latest version of this library, or get it from the Arduino gitHub repository.

#### Examples

The Esplora Beginners examples show the functionality of the inputs and outputs of the board. They are a good place to start experimenting with the Esplora's capabilities. The Expert examples are more detailed sketches that illustrate project ideas that utilize the board features in novel ways.

### Beginners

- EsploraBlink : Blink the Esplora's RGB LED
- EsploraAccelerometer : Read the values from the accelerometer
- EsploraJoystickMouse : Use the Esplora's joystick to control the cursor on your computer
- EsploraLedShow : Use the Joystick and slider to create a light show with the LED
- EsploraLedShow2 : Use the Esplora's microphone, linear potentiometer, and light sensor to change the color of the onboard LED.
- EsploraLightCalibrator : Read the values from the light sensor
- EsploraMusic : Make some music with the Esplora
- EsploraSoundSensor : Read the values from the Esplora's microphone
- EsploraTemperatureSensor : Read the temperature sensor and get the temperature in in Farhenheit or Celsius.

### Experts

- EsploraKart : Use the Esplora as a controller to play a kart racing game.
- EsploraTable : Print the Esplora sensor information to a table format.
- EsploraRemote : Connect the Esplora to Processing and control the outputs.
- EsploraPong : Play Pong with the Esplora using Processing.

- Esplora Constructor

#### Functions

- readSlider()
- readLightSensor()
- readTemperature()
- readMicrophone()
- readJoystickSwitch()
- readJoystickButton()
- readAccelerometer()
- readButton()
- readJoystickX()
- readJoystickY()
- writeRGB()
- writeRed()
- writeGreen()
- writeBlue()
- readRed()
- readGreen()
- readBlue()
- tone()
- noTone()

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

### Share

### This link has expired.
Please re-subscribe to our Newsletters.

### Subscribe to our Newsletters

Email

Please enter a valid email to subscribe

Arduino Newsletter
Arduino Store Newsletter

### Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy

###### Newsletter

- ©2015 Arduino
- Copyright Notice
- Contact us
- About us
- Careers