Skip to content

SparkFun sensor kit

Michael Ambrus edited this page Dec 17, 2017 · 5 revisions

format: Markdown categories: sensors sensor devkit Workbenches toc: yes title: SparkFun Sensor Kit ...

Introduction

ehwe-labs using sensors from SparkFun's Sensor Kit with BusPirate as HW-interface for ehwe.

Part number: DEV-13754

I2C pin-out for the Bus Pirate socket:

Schematic:

Scematics Pinout gif *Click for full schematics (Dangerous prototypes v3.5)*

BusPirate board (SparkFun version):

Sparkfun Pinout gif *Note: Mirrored compared to above schematic. Also note that the key-notch **points inwards** on ``Dangerous Prototype's Buspirate``, i.e. the whole connector is rotated 180 compared to ``SparFun's``. See the [Dangerous prototype v3.5](../bp_schematics_pcb/Brd-BusPirate-v3.5.png) board for comparison.*

Table of pins we'll use:

Pin# Name Dir Circuit Description
3 MOSI SDA - Serial Data
4 CLK SCL - Serial Clock
10 GND GND - Signal Ground
9 3v3 P SWV33 - Power (switch able)
5 AUX AUX1 - Alternative Power (switch able)
6 VPU VEXTERN - Voltage to pull-up grid

SPI pin-out for the Bus Pirate socket:

Under contruction

Labs

I2C chips

Prerequisites:

SDA and SCL need pull-up resistors to operate directly with the BusPirate. This can be achieved either by connecting external pull-up resistors of 10K to each pin or by following this guide:

I.e. for BP with HW version < 4, AUX pin can be connected to VPU and pull-up enabled/disabled using the A/a command. Pins are located conveniently opposite of each other which fits perfectly for a jumper.

Labs

SPI chips

Under contruction

Labs

This is a sidebar...

Clone this wiki locally