Parts: I2C Audio Volume Potentiometer (DS1807)

ds1807ii

The DS1807 contains two logarithmic digital potentiometers (pots) for audio volume adjustment. Each pot has 64 volume levels plus a mute setting. The volume level of each pot is set over a two-wire I2C serial interface. We’ll show you how to connect and interface the DS1807 below.

Continue reading “Parts: I2C Audio Volume Potentiometer (DS1807)”

Parts: AT Keyboard

atkeyboard

Last week we introduced a new version of the Bus Pirate universal serial interface tool. The last firmware update included an AT keyboard decoder library for both hardware versions.

There’s a ton of old AT keyboards making their way to the landfill. We’ll show you how to recycle one as an input device for your next project.

Continue reading “Parts: AT Keyboard”

Parts: Digital Proximity Sensor (Sharp GP2Y0D02)

[youtube=http://www.youtube.com/watch?v=TqOzmGNBgJE]

The GP2Y0D02 is an infrared proximity sensor with a detection field that extends 80cm. This type of sensor can be used to build collision avoidance systems for robots. We’ll demonstrate this sensor using a single resistor and a multimeter.

Continue reading “Parts: Digital Proximity Sensor (Sharp GP2Y0D02)”

Parts: I2C Digital Thermometer (TC74)

tc74

Microchip’s TC74 is an inexpensive digital temperature sensor with a simple I2C interface. It has a resolution of 1 degree Celsius, and a range of -40 to +125 degrees. This is an easy way to add temperature measurement to a project without an analog to digital converter. We’ll show you how to use the TC74 below.

Continue reading “Parts: I2C Digital Thermometer (TC74)”

Parts: Precision Humidity And Temperature Sensor (SHT1x/7x)

sht11

Sensirion’s SHTxx is a digitally interfaced humidity and temperature sensor. Accurate humidity measurements usually require careful analog design, but the SHTxx moves all that complicated stuff into a single chip. Through-hole (SHT7x) and surface mount (SHT1x) versions are available, we used the surface mount SHT11 with +/-3% accuracy. We’ll show you how to use the SHTxx below.

Continue reading “Parts: Precision Humidity And Temperature Sensor (SHT1x/7x)”

Parts: 1-Wire Temperature Sensor (DS1822)

1wire

Download: buspirate.v0d.zip

Dallas/Maxim’s 1-Wire protocol is the most requested addition to the Bus Pirate.  We finally got some 1-Wire parts, and today we’ll demonstrate the DS1822 1-Wire digital thermometer. Grab the datasheet (PDF) and follow along.

This post is accompanied by release v.0d of the Bus Pirate firmware for hardware version 0. This includes the new 1-Wire protocol library, more configuration options, and other improvements.

Continue reading “Parts: 1-Wire Temperature Sensor (DS1822)”

Parts: 133MHz-16.2kHz Programmable Oscillator (DS1077)

cover

The DS1077 is a 5volt, 133MHz to 16kHz programmable clock source. The internal frequency divider is configured over a simple I2C interface, and the chip requires no external parts. Not bad for under $2. We used the Bus Pirate to test this chip before using it in a project. Grab the datasheet (PDF) and follow along. Continue reading “Parts: 133MHz-16.2kHz Programmable Oscillator (DS1077)”