MCP23008

The MCP23X08 device provides 8-bit, general purpose, parallel I/O expansion for I2C bus or SPI applications. The two devices differ in the number of hardware address pins and the serial interface: • MCP23008 – I2C interface; three address pins • MCP23S08 – SPI interface; two address pins The MCP23X08 consists of multiple 8-bit configuration registers for input, output and polarity selection. The system master can enable the I/Os as either inputs or outputs by writing the I/O configuration bits. The data for each input or output is kept in the corresponding Input or Output register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. All registers can be read by the system master.

Main Content

Digital Multi-Tool

“Hi everyone. If you’re like me you, probably have a bunch of spare sensors lying around either from incomplete projects, or that you bought on a whim for some reason or another. I was inspired by Patrick Panikulam’s …

Chernobyl Dice

“The Chernobyl Dice is a quantum random number generator [0] that uses nuclear decays from a weakly radioactive sample as a source of entropy. It consists of four primary components: - An Arduino Nano microcontroller - A Geiger counter - Six uranium glass …

Home Hidroneumatic Controlled by ESP8266 + MQTT + Web App

“Home hidroneumatic, pumps and valves controlled by ESP8266 using MQTT, Html Web App and Cayenne. Overview Motivated by the constant lack of water supply in my city I have been forced to install a water tank that feeds a hidroneumatic …

How to add parallel flash memory to Arduino

“Battery profiler - my recent Arduino project - needed to store large amounts of data in some kind of flash memory controlled by Arduino. In the past, for this I used serial (SPI) chip W25Q80BV from Winbond that came in a breadboard-friendly …

MPPT solar charger tester

“One of my main goals with this design is to archieve very low standby current, somewhere in the tens of microamps. The basis for this is a low-power buck on the basis of a Texas TPS62120 where the microcontroller can …

Home Automation with ESP8266 and Relay Controller

“Everyone loves a good sunny day. And if there are some cool breeze and good music, then that’s the best feeling in the world. But when the sun goes down, we all hate it when we have to go …