📜 ⬆️ ⬇️

LEGO Mindstorms EV3. Toy SkyNet. Start

- Who would you like - a son or daughter?
- Son!
- Why?
- I want a helicopter radio-controlled !!!
An unaccountable and unassuming anecdote, but you can't just take this publication and not start from it - it best reflects the essence of what will be discussed further. However, from the title you already understood what it was about.



Caution! Publication may cause an irresistible desire to have a son.

History lesson


The company LEGO (the name comes from the Danish phrase "leg godt", "Play with pleasure") does not need to be introduced - it was founded back in 1932, although the first plastic cubes familiar to all appeared much later, in 1947. It is noteworthy that the LEGO cubes , produced in those years, are fully compatible with those that are produced now.
')
The history of the company, released by Pixar on the 80th anniversary of LEGO:



Now the company produces about 20 billion items per year, that is, more than 630 pieces per second. In the current model range of more than 600 different designers and it just so happened that the Mindstorms series is a kind of apex of technical thought, the most sophisticated designer. In short, it allows you to make quite a full-fledged robots.

As Wikipedia says, the LEGO Mindstorms series was first introduced in 1998. After 8 years (in 2006) the LEGO Mindstorms NXT 1.0 set was born, and already in 2009 - the LEGO Mindstorms NXT 2.0 set. Today we will talk about LEGO Mindstorms EV3 - the last (third) generation of the constructor terminator , which was introduced almost a year ago, on January 4, 2013 (it became available only six months later).

Differences EV3 from NXT 2.0


In principle, the main idea remains the same - the series is designed for the assembly of programmable robots. Therefore, the first question arises, what has changed since the release of the previous designer and is it worth buying a new one? The main difference is in the updated sensors / motors and, most importantly, in the EV3 intelligent block (EV stands for EVolution):
EV3NXT
DisplayMonochrome LCD, 178x128Monochrome LCD, 100x64
CPU300 MHz
Texas Instruments
Sitara AM1808 (ARM9)
48 MHz Atmel
AT91SAM7S256
(ARM7TDMI)
Memory64 MB RAM
16 MB Flash
MicroSDHC slot (up to 32 GB)
64 KB RAM
256 kb flash
Usb hostthere isNot
Wi-FiOptionally, via USB dongleNot
Bluetooththere isthere is
Apple device supportthere isNot
As you can see, the difference is quite significant - it would be strange if in 4 years only the screen resolution and the set of stickers were changed.

Another difference is that the NXT series was sold in several versions (in different years) and was a different set, basic and resource. The new EV3 with this is simpler - while it is sold in the basic version - 31313 (601 items ), from which you can make a lot of things. But if you wish, you can purchase the basic set 45544 (541 parts) with additional sensors and parts (no one interferes with the use of parts from ordinary designers). By the way, pay attention to the five-digit articles - the company switched to this numbering in 2013.

As far as compatibility is concerned, everything possible has been done. All NXT sensors and motors are compatible with EV3 and are recognized as NXT. EV3 sensors do not work with the NXT, but EV3 motors seem to be compatible. NXT-brick can be programmed with software from EV3, but some functions may not be available, but to program EV3-brick with NXT-software without third-party solutions will not work.

Inside the box


Even when I myself was small and went with my parents to the central Children's World (when he was still), to the Lubyanka - even then I could not take my eyes off the boxes with LEGO. Then there were neither Hiktames, nor even Habra, but since then the boxes have remained all the same bright and juicy, even in adulthood they activate the process of salivation) In this regard, other manufacturers have a lot to learn.



Part of the box, in fact, represents (if it is cut) a track with different color zones, which can be used for robots with color sensors.

All parts are neatly laid out in bags, complete with instructions and a set of stickers. Let's briefly go over what was put in the kit.





EV3 itself, which is also an intellectual unit, is also the heart of the system, it is also a “brick” or “cube”. It serves as the control center and power station for your robot and has the following functional elements:



- Multifunctional monochrome display with a resolution of 178x128
- Six-button control interface with backlight change function (3 colors) for indicating the operation mode
- 4 input ports (1, 2, 3, 4) for connecting sensors
- 4 output ports (A, B, C, D) for executing commands
- 1 miniUSB connector for connecting an EV3 to a computer
- 1 USB host port (to connect multiple EV3 into one chain, for example)
- 1 slot for microSD memory cards (up to 32GB) - to increase the amount of available EV3 memory
- Built-in speaker







The EV3 cube also supports Bluetooth, WiFi (via the NETGEAR WNA1100 Wireless-N 150 USB adapter), has a software interface for communicating with computers, which allows you to create programs and configure data logging directly on the EV3 microcomputer.

» Large EV3-servomotor (2 pieces) . Created to work with the EV3 microcomputer and has a built-in rotation sensor with measurement accuracy up to 1 degree. Using this sensor, the motor can be connected by other motors, allowing the robot to move at a constant speed. In addition, the rotation sensor can also be used when conducting various experiments to accurately read the data on distance and speed.



- Built-in rotation sensor with measurement accuracy up to 1 degree
- Maximum speeds up to 160-170 rpm
- Maximum torque of 40 Ncm
- Automatic identification by EV3 software

» Medium EV3 servomotor. Ideal for tasks where the speed and speed of response, as well as the size of the robot is more important than its carrying capacity.



- Built-in rotation sensor with measurement accuracy up to 1 degree
- Maximum speeds up to 240-250 rpm
- Maximum torque of 12 Ncm
- Automatic identification by EV3 software

» Color sensor (EV3). Able to detect 8 different colors, although it can also be used as a light sensor.



- Measures reflected red light and ambient ambient light, from total darkness to bright sunlight
- Fix and determine 8 colors
- Poll frequency up to 1 kHz
- Automatic identification by EV3 software

» Touch sensor (EV3). Allows the robot to respond to touch, recognizes three situations: touch, click and release. Also able to determine the number of clicks, both single and multiple.



» Digital IR sensor (EV3). To determine the approach of the robot. It is also able to pick up IR signals from the IR beacon, allowing you to create remote-controlled robots, navigation systems to overcome obstacles.



- Measurements of approach / removal in a radius of 50-70 cm
- The radius of the capture of IR signals up to 2 meters
- Up to 4 individual channels of signal reception
- Receive remote IR control commands
- Automatic identification by EV3 software

» Remote infrared beacon. Designed for use with the EV3 IR sensor. The beacon emits an infrared signal captured by the sensor - can be used as a remote control for the EV3 microcomputer, transmitting signals to the infrared sensor.



- Up to 4 individual signal transmission channels (switch directly on the case)
- Has a button and toggle switch for on / off
- When the IR beacon is operating, the green LED is lit
- Automatic shutdown when idle for more than 1 hour
- Range up to 2 meters

Wires for connecting sensors and motors to the cube, as well as a USB cable for connecting the cube to a computer, are wound in a separate bag.



Two important points to note. First, there are other Lego sensors, such as:

» Gyroscopic sensor (EV3). Digital gyroscopic sensor EV3 allows you to measure the rotational movement of the robot, as well as detect changes in its movement and position. Angle measurement mode with an accuracy of ± 3 degrees; built-in gyroscope detects rotation with a moment up to 440 degrees / s; polling frequency up to 1 kHz.

» Ultrasonic sensor (EV3). Generates sound waves and captures their reflections from objects, thereby measuring the distance to objects. It can also be used in sonar mode, emitting single waves. It can pick up sound waves that will trigger the programs. Measures distances from 1 to 250 cm, and the accuracy of measurements is ± 1 cm.

And secondly, sensors and other accessories from third-party manufacturers such as HiTechnic and Mindsensors are supported - they offer all kinds of joysticks, infrared distance sensors, magnetic sensors, compasses, gyroscopes, accelerometers, timers, multiplexers, ball bearings, etc. So, if you ask a question, you can find a lot of interesting things.



In general, as you already understood, LEGO is for real kids!

First model


Included with the designer is a paper instruction, according to which you can assemble a single model - a kind of tracked self-propelled machine.



At first I was surprised, because even in the simplest sets (series of the LEGO Creator type) there are always a few instructions, and then suddenly the papers were spared or there was no place in the box. It turned out ... that only on the official site from the kit of parts it is proposed to assemble 17 different robots! Therefore, the 17 instructions in the box would be really superfluous (both for logistics and for forests of nature). Here are the names of the robots: EV3RSTORM , GRIPP3R , R3PTAR , SPIK3R , and TRACK3R . ROBODOZ3R , BANNER PRINT3R , EV3MEG , BOBB3 , MR-B3AM , RAC3 TRUCK , KRAZ3 , EV3D4 , EL3CTRIC GUITAR , DINOR3X , WACK3M , and EV3GAME - instructions for them will have to download from Ineta, as well as software for connecting EV3 to a computer.



The instruction is most detailed, it's difficult to mess up. The son said that the parts in the bags were not packaged very well - on the very first page you may need to open 3 different packages, but these are also trifles.



The EV3 cube needs to be powered, for which you can use a battery (not included) or 6 finger-type batteries. Looking ahead - 2 more batteries (but already mizinchikovyh) will be needed to power the IR beacon (aka remote control).



The first model of a child (7 years old) gathered in about 30 minutes.



The process was not as exciting as, for example, assembling models of LEGO Technics - the instruction suggests assembling far from the most interesting robot: there are only large parts in it, including almost all sensors and engines - apparently, to demonstrate the work of each of them.





But the result surpassed all childhood expectations - for the first time he collected a model that could move by itself: back and forth, turn, turn on the spot, twist tentacles ...





The launch is carried out from an EV3 cube, for which you should press a couple of buttons on the front panel. Some actions can be programmed directly on the cube: select the number of iterations, adjust the sound signal and so on - do not tell everything in one article, smoke manuals.





Soft


It was not necessary to program through the computer collected above model. Nevertheless, there is such a possibility, while at different levels of hardcore.

The easiest way for a child to start is to use the software offered by the manufacturer, which is available for both Windows and OS X. In the second case, the distribution kit weighs 666 MB, and the installed application will take gigabytes. It is called LEGO Mindstorms EV3 Home Edition and was developed in collaboration with the well-known company LabView . On the LEGO website there are quite a few programming tutorials.

Immediately after launch, we see an interactive “garage” of robots that can be assembled from a set:


Choose the one you like and start collecting: an interactive assembly instruction, videos and a selection of various missions that you can complete with the assembled robot will appear in front of us. That's why the distribution weighed so much.




I see no reason to describe everything in detail: you download the application faster and see what is there and at what level. Unless I mention one of the shortcomings that I remember most: not the most friendly (especially for children) interface - the application is smacked by some bank client.

It should be noted once again that the EV3 cube can be controlled from a smartphone on Android or iOS operating systems, for which there are separate applications.

If all this was not enough, you can increase the degree of hardcore. For the EV3 cube, there are various firmware that can expand its capabilities, speed, etc. Here, for example, is the alternative leJOS EV3 firmware — a jvm firmware that allows you to program EV3 in Java. Want in another language? Ok, google - you have almost 60 options to choose from: ASM / C / C ++ / Perl / Python / Ruby / VB / Haskell / Lisp / Matlab / LabVIEW and much, much more.

I will not tell you more about this for several reasons: first, the programmer of me is completely false (all hopes for the son), secondly, until we managed to collect only one model (and take the second for the weekend), and - third - you have already placed an order for this constructor and you will soon find out for yourself;) But seriously, the article is already huge - here’s two more references: one and two .

Well, another big plus is the LEGO-community, which is full of all over the world. You can be sure that at any stage of experiments with robots you can always find like-minded people and those who can help with solving the problem. In addition to friendly communities, a huge variety of different instructions, models, source codes, videos and training materials are posted on the network. All this means one thing: you do not get bored with Mindstorms.











Advantages and disadvantages


Not for the first year, LEGO products have been famous for their quality, so there are no complaints in this regard: a spectacular box, details, stickers, instructions - everything has been worked through to the smallest detail. Therefore, let me close my eyes to all the “small pluses” compared to one big one: the variety of possible combinations of designs that can be made even from a standard set of parts (it’s not worth talking about additional kits) is limited only by your imagination. The ability to program the assembled model in different ways is another plus, which, in fact, is much more than it seems at first glance.

But from the really significant drawbacks I found only one: the price. In the summer, LEGO Mindstorms EV3 could be bought for 14-15 thousand, but the rapid growth of the rate of the evergreen president increased the price to 17 thousand. Someone will say: “ yes, cool designer ... BUT WAIT WELL! "And he will be right. During the study of the set and its capabilities, I went by the amount of the resources that were invested in its creation; I understand that there is a lot of electronics and everything else ... but still, I still can not accept the cost of the designer. For this money, you can pull a person out of prison (s) to pick a lot of other gifts: a quadrocopter, a radio-controlled ICE model, a full-sized electromotor cycle, a year of classes in the sports section, a tablet ... and a lot of things! But you can go to the sport at any time and it seems to be not quite a gift, and the same quadrocopter will buzz before the first serious breakdown. Lego in this regard is a much more long-lasting gift that combines the pleasant with the useful, with unrealistically great potential. Yes, on the same tablet, you can also learn to program, but when there is no opportunity to live to touch the result of the work with your hands, it is not so exciting. So decide for yourself.

Oh yes. The manufacturer positions this set for children from 10 years old, but even a 7-year-old child was interested in playing around - the process of rapid development began. What do you think, how many of these guys and what time will they buy their first Porsche? )

The end


New Year's Eve each of us is associated with Snow Maidens, mandarins, Olivier basin and, of course, with gifts. And if we talk about children, then their gifts are far from the last place on this list. And if it so happens that your son grows, then you can not even doubt that this designer under the Christmas tree will bring him to the porosity of joy. And considering that after the New Year's salute you will have almost a week to dig deeper into the cubes and wiring with your child ... you do buy his child, right?



Happy New Year!

Source: https://habr.com/ru/post/364251/


All Articles