EasyPlugLogo

EasyPlug Navigation


 

EasyPlug Information

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.

inxus connect-4

Features:

  • 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


Back to Top

 

EasyPlug Guide

EasyPlugCircuitWelcome aboard! We hope you will fall in love with programming the way we have. It has become a wonderful part of our lives. Here are some important notes before you start (see diagram above):

  • 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.

/*

EasyPlug Example
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
void setup()

{

// initialize the LED pins as an output.
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);

}

// the loop routine runs forever:
void loop()

{

//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:
analogWrite(led1, analogOut);
analogWrite(led2, analogOut);
analogWrite(led3, analogOut);

// Wait 100 ms
delay(100);

}

Back to Top