How-to: Bus Pirate V1, Improved Universal Serial Interface

front450a

We use the Bus Pirate to interface a new chip without writing code or designing a PCB. Based on your feedback, and our experience using the original Bus Pirate to demonstrate various parts, we updated the design with new features and cheaper components.

There’s also a firmware update for both Bus Pirate hardware versions, with bug fixes, and a PC AT keyboard decoder. Check out the new Hack a Day Bus Pirate page, and browse the Bus Pirate source code in our Google code SVN repository.

We cover the design updates and interface a digital to analog converter below.

Continue reading “How-to: Bus Pirate V1, Improved Universal Serial Interface”

How-to: Prepare Your Eagle Designs For Manufacture

back

Cadsoft Eagle is a multi-platform freeware circuit layout program. Lots of open source hardware is designed in Eagle, and it’s become a hobbyist favorite. We use it for all of our hardware designs.

There are several ways to turn an Eagle design into an actual printed circuit board (PCB). We’ll show you how to save Eagle designs as industry-standard gerber files that are accepted by any PCB manufacturer. You can use the gerbers to order a single prototype, or a full panel.

Continue reading “How-to: Prepare Your Eagle Designs For Manufacture”

How-to: Digital Picture Frame, 100% DIY

frontii

There are a ton of digital picture frame tutorials out there. Most are old laptops with crafty case reconfigurations that fit a photo frame profile.

We set out to build a 100% DIY, scratch-built digital picture frame. Our frame has a 12bit color LCD, gigabytes of storage on common, FAT-formatted microSD cards, and you can build it at home. We’ve got the details below.

Continue reading “How-to: Digital Picture Frame, 100% DIY”

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: 8bit IO Expander (PCF8574)

pcf8574

Sometimes a project has more sensors, buttons, or LEDs than your microcontroller has pins. The PCF8574 is an easy way to add 8 low-speed input or output pins to a microcontroller. A configurable address lets multiple PCF8574s exist on the same bus, so two microcontroller pins can control dozens of IO pins. We’ll show you how to use this chip below.

Continue reading “Parts: 8bit IO Expander (PCF8574)”