Finally, Android is not a second-class citizen. LEGO has released three new apps (okay, one of them is a game) for the Mindstorms EV3 robotics set in Google Play, just as promised back at CES.It's.
Control LEGO MINDSTORMS EV3 Robot Using Android Device
Projects for LEGO® MINDSTORMS® app explores dozens of creative ways to build amazing mechanisms with the LEGO MINDSTORMS® EV3 set. Each project includes a list of the required parts, minimal text and many photographs from multiple angles so you can build it without the need for step-by-step. A selection of smart companion apps allows kids to control real-life models and robots for LEGO Technic, LEGO BOOST and LEGO MINDSTORMS. And there are hours of fun LEGO videos to enjoy with the easy-to-use LEGO TV entertainment app. Kids can even share their builds and interact with other LEGO fans using the LEGO Life app â a safe social media app specially built for boys and girls.
This example shows how to use the Accelerometer sensor data of an Android⢠device to control the motion of a LEGO® MINDSTORMS® EV3 robot.
Introduction
Android phones and tablets provide wireless connectivity and a graphical user interface. LEGO MINDSTORMS EV3 is a programmable robotics construction set. The EV3 Brick is a programmable intelligent Brick that acts as the brain of your robot, controls motors and sensors, and also provides wireless communication through Wi-Fi and Bluetooth. In this example, you learn how to control EV3 robot using an Android device by connecting them wirelessly.
This example provides two Simulink models
With these models, you will:
Prerequisites
Civil engineering books download. Dayz for free. Completing the Connect Android Device to LEGO MINDSTORMS EV3 example is recommended.
Required Hardware
Working Principle of Robot Motion Control
The acceleration data of the Android device is used to control the motion of the robot.
From the Accelerometer data, you can mathematically determine the value of pitch and roll for a given position of the Android device. Then you can map the pitch and roll movement of the Android device to the motion of the EV3 robot. The pitch represents the forward and reverse motion of the motor. The roll represents the sideways motion of the robot.
In the provided Android model, a MATLAB Function block models the mathematical equations required to convert the pitch and roll values to the linear speed of the motors.
A communication link for data exchange is set up between the Android device and the EV3 brick. The linear motor speed derived from the pitch and roll values is sent over TCP/IP from the Android device to the EV3. The EV3 receives this data and uses it as input to drive the two motors.
Task 1 - Set Up LEGO MINDSTORMS EV3 Robot
1. Build a two-wheeled robot. You can build a robot similar to the one described in the printed building instructions in the education core set or as shown here.
2. Connect the ultrasonic sensor to port 1 of the EV3 brick. Place the sensor in front of the robot as shown in the image.
Task 2 - Configure and Run Models on the Android device and the LEGO MINDSTORMS EV3 robot
1. Open the Android model.
2. Double-click on the TCP/IP Send block and change the Remote address to the IP Address of the EV3.
3. Open the LEGO MINDSTORMS EV3 model.
4. Double-click on the TCP/IP Send block and change the Remote address to the IP address of the Android device.
5. In the Android model, click Deploy to Hardware to run this model on your Android device.
6. In the EV3 model, click Deploy to Hardware to run this model on your EV3 hardware.
7. Control the EV3 robot using the Android device.
Summary
This example showed you how to wirelessly control the movement of an EV3 robot by using an Android device.
Ages 9-12
558
![]()
MINDSTORMS® EV3 LEGO® Education
The MINDSTORMS® EV3 LEGO® Education programming app provides middle school students with hands-on opportunities to develop their creative and problem-solving skills. EV3 Programming and the EV3 intelligent brick combine building and coding to help students learn programming principles, engineering, teamwork and persistence. Designed for touch devices, this learning app communicates with your EV3 robot via Bluetooth to offer a truly interactive experience that students will find intuitive, engaging, and fun. With the EV3 Programming classroom app you can: - Teach students to code using a best-in-class coding program - Let your students explore and discover using their EV3 robot - Control the EV3 robot, motors, and sensors using the intuitive drag-and-drop interface - Improve your students' problem-solving, critical thinking, teamwork, and communication skills with an invaluable teacher tool - Download Next Generation Science Standards lesson plans and other teaching resources from LEGOeducation.com/lessons. Lessons are also available in selected languages at LEGOeducation.com/start. *** IMPORTANT*** This is not a stand-alone teaching application. It is used to program LEGO models built using the LEGO MINDSTORMS Education EV3 Core Set. Please contact your local LEGO Education distributor for further information. Getting Started: LEGOeducation.com/start Lesson Plans: LEGOeducation.com/lessons LEGO, the LEGO logo, the Minifigure, MINDSTORMS and the MINDSTORMS logo are trademarks and/or copyrights of the LEGO Group. © 2018 The LEGO Group. All rights reserved ![]()
Collapse
558 total
Lego Mindstorms Controller App Store
4
2
Lego Mindstorm Nxt App
Read more
Lego Mindstorms Controller App Games
LEGO Education
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |