© Grady Koch 2020
G. KochThe LEGO Arduino Cookbookhttps://doi.org/10.1007/978-1-4842-6303-7_9

9. The LEGO Weather Station—SPI Sensor with EV3 I2C Interface

Grady Koch1 
(1)
Yorktown, VA, USA
 
Another sensor interface often encountered is the serial peripheral interface (SPI), which will be worked with in this chapter. SPI will be used to transfer commands and data between the sensor and the Arduino. I2C is brought in to transfer data to the EV3 Intelligent Brick. So, two interfaces are used in the project described in this chapter: SPI and I2C. The I2C setup is similar to that used in Chapter 8, so the emphasis will be on SPI in this chapter. The project involved is to build a weather monitoring sensor, using the EV3 Intelligent Brick as a display ...

Get The LEGO Arduino Cookbook: Expanding the Realm of MINDSTORMS EV3 Invention now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.