The LEGO Arduino Cookbook: Expanding the Realm of MINDSTORMS EV3 Invention

  • 1h 48m
  • Grady Koch
  • Apress
  • 2020

Push into new fields of technology using LEGO and Arduino with the projects in this Cookbook. MINDSTORMS EV3 inventions don’t have to be confined to LEGO factory-made sensors. Incorporate a wide range of sensors, displays, LED arrays, actuators, and even a smartphone into your creations.

Add amazing capabilities to your LEGOs by building things such as a metal detector, long-range lidar, audio spectrum analyzer, weather station, and a smartphone. Step-by-step instructions bring these new devices to life. You’ll work with the reliable and inexpensive Arduino UNO to take your projects even further and make them truly smart. Learn to set up and program your Arduino UNO. Then learn data communications protocols (I2C, SPI, and PWM) to link sensors to the Arduino. A variety of data communications techniques are also demonstrated on passing data between the Arduino and the MINDSTORMS EV3 Intelligent Brick.

Equipped with these new tools, LEGO inventors can build vast new capabilities into their designs.

What You'll Learn

  • Interface new sensors, devices, and communications with LEGO Mindstorms EV3
  • Work with communication protocols of pulse width modulation (PWM), I2c, and SPI
  • Convert pulse width modulation to analog voltage with resistor and capacitor components

Who This Book Is For

Tech savvy fans of LEGO projects and hardware hackers. Also coaches or students involved in a school science/technology project or design competition.

About the Author

Grady Koch emphasizes building things from LEGO that can be applied to practical use in science, engineering, or security. He is the author of LEGO Optics: Projects in Optical and Laser Science with LEGO, High-Tech LEGO: Projects in Science, Engineering, and Spycraft with Technic and Mindstorms EV3, and Secrets of Eli’s LEGO Collection. He also writes for and runs hightechlego.com, which features various LEGO technology projects. His day job since 1987 has been as a research engineer with NASA Langley Research Center. There he works with technology for remote sensing atmospheric phenomena. He holds a PhD in Electrical Engineering. And he holds three patents in the field of wind measurements with lidar.

In this Book

  • The LEGO Arduino Workstation
  • Programming the EV3 Intelligent Brick
  • Programming the Arduino
  • Sensors and Electronics
  • The LEGO Metal Detector—I2C Sensor with EV3 Analog Interface
  • Programmable LEDs—I2C Controller with EV3 Analog Interface
  • I2C Communication with the EV3 Intelligent Brick
  • The LEGO Lidar—PWM Sensor with EV3 I2C Interface
  • The LEGO Weather Station—SPI Sensor with EV3 I2C Interface
  • The LEGO Spectrum Analyzer—Arduino Shield with I2C Output to EV3
  • Favorite Color Machine—Arduino Shield with I2C Output from EV3
  • Connecting MINDSTORMS to a Smartphone
SHOW MORE
FREE ACCESS