Tag: I2C
Build Your Own I2C Sensor
Since Raspberry Pi doesn’t have a built-in ADC (Analog to Digital converter) to read the voltage off from most of sensors, the best solution is to add I2C ADC chips and modules to your project. Paweł Spychalski faced this problem while building his own weather station that is based...
Continue ReadingATtiny85 Light Sensor – I2C slave device
Paweł Spychalski build a photoresistor based daylight meter sensor connected via I2C bus using ATtiny85: I love AVR ATtinyx5 series microcontrollers. They are cheap, easy to use, they can be programmed just like Arduinos and comparing to their size they offer great features. For...
Continue ReadingRaspberry Pi RF frequency counter
A Raspberry PI RF frequency counter project from Scott Harden, that is available on GitHub: Raspberry PI RF Frequency Counter with Python Interface. The RF signal clocks a 32-bit counter (SN74LV8154) connected to a 16-bit IO expander (MCP23017) accessable to the Raspberry Pi (via...
Continue ReadingIntroduction to I²C and SPI protocols
byteparadigm.com has a nice introductory article on I2C and SPI protocols: Today, at the low end of the communication protocols, we find I²C (for ‘Inter-Integrated Circuit’, protocol) and SPI (for ‘Serial Peripheral Interface’). Both protocols are well-suited for...
Continue ReadingTiny Lisp Computer using ATmega328
The Tiny Lisp Computer is a self-contained computer programmed in Lisp. Some programming examples are included in the author's website. This article describes a self-contained computer with its own display and keyboard, based on an ATmega328, that you can program in Lisp. You can use...
Continue ReadingISL91128 – A New Buck-Boost Regulator With I2C Interface From Intersil
If your application requires a changing supply voltage, then this new IC is ideal for you. Intersil announced the ISL91128, a new buck-boost regulator. The new regulator has an I2C interface to select a broad set of features including output voltage range and slew rate. This eliminates...
Continue ReadingAn Atmega library for multiple HD44780 LCDs
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...
Continue ReadingBasics of the I2C Communication Protocol
circuitbasics.com talks about the I2C protocol, it's use and it's advantages and disadvantages. I2C combines the best features of SPI and UARTs. With I2C, you can connect multiple slaves to a single master (like SPI) and you can have multiple masters controlling single, or multiple...
Continue Reading