Categories

Posts Tagged ‘I2C’

How to configure I2C sensors with Arduino

Tuesday, November 7th, 2017

Edward Mallon writes: I’ve spent the last year in the ‘uncanny valley’ of the Arduino. That’s the point where you understand the tutorials at Arduino.cc, but still don’t get much from the material on gitHub because trained programmers would never stoop to using the wire.h library when they could just...

Tags: , ,
Posted in Arduino, how-to | No Comments »

Logging I2C Data with Bus Pirate and Python

Thursday, February 16th, 2017

Scott Harden writes, "I’m working on a project which requires I measure temperature via a computer, and I accomplished this with minimal complexity using a Bus Pirate and LM75A I2C temperature sensor." More details at SWHarden.com. Get your own handy Bus Pirate for $30, including world-wide shipping. Also available from our...

Tags: , ,
Posted in Bus Pirate | No Comments »

App note: Implementing an I2C reset

Sunday, October 9th, 2016

Interesting app note from Analog Devices when an I2C communication is broken under some circumstances. Link here (PDF) The I2C bus is a high integrity, robust serial bus used for control purposes in many systems. The primary components that make up a system are at least one master and one...

Tags: , ,
Posted in app notes | 3 Comments »

Experimenting with MAX6955

Thursday, September 15th, 2016

Florin wrote an article about experimenting with MAX6955: My experimenting actually started with MAX6954. After many failed tries due to SPI issues (Maxim uses a special interpretation of the protocol, I read), I switched to MAX6955. MAX6955 is the I2C sibling of MAX6954 (which uses SPI). They both have identical...

Tags: , ,
Posted in LEDs | No Comments »

An AVR Atmega library for multiple HD44780 based LCD connected through i2c

Thursday, August 4th, 2016

Davide Gironi has posted an I2C multiple HD44780 AVR Atmega library: This library implements a driver for HD44780 lcd connected through PCF8574 port expander. Data is transmitted using only 2 wire over i2c with the PCF8574. This library can drive up to 8 LCD concurrently. Lcd driver is based upon...

Tags: ,
Posted in AVR, library | No Comments »

I2C Continuum

Tuesday, August 2nd, 2016

Peter Scargill writes: Success with I2c – once I realised there was something up at the Arduino end which I could work around, my ESP8266 I2c endeavours have been coming on in leaps and bounds! And here is my test rig – or one of them – I have one...

Tags: , ,
Posted in Arduino, wireless | No Comments »

App note: USB to I2C bridging with Microchip USB 2.0 Hubs

Friday, June 12th, 2015

App note on Microchip's USB 2.0 Hubs on its I2C support. PDF link here The USB to I2C bridging feature of Microchip's USB 2.0 hubs provides system designers expanded system control and potential BOM reduction. When using this feature in a system design, a separate USB to I2C device is...

Tags: , , ,
Posted in app notes | No Comments »

Bus Pirate support in Python3 for I2C scripting

Thursday, May 21st, 2015

Steve aka hwstar writes, "I just wanted to let you know that I modified the python Buspirate Bitbang.py file and the I2C.py file to support Python 3.4 for a project I'm working on, and wanted to share these files with the community as they are open source. I uploaded the modified...

Tags: , ,
Posted in Bus Pirate | No Comments »

Getting started with an I2C LCD using a Bus Pirate

Friday, December 26th, 2014

Inderpreet over at Embedded Code writes: I got one of these (The LCD!) LCDs from the budget and the motive is to use them to display air quality. Low and behold I got them and these things are tiny… I mean more than I thought. BUT they should get the...

Tags: ,
Posted in Bus Pirate, LCD | No Comments »

App note: Microchip dedicated slave devices in I2C systems

Saturday, December 20th, 2014

An app note on Microchip dedicated slave devices in I2C systems (PDF!): Microchip supplies dedicated slave devices that include a two-wire serial interface that is System Management Bus (SMBus) and I2C™ compatible. The SMBus specification is based on the I2C serial communications protocol, but with some differences. This document describes the...

Tags: , ,
Posted in app notes | No Comments »

App note: How to design in and program the PCA9641 I2C arbiter

Sunday, November 2nd, 2014

I2C arbiter chip application(PDF) from NXP. The PCA9641 is highly integrated and smart design for 2-1 I2C-bus multiplexer. It is used in a system that needs two masters sharing the same slave devices. The internal switch is programmed by the masters but it will not switch in a middle of...

Tags: , ,
Posted in app notes | No Comments »

I2C injection with the Bus Pirate

Tuesday, September 30th, 2014

David Um writes: I decided to create a simple lab involving an Arduino Uno, in this case a SparkFun RedBoard, and a BlinkM LED that can be controlled over I2C. The Arduino would have a simple sketch that will update the color of the BlinkM and using a Bus Pirate...

Tags: , ,
Posted in Bus Pirate, hacks | No Comments »

Mini LCD adapter Backpack

Wednesday, June 25th, 2014

Arthur Guy made this mini LCD backpack for the smaller display screens: This is an LCD backpack but it is for the smaller displays with the double row of pins rather than the single line. I made this adapter as I was working with some small displays and needed a simple...

Tags: , ,
Posted in LCD | No Comments »

App note: Sending I2C-bus signals via long communications cables

Sunday, June 22nd, 2014

Extend I2C communication distance with this app note (PDF) from NXP. Reliable I2C-bus communication at high data rates, and over many meters, can be achieved using widely available twisted- pair communication cable (e.g. Category 5e and similar 4-pair cables, as typically used for Ethernet communications). The two bidirectional I2C-bus signals,...

Tags: , ,
Posted in app notes | No Comments »

app note: Isolating I2C interfaces

Sunday, June 8th, 2014

an I2C isolation solution from Analog Devices, app note can be found here. The Inter-Integrated Circuit (I2C®) bus is a two-wire bidirectional bus used for low speed, short-distance communication between integrated circuits. Developed by Philips 1980 in the early 1980s for use amongst ICs on a single board, I2C today...

Tags: , ,
Posted in app notes | No Comments »

Parallax tutorial on Propeller C I2C library

Saturday, June 7th, 2014

Parallax has posted an updated tutorial on using the I2C library when programming using Propeller C. This example relies on Simple Libraries in the (5/14/2014) Learn folder or later. Check Parallax Propeller library updates to download the code.

Tags: , ,
Posted in code, Parallax Propeller, tutorials | No Comments »

Lsquaredc, a library for I2C communications for Linux devices

Monday, May 26th, 2014

A library for I2C communications for Linux devices - the Lsquaredc by Jan Rychter, that is available at Github: Lsquaredc is a tiny Linux library that allows you to access I2C (IIC, I²C, or I squared C) from userspace without causing excessive pain and suffering. The library uses the Bus Pirate convention for...

Tags: , ,
Posted in library | No Comments »

Breakout module for Si7005 temperature and humidity sensor

Thursday, March 6th, 2014

Raj of Embedded Lab has written up documentation on his  Si7005 breakout board:The Si7005 is a digital relative humidity and temperature sensor from Silicon Labs. It integrates fully factory-calibrated humidity and temperature sensor elements with an analog to digital converter, signal processing and an I2C host interface in a single monolithic CMOS...

Tags: , , ,
Posted in sensors | No Comments »

TCN75A Temp sensor investigation

Thursday, February 27th, 2014

Charles writes: Upon receiving the SOIC breakout boards I took one and carefully used a Dremel to mill out the package outline. I had started to design my own PCB  but I abandoned that because I didn’t want to wait for fabrication. I mounted the new sensor on it’s vented PCB...

Tags: ,
Posted in sensors | 3 Comments »

App note: Interfacing FT2232H hi-speed devices to I2C bus

Sunday, February 23rd, 2014

Simplify USB to I2C connectivity by using this app note from FTDI. The FT2232H and FT4232H are the FTDI's first USB 2.0 Hi-Speed (480Mbits/s) USB to UART/FIFO ICs. They also have the capability of being configured in a variety of serial interfaces using the internal MPSSE (Multi-Protocol Synchronous Serial Engine)....

Tags: , ,
Posted in app notes | 1 Comment »

Next Page »

Recent Comments

  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...
  • Max: I have a suspicion the hefty electrolytic cap might be some sort of cargo cult carry-over from other RF-based projects - for instance, I've seen...