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!
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.