Parts: SPI EEPROM (25AA/25LC)

posted Jun 30th 2009 11:14am by Ian Lesnet
filed under: misc hacks, parts, tool hacks

3EEPROM-SPI

Microchip’s 25AA/25LC EEPROMs are data storage chips with a simple 3-wire interface. The 25AA/LC is an SPI version of the common 24AA/LC I2C EEPROM.  It comes in capacities of 128bytes to 128kilobytes. We looked at the smallest, the 128byte 25AA010A.

There are Bus Pirate demonstrations for most types of serial EEPROMs. Check out our previous 1-wire (DS2431) and I2C (24LC1025) EEPROM posts.

Continue below to see our test circuit and a demonstration of the 25AA010 EEPROM. We used the Bus Pirate to play with this chip from our PC.  For a limited time you can get your own Bus Pirate, fully assembled and shipped worldwide, for only $30.

Read the rest of this entry »

Parts: ShiftBrite RGB LED module (A6281)

posted Jun 29th 2009 11:00am by Ian Lesnet
filed under: led hacks, misc hacks, parts

shiftbriteii

Macetech’s ShiftBrite is a high-power RGB LED coupled with an Allegro A6281 backpack. The A6281 uses three 10bit pulse-width modulators to mix millions of colors using the red, green, and blue elements in the RGB LED. Multiple modules can be chained together for bigger projects, like the ShiftBrite table.

Below the break we demonstrate a ShiftBrite module using the Bus Pirate. For a limited time you can get your own Bus Pirate, fully assembled and shipped worldwide, for only $30.

Read the rest of this entry »




Parts: I2C real-time clock calendar (PCF8563)

posted Jun 26th 2009 12:31pm by Ian Lesnet
filed under: misc hacks, parts

pcf8563

The PCF8563 is a real-time clock/calendar/alarm chip with an I2C interface. This would be useful in projects where the primary microcontroller doesn’t have enough resources for an interrupt driven clock.

We demonstrate the PCF8563 using the Bus Pirate after the break. For a limited time you can get your own Bus Pirate, fully assembled and shipped worldwide, for only $30.

Read the rest of this entry »

Parts: Programmable gain amplifier (MCP6S26)

posted Mar 30th 2009 10:00am by Ian Lesnet
filed under: digital audio hacks, parts

mcp6s26

Microchip’s MCP6S21/2/6/8 are programmable gain amplifiers that multiply an input voltage by a factor of 1, 2, 4, 5, 8, 10, 16, and 32. The MCP6S22/6/8 also have selectable input channels for working with different signal sources. The multiplication factor and input channel are configured through an SPI interface. This chip is useful for multiplying a small input signal, and selecting among several analog input sources. We demonstrate the six channel MCP6S26 below.

Read the rest of this entry »

Parts: DS1801 SPI audio volume potentiometer

posted Mar 16th 2009 8:30am by Ian Lesnet
filed under: digital audio hacks, parts

ds1801

Dallas/Maxim’s DS1801 is an audio volume potentiometer with a simple SPI interface. This chip has two channels of volume control that might be useful in a DIY audio project. We previously looked at the DS1807, a similar part with an I2C interface. This week we’ll show you how to use the SPI version.

Read the rest of this entry »




Parts: 4×4 RGB button pad controller SPI

posted Mar 9th 2009 10:38am by Ian Lesnet
filed under: parts, peripherals hacks

cover

We covered SparkFun’s new RGB button pad controller a few weeks ago. This is a full-color clone of the monome interface; a 4×4 grid of buttons with tri-color LEDs underneath. Each LED has 24bits of color control, for more than 16million color combinations. Up to 10 panels can be chained together to create huge button grids, like SparkFun’s Tetris table. We previously used a smaller version in our RGB combination lock.

We asked SparkFun to send us the SPI version of the button controller to test. This is a new product developed in-house at SparkFun, with open source hardware and software. Read about our experience interfacing this board below.

Read the rest of this entry »

Parts: 32KB SPI SRAM memory (23K256)

posted Mar 2nd 2009 10:00am by Ian Lesnet
filed under: misc hacks, parts

23k256ii

Microchip’s new 23K256 is a serially interfaced 32 kilobyte SRAM memory chip, available in 8 pin DIP and 8 pin SO packages. SRAM, like EEPROM, is a data storage medium. Data stored in SRAM is lost without constant power, but it’s really fast and there’s no limits to the number of write cycles. EERPOM stores data even without power, but it’s slow and usually limited to around a million write cycles.

32K SRAM chips typically have 15 address lines and 8 data lines, like the IS61LV256AL we used on our CPLD development board.  The 23K256 requires just four signal lines, but sacrifices the speed of a parallel memory interface. It’s a great way to add extra memory to a low-pin count microcontroller without routing 23 signal traces. We’ll show you how to interface this chip below.

Read the rest of this entry »

Parts: Analog distance sensors (Sharp GP2D12/2Y0A02)

posted Feb 24th 2009 3:11pm by Ian Lesnet
filed under: parts, robots hacks

Sharp GP2D12 and 2Y0A02 infrared rangers output a voltage proportionate to the distance of an object from the sensor.  The GPD12 senses objects at a distance of 10-80cm, while the 2Y0A02 has twice the range.

We’ve previously looked at the Sharp GP2Y0D02 digital proximity sensor. It only signals the presence of objects, while the GP2D12 and 2Y0A02 measure distance to them. If you’ve got a GP2YoD02, it might still be possible to tap the analog output. We’ll show you how use these sensors below.

Read the rest of this entry »




Parts: I2C audio volume potentiometer (DS1807)

posted Feb 16th 2009 11:19am by Ian Lesnet
filed under: digital audio hacks, parts

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.

Read the rest of this entry »

Tools: Smart Tweezers

posted Feb 13th 2009 2:40pm by Ian Lesnet
filed under: parts, reviews

st-v

We’re big fans of surface mount parts. SMD components are cheaper, take less board space, and don’t require drilling; all the coolest new parts are only available in SMD packages.

Smart Tweezers are an advanced multimeter tool specifically designed to test and troubleshoot SMD circuits. It automatically identifies resistors, capacitors, and inductors, and displays the relevant measurements. Advanced Devices sent us a pair of Smart Tweezers to review. We used them while building our last few SMD projects, read about our experience with this tool after the break.

Read the rest of this entry »

Parts: LTC2631A I2C digital to analog converter

posted Feb 9th 2009 2:00pm by Ian Lesnet
filed under: parts, tool hacks

ltc2640

Linear Technology’s LTC2631A-LZ8 is an 8bit digital to analog converter (DAC) with an I2C interface. This DAC can output 255 different voltages, spaced evenly between 0 and 2.5volts. We previously demonstrated the LTC2640 with a three-wire SPI interface, but this version is controlled with only two signal wires.

Read the rest of this entry »

Parts: AT keyboard

posted Jan 26th 2009 9:38am by Ian Lesnet
filed under: parts, peripherals hacks

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.

Read the rest of this entry »

How-to: Prepare your Eagle designs for manufacture

posted Jan 15th 2009 4:11pm by Ian Lesnet
filed under: how-to, parts

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.

Read the rest of this entry »

Parts: Digital proximity sensor (Sharp GP2Y0D02)

posted Jan 5th 2009 4:08pm by Ian Lesnet
filed under: parts, robots hacks

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.

Read the rest of this entry »

hack a day serves up fresh hacks each day, every day from around the web and a special how-to hack each week.

send us your hacks