Book Image

Lego Mindstorms EV3 Essentials

By : Abid H. Mujtaba
Book Image

Lego Mindstorms EV3 Essentials

By: Abid H. Mujtaba

Overview of this book

<p>Building robots from scratch can be a tough task, but the Lego Mindstorms EV3 robotics kit makes it easy to create them in minutes. Far more than a toy, the programming brick allows you to create functional robots while its open source and hackable nature will allow you to use the powerful LeJOS framework to create projects of increasing complexity.</p> <p>This book provides a rapid and practical guide to building with EV3. Get up and running and swiftly learn how to construct and program automated robots using the EV3's brick, motors, and sensors. Next, you'll construct an obstacle-avoiding robot and learn how to program the EV3 brick before moving on to the advanced possibilities of the LeJOS framework. You will also learn how to install LeJOS, link your computer to EV3, and how to use it to program your Lego robots in Java. You will then quickly get to grips with using LeJOS by constructing an autonomous line-tracking robot. By the end of this book, you will be able to unleash the full creative power of Lego Mindstorms EV3.</p>
Table of Contents (19 chapters)
Lego Mindstorms EV3 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
The Make Utility
Index

Mini USB cable


EV3 is shipped with a mini USB cable, one end of which connects to a USB port on your computer and the other smaller end connects to the mini USB port on the top face of EV3 with the explanatory label PC.

LeJOS, running on EV3, implements a DHCP server that automatically assigns IP addresses to the network devices connected to it. So, when a computer running Linux is connected to an EV3 running LeJOS, a USB Ethernet network is established using the USB cable. EV3 acts as the server with the IP address 10.0.1.1, and the computer is assigned an IP address in the 10.0.1.x range. The IP address of EV3 (10.0.1.1) is displayed proudly on the home screen, indicating that LeJOS is operating as a DHCP server.

The connection takes a few seconds to be established. If you are running a desktop environment (such as GNOME), a visual notification might appear, indicating that the connection has been established. To confirm the connection, fire up the terminal and run ifconfig. You should see...