MicroPython Hardware: SPI Devices is a new guide in the learning system:
Serial peripheral interface, or SPI, is a protocol for two devices to send and receive data. For example a LCD display might use a SPI interface to receive pixel data, or a temperature sensor might use SPI to send readings to a microcontroller. With MicroPython you can use the SPI protocol to talk to devices and write scripts that interface with interesting hardware!
This guide will explore how to use SPI with MicroPython. In particular MicroPython on the ESP8266 will be used to talk to a simple SPI device, the MAX31855 thermocouple temperature sensor. You’ll learn how to create a SPI interface, and send and receive data over that interface. With just the basics of sending and receiving SPI data you can start to write your own MicroPython code that interacts with other interesting SPI devices!
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 — Lessons Learned Scaling Airbnb 100X
Wearables — Start with a sketch
Electronics — When do I use X10?
Biohacking — Project Peri – Translates Sound into Light for the Hearing Impaired
No comments yet.
Sorry, the comment form is closed at this time.