The EasyPlug shield provides an incredibly simple, clean, and quick way to connect sensors to your Arduino board. We have sensors for just about anything.
- 6 analog sensor inputs.
- Compatible with ever growing list of VERVE sensors
- Sensors are optimized for performance
- Sensor circuit protection
- No extra code to learn. Uses standard “analogRead(pin#)” command that most users are familiar with.
- Uses any 3.5mm stereo cable, but we have found great flexible and colorful cables.
- Sensors boards have mounting holes
- 6 unique colored cables so sensors are not confused
- Stackable with other shields
- No soldering
- Pins used with EasyPlug shield are identified in ovals.
- Analog pins (AN 0-5) on EasyPlug shield correspond with analog pins (A 0-5) on Arduino UNO board respectively.
- LEDs 1, 2, and 3 correspond with digital/PWM pins 9, 10 and 11 on the Arduino UNO board respectively.
- When using 1 or more of the onboard LEDs, turn the LED switch to the “ON” position.
Here is some demo code to show you how to test your EasyPlug shield.
Plug a sensor into AN0. The brightness of the LED will be proportional to the sensor reading (ADC). Note: Make sure that the EasyPlug LED switch is turned on.
// Pins 9-11 connected to LEDs 1-3 respectively
// Give each of these pins a name:
int led1 = 9;
int led2 = 10;
int led3 = 11;
// initialize analog output value
int analogOut = 0;
// initialize AN0 value
int AN0 = 0;
// the setup routine runs once
// initialize the LED pins as an output.
// the loop routine runs forever:
//Read ADC from sensor on AN0
AN0 = analogRead(A0);
//Map 10 bit ADC to 8 bit DAC
analogOut = map(AN0, 0, 1023, 0, 255);
// Change the analog out value for all 3 LEDs:
// Wait 100 ms