StrangeParty demos how to use the Matrix Orbital 20×4 display with Arduino via I2C using the Wire library. The LK204-25 is a serial display, so connection to the Arduino requires just two wires to accept I2C commands and data. We expect this same procedure would work with other manufacturers’ I2C LCDs. Simple and useful if […]
Tag Archives: I2C
App note: I2C controlled keypad scan IC
The TCS8418 is an I2C controlled keypad scan chip for up to 80 buttons: • Operating Power-Supply Voltage Range of 1.65 V to 3.6 V • Supports QWERTY Keypad Operation Plus GPIO Expansion • 18 GPIOs Can Be Configured into Eight Inputs and Ten Outputs to Support an 8 × 10 Keypad Array (80 Buttons) […]
I2C / SPI character LCD backpack
Adafruit has a clever new I2C/SPI LCD backpack based on an MCP23008 IO expander and a 74HC595 IO expander.
I2C magnetic compass sensor demo
Ril3y demonstrates an I2C magnetic compass sensor (Sure Electronics DC-SS503) with the Bus Pirate. Don’t forget that Ril3y has stylish laser-cut acrylic cases for the Bus Pirate (seen here). Get a Bus Pirate v3b for $30, including worldwide shipping at Seeed Studio. Adafruit also has the Bus Pirate and probe cables in stock and ready […]
Explore I2C/SPI accelerometer (MMA7456L) with Bus Pirate
Starlino demos the Freescale MMA7456L accelerometer with an I2C/SPI interface with the Bus Pirate. Get a Bus Pirate v3b for $30, including worldwide shipping at Seeed Studio. Adafruit also has the Bus Pirate and probe cables in stock and ready to ship.
Free PCB Sunday: Bus Pirate demo board
We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few professionally-made PCBs from one of our past or future projects, or a related prototype. Our PCBs are made through Seeed Studio’s Fusion board service. This week we’re giving away […]
Free PCB Sunday: Bus Pirate demo board
We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few professionally-made PCBs from one of our past or future projects, or a related prototype. Our PCBs are made through Seeed Studio’s Fusion board service. This week we’re giving away […]
PICkit I2C and SPI demo boards
Darren pointed out two IC demonstration boards from Microchip. The PICKit Serial I2C demo board has five unique devices with I2C interfaces. It includes a 2Kbit serial EEPROM, high accuracy temperature sensor, 12-bit ADC, 10-bit DAC, and an 8-bit IO expander – all great chips for a new hardware hacker. Debugging is possible through test […]
Bus Pirate IC test PCB
A discussion in the forum led to the creation of a new chip demonstration/test PCB for the Bus Pirate. This board has spaces for several commonly-sampled I2C and 1-Wire devices, and an HD44780 LCD tester: I2C 24LC EEPROM (PTH and SMD) TC74 temperature sensor (PTH) DS1085(L)/DS1077(L) frequency generator (SMD) PCF8563/DS1307 real-time clock (PTH) MCP3021 analog […]
Centipede MCP23017 I2C IO expander
Macetech’s Centipede Shield adds 64 IO pins to an Arduino. It’s got four Microchip MCP23017 I2C IO expanders, with I2C speeds up to 1.7MHz. Macetech will give you one if you’ve got a project that promotes the new hardware. Thanks for the tip, also via Hack a Day.
Bus Pirate I2C, SPI sniffer updates
See the latest version in the documentation wiki. With aphoticjezter’s confirmation that the undocumented I2C sniffer actually works, we tweaked the code to help get around the UART speed limitations. These updates are in the latest nightly build. The I2C and SPI sniffers now use a 4096byte output ring buffer. Sniffer output goes into the […]
Bus Pirate I2C sniffer working?
It appears the I2C bus sniffer, macro (2) in the I2C library, may have been working all along. aphoticjezter writes in the forum: I hacked the binary file to change the bitrate for one of the speeds to 230400, and I also used RAW mode as suggested. So far I seem to be reliably sniffing […]
Bus Pirate: Binary I2C mode
See the latest version in the documentation wiki. The Bus Pirate’s new binary modes provide a consistent, logical way to script actions from Python, Perl, etc. We already introduced the new binary bitbang and SPI modes, today we’ll document the binary I2C mode. Binary I2C will be in the v2.6 firmware release, for now you […]
Chips: 24AA02E48 I2C EEPROM with MAC address
See the latest version in the documentation wiki. The 24AA02E48 is an I2C EEPROM with 256bytes of data storage. It’s similar to other EEPROMs we’ve looked at in the past, but this chip has a 48bit EUI-48 ethernet MAC address permanently burned into the upper-most six bytes. This is an easy and cheap way to […]
Scan for I2C read and write addresses
See the latest version in the documentation wiki. You can find the I2C address for most I2C-compatible chips in the datasheet. But what if you’re working with an unknown chip, a dated chip with no datasheet, or you’re just too lazy to look it up? The Bus Pirate has a built-in address scanner that checks […]
Bus Pirate: I2C updates in firmware v2.1
See the latest version in the documentation wiki. The I2C mode in Bus Pirate firmware prior to v2.1 has a major deficiency, an upgrade to v2.1-RC2 or later is highly recommended. The Bus Pirate I2C library underwent major changes between v2.0 and v2.1. We added a hardware I2C mode, and squashed a huge bug in […]
Bus Pirate: Chip demonstrations
Here’s a comprehensive list of Bus Pirate chip demonstrations. It includes Ian’s old demonstrations from Hack a Day, and the most recent demos from Dangerous Prototypes. Tutorials are arranged by Bus Pirate hardware version. Bus Pirate v2&v3 Firmware v0g new feature demonstration PCF8563 real time clock calendar (I2C) ShiftBrite with A6281 3 channel LED driver […]
Bus Pirate: Hardware I2C added
Early Bus Pirate prototypes used PIC24FJ64GA002 revision A3 chips. A3 has a bug in the I2C hardware, so we’ve always used a software library to provide I2C on the Bus Pirate. Many, but not all, of the Bus Pirates manufactured by Seeed Studio have a newer, revision B4 chip with working I2C hardware. We showed […]
