Koch | The Lego Arduino Cookbook | Buch | 978-1-4842-6302-0 | www.sack.de

Buch, Englisch, 234 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 388 g

Koch

The Lego Arduino Cookbook

Expanding the Realm of Mindstorms Ev3 Invention
1. Auflage 2020
ISBN: 978-1-4842-6302-0
Verlag: Apress

Expanding the Realm of Mindstorms Ev3 Invention

Buch, Englisch, 234 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 388 g

ISBN: 978-1-4842-6302-0
Verlag: Apress


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 ForTech savvy fans of LEGO projects and hardware hackers. Also coaches or students involved in a school science/technology project or design competition.
Koch The Lego Arduino Cookbook jetzt bestellen!

Zielgruppe


Professional/practitioner


Autoren/Hrsg.


Weitere Infos & Material


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


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.



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.