Introduction

Previous activities explore how Vernier sensors work with an Arduino® to convert an electrical signal into a sensor reading. But what if you want to connect a sensor to your Arduino board and integrate the sensor data into your program without having to look up the calibration equation? Or perhaps you want to connect different sensors and quickly get readings. In this activity you will learn how the VernierLib Library can help.

 

Objectives

  • Use the VernierLib library to automatically identify a Vernier sensor connected to Arduino
  • Collect and display data from a Vernier Gas Pressure Sensor
  • Explore the VernierLib library, a contributed library in the Arduino software