Content for MCP23008

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.

Rev 2.0 of the RP2040 Joystick Mouse

“Rev 2.0 of the RP2040 Joystick Mouse, as well as the code that makes it work Over the last few months, I have been using the initial revision of this project on almost a daily basis. It has come …

MCP23008 Breakout

“A quick MCP23008 Breakout to be used during prototyping. I designed this breakout to assist me during prototyping my next version of the “RP2040 Emergency Mouse“. In that project, I used the SEEED Studio Xiao RP2040, along with a few …

Programmable Arduino Remote Control

“With this small, palm-sized device, it is possible to remote control your PC or your Smartphone. Or to control your PC and your Smartphone at the same time. And it is freely programmable. You can write programs like: Login to …

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 …