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.
Cookie | Type | Duration | Description |
---|---|---|---|
Chatra | third party | 1 week | Used for chat widget |
CloudFlare (__cfduid) | persistent | 1 month | Used by CloudFlare service for rate limiting |
Cookie Consent: Necessary | session | 12 hours | Used to preserve cookie consent answer for necessary cookies |
Cookie Consent: Non-Necessary | persistant | 1 year | Used to preserve cookie consent answer for non-necessary cookies |
Cookie Consent: Viewed Cookie Policy | persistent | 1 year | Used to remember if user viewed the cookie policy |
Facebook Pixel | third party | 3 months | Used to track clicks and submissions that come through Facebook and Facebook ads. |
Google Analytics (_ga) | persistent | 2 years | Used to distinguish users for Google Analytics |
Google Analytics (_gat) | persistent | 1 minute | Used to throttle request rate of Google Analytics |
Google Analytics (_gid) | persistent | 24 hours | Used to distinguish users for Google Analytics |
Google Analytics (Tag Manager) | third party | 2 hours | Used to measure the effectiveness of our marketing ads and campaigns. |
Hotjar | persistent | 365 days | Used to measure the effectiveness of our website and provide visual insights on design decisions. |
HubSpot Analytics | third party | Varies | Used to track consent and privacy settings related to HubSpot. |
third party | Used to track clicks and submissions that come through LinkedIn and LinkedIn ads. | ||
PHP Session | session | session | Used to store API results for better performance |
third party | Used to track clicks and submissions that come through Twitter and Twitter ads. | ||
WooCommerce: Cart | temporary | session | Helps WooCommerce determine when cart contents/data changes. |
WooCommerce: Items in Cart | session | session | Helps WooCommerce determine when cart contents/data changes. |
WooCommerce: Session | persistent | 2 days | Helps WooCommerce by creating an unique code for each customer so that it knows where to find the cart data in the database for each customer. |
WordPress: Login Session | persistent, session | Session or 2 weeks (if user clicks remember me) | Used by WordPress to indicate that a user is signed into the website |
WordPress: Secured Account Details | persistent, session | Session or 2 weeks if user chose to remember login | Used by WordPress to securely store account details |
WordPress: Test Cookie | session | Session | Used by WordPress to check if the browser accepts cookies |