Cart
Free US shipping over $10
Proud to be B-Corp

The LEGO Arduino Cookbook Grady Koch

The LEGO Arduino Cookbook By Grady Koch

The LEGO Arduino Cookbook by Grady Koch


$60.59
Condition - New
Only 2 left

The LEGO Arduino Cookbook Summary

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

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 Grady Koch

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.

Table of Contents

Introduction

Chapter 1: The LEGO Arduino Workstation

The Arduino

Assembling the LEGO Arduino Workstation

The Breadboard and Wiring

Final Assembly

Summary

Chapter 2: Programming the EV3 Intelligent Brick

Getting Started with the MINDSTORMS EV3 Programming Environment

Programming

Extra and Aftermarket Device Blocks

My Blocks

Summary

Chapter 3: Programming the Arduino

Installing the Arduino Integrated Development Environment

Navigating the Arduino IDE

Running a First Sketch

Working with Libraries

Working with Functions

Summary

Chapter 4: Sensors and Electronics

MINDSTORMS Sensors and Motors

Aftermarket MINDSTORM-Compatible Sensors

Arduino Sensors

Pulsewidth Modulation (PWM)

Inter-Integrated Circuit (I2C) Inteface

Serial Peripheral Interface (SPI)

Electronic Components

Resistors

Capacitors

Summary

Chapter 5: The LEGO Metal Detector-I2C Sensor with EV3 Analog Interface

Mounting the Grove Inductive Sensor

The Low-Pass Filter

Wiring Connections

EV3 Code

Arduino Sketch

Results

Alternate Mount

Summary

Chapter 6: Programmable LEDs-I2C Controller with EV3 Analog Interface

Mounting the Qwiic LED Stick

Wiring Connections

Analog Signals from the EV3 Intelligent Brick

Arduino Sketch

Results

Summary

Chapter 7: I2C Communication with the EV3 Intelligent Brick

The EV3 I2C Block

Bits and Bytes

Wiring Connections

Reading Bytes into the EV3 Intelligent Brick

EV3 Code for Reading

Arduino Sketch for Reading

Writing Bytes from the EV3 Intelligent Brick

EV3 Code for Writing

Arduino Sketch for Writing

I2C Conflicts

Summary

Chapter 8: The LEGO Lidar-PWM Sensor with EV3 I2C Interface

Mounting the Lidar

Wiring Connections

EV3 Code for 10-m Distance Capability

Arduino Sketch for 10-m Distance Capability

Software Modification for 40-m Distance Capability

Example Application for Scanning a Scene

Example Application for Measuring a Tree

Adding a Camera to Build the LEGO Traffic Monitor

Summary

Chapter 9: The LEGO Weather Station-SPI Sensor with EV3 I2C Interface

Mounting the Atmospheric Sensor

Building the LEGO Weather Station

Wiring Connections

EV3 Code

Arduino Sketch

Example Applications for Diurnal Weather Trends

Summary

Chapter 10: The LEGO Spectrum Analyzer-Arduino Shield with I2C Input to EV3

Mounting the Spectrum Shield

Building the Spectral Display

Wiring Connections

EV3 Code

Arduino Sketch

Results

Summary

Chapter 11: The Favorite Color Machine-Arduino Shield with I2C Output from EV3

Mounting the NeoPixel Shield

Mounting the LEGO Motors

Wiring Connections

EV3 Code

Arduino Sketch

Using the Favorite Color Machine

Summary

Chapter 12: Connecting MINDSTORMS to a Smartphone

Mounting the 1Sheeld+

Building the Tilt Mimic

Wiring Connections for the Tilt Mimic

EV3 Code for the Tilt Mimic

Arduino Sketch for the Tilt Mimic

Setting up the Smartphone for the Tilt Mimic

Running the Tilt Mimic

The Intrusion Monitor

Building the Intrusion Monitor Sensor Mount

Building the Intrusion Monitor Smartphone Stand

Wiring Connections for the Intrusion Monitor

EV3 Code for the Intrusion Monitor

Arduino Sketch for the Intrusion Monitor

Setting up the Smartphone for the Intrusion Monitor

Running the Intrusion Monitor

Summary

Appendix: Parts Lists

Parts Used in Chapter 1 for the LEGO Arduino Workstation

Parts Used in Chapter 5 for the LEGO Metal Detector

Parts Used in Chapter 6 for Programmable LEDs

Parts Used in Chapter 8 for the LEGO Lidar

Parts Used in Chapter 9 for the LEGO Weather Station

Parts Used in Chapter 10 for the LEGO Spectrum Analyzer

Parts Used in Chapter 11 for the Favorite Color Machine

Parts Used in Chapter 12 for Connecting MINDSTORMS to a Smartphone

Additional information

NGR9781484263020
9781484263020
1484263022
The LEGO Arduino Cookbook: Expanding the Realm of MINDSTORMS EV3 Invention by Grady Koch
New
Paperback
APress
2020-10-28
234
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a new book - be the first to read this copy. With untouched pages and a perfect binding, your brand new copy is ready to be opened for the first time

Customer Reviews - The LEGO Arduino Cookbook