There are two ways to connect Vernier sensors to Arduino. You can plug any standard Vernier sensor with a BTA or BTD connector directly into a Vernier Arduino Interface Shield or you make your own wired connections with a breadboard and one or more Vernier Protoboard Adapters.
The method you choose will depend on the complexity of your project. Be sure to use an Arduino board that operates at 5 volts; standard Vernier sensors will not work on 3.3-volt Arduino boards at this time.
The Vernier Arduino Interface Shield plugs directly on top of an Arduino board. It contains two analog (BTA) sensor ports and two digital (BTD) sensor ports labeled Analog 1, Analog 2, Digital 1, and Digital 2 from left to right. The Analog 1 and Analog 2 ports will accommodate over 80 Vernier analog (BTA) sensors. The Digital 1 port is used for all digital (BTD) sensors. The Digital 2 port is generally reserved for motors, LCD displays, and the Vernier Digital Control Unit (DCU). The shield also includes a reset button, a general-purpose button, and an indicator LED.
The Vernier Arduino Interface Shield was developed in conjunction with SparkFun Electronics and is compatible with SparkFun’s Redboard, the Arduino Uno, or any 5V Arduino with similar pinouts, such as the Arduino Mega or Leonardo.
These adapters were designed to plug into a breadboard using jumper wires to make connections from the breadboard to the Arduino pins. Choose the Analog Protoboard Adapter if you are using analog (BTA) sensors, the Digital Protoboard Adapter if you are using digital (BTD) sensors, or both if you will be using both types of sensors.
Our protoboard adapters have six pins. The pins are labeled on the adapters starting with the pin farthest from the tab on the socket. In order for Vernier library commands and sample sketches to work properly, be sure to make your connections between the breadboard and Arduino according to the pinouts listed below. Note these pin connections are identical to those used on the Vernier Arduino Interface Shield.
Wiring a Second Analog Protoboard Adapter
A second Analog Protoboard Adapter allows you to use two Vernier analog sensors at once with your Arduino.
Wiring a Second Digital Protoboard Adapter
A second Digital Protoboard Adapter allows you to use two Vernier digital sensors at once or a digital sensor in conjunction with the Vernier Digital Control Unit (DCU) or the Vernier DCU by itself. Be aware that the VernierLib commands assume the sensor is plugged into the first adapter and the DCU is plugged into the second adapter.
Arduino® and
are trademarks of Arduino SA.