Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Lego Mindstorms EV3

You're reading from   Learning Lego Mindstorms EV3 Build and create interactive, sensor-based robots using your LEGO MINDSTORMS EV3 kit

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher
ISBN-13 9781783985029
Length 284 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Gary Garber Gary Garber
Author Profile Icon Gary Garber
Gary Garber
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Engineering Notebook FREE CHAPTER 2. Mechanical Design 3. Drive Train and Chassis 4. Sensors and Control 5. Interacting with EV3 6. Output from EV3 7. Advanced Programming 8. Advanced Programming and Control 9. Experiment Software and Data Logging 10. Other Programming Languages 11. Communication between Robots 12. Advanced Robot – Gyro Boy Index

Programming blocks


One thing that is confusing about the term "Sensor Block" is that it is used for both the downloadable .ev3b block file, and the icons you can find on the yellow tab of your Programming Palette, as shown in the following screenshot. An .ev3b block file can contain any kind of programming block, not just blocks for sensors.

The preceding screenshot contains all the sensor blocks you can find in the Educational Edition of the software. The Home Edition does not include the Gyro and Ultrasonic Sensor blocks. The Home Edition does not have the legacy NXT sensor blocks such as the sound sensor, the temperature sensor, or the energy meter. We will show how to import these sensor blocks later in the chapter. You can drag any of the sensor blocks from the Sensor tab of the Programming Palette onto your Programming Canvas.

I will start by describing the simplest sensor block, which is the Touch Sensor block. Most sensors have a tab, called the Mode Selector that controls the output...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image