The I2C protocol is a way for multiple devices to talk to each other using just two wires, a clock and data line. Typically you use I2C to talk to devices like sensors, small displays, PWM or motor drivers, and other devices. Each device shares the same clock and data line and the I2C protocol allows them to talk to each other without interferance. With MicroPython you can talk to I2C devices with a few lines of Python code!
This guide will explore how to read data from a MCP9808 I2C temperature sensor using MicroPython. You’ll learn about basic I2C operations and how to perform them with MicroPython. Using this knowledge you can talk to any I2C device and build interesting MicroPython-powered projects!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Raspberry Pi and CoderDojo Join Forces
Wearables — Gold glow
Electronics — Linear Love
Biohacking — Nike’s Unlimited Stadium Will Put Your Best Foot Forward
No comments yet.
Sorry, the comment form is closed at this time.