Grove Base Cape for BeagleBone v2

Introduction

Grove Base Cape for BeagleBone v2 is a Grove system expansion board for BeagleBone platform. This cape makes it convenient to connect many transducers (sensors and actuators) available as Grove modules with BeagleBone platform. The boards also includes a 256kb Serial EEPROM. It will save a lot effort for you in product development process with soldering-free design and compact plug-and-play ports.

The cape provides 12 easy-to-use Grove connectors to do plug-and-play with the big family of Grove modules. The connectors include 2x UART, 2x ADC, 4x Digital I/O and 4x I2C that interface to the pins on your Beaglebone board, offering almost everything you need. There are two switches used to reset the I2C address in case of address conflicts. The board also integrates a switch for voltage transition - from a normal 5V to 3.3V and vice versa.

Features


  • Easier connection between your BeagleBone and Grove Modules.
  • Soldering-free
  • Saves your time and money

Specifications


Output voltage 3.3 V or 5 V(switchable)
Maximum output current 500 mA at 3.3V, 500 mA at 5V
Digital Grove Ports 6 , share same pins with UART1(labeled) and UART4(labeled)
Analog Grove Ports 2
I2C Grove Ports 4
UART Grove Ports 2 (UART1, UART4)
EEPROM 256kb (Model: CAT24C256WI)
Dimensions 70 mm(Length) × 50 mm(width)

Parts list

Parts name Quantity
Grove Base Cape for BeagleBone v2 1 PCS

Hardware overview


Output voltage switch, is a switch to control output voltage to Grove ports.

USER button, is a button that can be used as BeagleBone USER button.

Cape address switch, is a switch to choose cape address (only useful when multiple capes are attached) to avoid I2C address collision. For details about using more capes, please visit http://beagleboard.org/Support/bone101/#capes and http://elinux.org/BeagleBone_Community#Capes. You can use this switch to choose address from 00(binary, pulled down for factory setttings) to 11(binary, on Grove Base Cape for BeagleBone v2) which correspond to 0x54 to 0x57 for all capes.

Write protection pin, is used to disable write protection of EEPROM of a cape if those pins are connected. By default, it is not connected.

LMV324 operational amplifier , is a low-voltage rail-to-rail output operational amplifiers to control analog voltage. Read more

TXB0108PW, is an 8-bit bidirectional voltage-level translator. Read more.

Note you can find two notch(round corner with holes) on one end of Grove Base Cape for BeagleBone v2.0. This end corresponds to the end with same notch on BeagleBone Green. You can use this notches to ensure proper orientation.

Get started

In this section, we will show you a basic example to use this board. You can find more demos at BeagleBone Recipes page. Just append Grove Base Cape for BeagleBone v2 to those projects to make wire connection convenient.

Suggested reading

Materials required

  • Grove Base Cape for BeagleBone v2 × 1

  • Grove - Button × 1

  • BeagleBone Green (fully compatible with BeagleBone Black without HDMI output)

  • USB cable (type A to type B, for Arduino) × 1 or USB cable (Type-A to micro Type-B, for Seeeduino) × 1

  • Grove cable × 1

Coding work

1.Connect BeagleBone Green to Your PC or MAC by USB cable. Click http://192.168.7.2:3000/ide.html to Open Cloud9 IDE. 2.Connect Grove - Button(P) to Grove Base Cape for BeagleBone v2 with Grove cable. Plug Grove cable to GPIO pin 51. 3.Copy following code to Cloud9, save it to a .js file.

var b = require('bonescript');
b.pinMode('P9_16', b.INPUT);//GPIO 51 correspond to P9_16. More details at http://beagleboard.org/Support/bone101/#headers

setInterval(check,1000);

function check(){
    b.digitalRead('P9_16', checkButton);
}

function checkButton(x) {
    console.log(x.value);
    if(x.value == 1){
        console.log("you are pressing Grove button");
    }
    else{
        console.log("you are not pressing Grove button");
    }
}

4.Click Run in Cloud9 IDE to run the program on BeagleBone Green.

5.Wait for about 10 seconds to view the output at the bottom of Cloud9 IDE. The output probably looks like the following screen-shot:

Resources


Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking