Base Shield v2 Front
Base Shield v2 Back
So While using Arduino UNO with Base Shield v2, please turn the switch to 5v position; While using Seeeduino Arch with Base Shield v2, please turn the switch to 3.3v.
Added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible with both the board that uses the AVR, which operates with 5V and with the Arduino Due that operates with 3.3V. The second one is a not connected pin, that is reserved for future purposes. ---- According to Arduino UNO
Attention: If using Base Shield v2 with Seeeduino V3, please solder the pads, P1 and P2.
Specification | Name | Qty |
---|---|---|
Analog port | A0,A1,A2,A3 | 4 |
Digital port | D2,D3,D4,D5,D6,D7,D8 | 7 |
UART port | UART | 1 |
I2C port | I2C | 4 |
We have used Grove - LED and Grove - Button with Base Shield v2. All Grove products have Grove connectors, and can be plugged onto Base Shield directly.
/* The circuit: * LED attached from pin 3 to ground * Button attached to pin 2 from +5V * 10K resistor attached to pin 2 from ground * Button Control An LED */ int button = 2; //the Grove port No. you attached a button to int LED = 3; //the Grove port No. you attached an LED to void setup(){ pinMode(button, INPUT); //set button as an INPUT device pinMode(LED, OUTPUT); //set LED as an OUTPUT device } void loop(){ int buttonState = digitalRead(button); //read the status of the button if(buttonState == 1) //get pressed on digitalWrite(LED,1); //turn on the LED else digitalWrite(LED,0); //or not }