Creating an I2C slave interface for a sensor or peripheral

You’re creating a stand-alone module to bundle a few hardware sensors, or have an independent microcontroller that stays awake and needs to wake the main system depending on configurable environmental triggers. What’s the easiest way to let this unit receive orders and communicate results? An I²C slave! Inter-Integrated Circuit–I²C–is specifically designed to provide an easy…

Read more

Midnight hack: going from SMT to breadboard in a bind

So it’s the middle of the night and I find myself in a jam… hm, a lot of my stories seem to start that way.  Anyhow, it’s the middle of the night and I’m badly stuck: I need to talk with a two-wire chip I have on a breakout, but the I²C communication lines need…

Read more