Skip to content

O_Expansion_Shield_V2_SKU__DFR0375

Angelo edited this page Sep 21, 2016 · 3 revisions

IO Expansion Shield V2 SKU:DFR0375

Introduction

The Cookie I/O expansion shield is designed for beginners to electronics. The shield is directly compatible with the Boson kit. We have implemented fail-safe systems to prevent bad connections from destroying the board. The board is protected from reverse voltage input. And connector ports only accept connections the correct way around. These fail safes make the board ideal for beginners and classroom settings - no need to worry about your students making the wrong connections!

Features

  • 6 x PH2.0-3P interface digital ports: D3, D5, D6, D9, D10, D11
  • 6 x PH2.0-3P Interface analog ports: A0 - A5
  • Two I2C ports, PH2.0-4P Interface
  • 5V or 3.3V power supply (selected via power jumper cap)
  • Size: 58 * 52 mm / 2.28 * 2.04 inches

Pin Definitions

850px

Details

Digital & Analog

650px

"D": represents digital signal "A": represents analog signal

One of the biggest benefits of the I/O expansion shield is increased power and GND pins, allowing you to connect more sensors.

* Green: digital signal
* Blue: analog signal
* Red: VCC
* Black: GND

650px

  • This is DFRobot's Gravity Interface. Digital and analog connections are easy to recognize and support most of DFRobot's I/O expansion shields and modules. Search "Gravity" in the DFRobot store to find compatible modules.

3.3V / 5V Power Switching

The shield is compatible with 3.3V and 5V logic. Select desired voltage by shorting either the 3.3 or 5v pins as pictured.

450px

Cookie I/O Expansion Shield Applications

You will need:

  • Hardware
    • UNO Dashboard x1
    • DFR0375 Expansion Shield x1
    • Analog Sensors (Ambient Light Sensor) x1
    • Jumper Cables
int light=0;

void setup() {
  // put your setup code here, to run once:
  pinMode(3,OUTPUT);
  Serial.begin(9600);
}
void loop() {
  // put your main code here, to run repeatedly:
  light=analogRead(0);
  Serial.println(light);
  if(light>100)
    digitalWrite(3,HIGH);
  else  digitalWrite(3,LOW);
  delay(100);
}

When there is low ambient light, the LED will turn ON. 500px

FAQ

For any questions/advice/cool ideas to share, please visit DFRobot Forum.

More

Schematic Layout SVG file

link=http://www.dfrobot.com/ get it from dfrobot store or dfrobot distributor.

Clone this wiki locally