Monday, November 27, 2017

LEGO robotics at Hispabrick Magazine HBM028

There is a wealth of information about robotics at Hispabrick Magazine HBM028
Among them are

Page 14: Interview with Carl Merriam, one of the designer of LEGO Boost.

Page 44: Use the "FORCE" with the Creative Toolbox by the Seshan Brothers. Sanjay and Arvind. (the Creative Toolbox is what LEGO calls LEGO Boost programming software)
In this chapter they use one of the 5 models to create a robot which keep the model at a fixed distance from an obstacle (the FORCE LEGO Boost, the FORCE )
with some simple programming with the programming blocks, a kid can play STAR WARS using the hand (the FORCE) to keep the "robot" at a fixed distance away, move the hand nearer and the robot moves away, moves the hand further away and the robot will follow, keeping a fixed distance.

Page 103: The LEGO Boost experience by Jetro de Chateau, sort of an UNBOXING story of his experience with LEGO Boost. One negative experience with the LEGO Boost mentioned by Jetro was the short battery lifespan. One other negative mention was that "the Guitar" cannot make music.

Page 33: Robotics is now a compulsory subject in Japan as they predict that 40% of current existing jobs will be replaced by robots in the future. There were mentions of how LEGO of which Mindstorms EV3 featured prominently.

Page 51: SBrick and robotics

Sunday, October 8, 2017

EV3 Robot models for education - Educator Rover and Riley Rover

The programming blocks for the EV3 to move the motors uses instructions to turn the motor according to
(a) how many turns the motor rotates
(b) how many degrees the motor moves

However when a rover model with 2 wheels are constructed, whether the rover moves forward, turn right or left and the amount it moves forward or turn would be different from what you input in the blocks. To learn, we have to construct an actual rover to experiment how the rover moves when we program it differently.

Mindstorms EV3 Educator Rover

There are 3 rover models you can construct, one proposed by LEGO (Educator Rover) and one proposed by Damien Kee (Riley Rover) the links given below:

LEGO Educator Rover

Damien Kee's Riley Rover for EV3.

Update: Acknowledgement to Damien Kee: The robust and relatively quick to build Riley Rover was designed by Damien Kee but wasn't called "Damien Rover". Instead it was named Riley Rover as Riley is the name of his eldest son. So now you know where Riley Rover got its name!

Mamien Kee's Quick Build Rover for NXT

Friday, August 26, 2016

Week 1: Teaching with robots (Part 1: Introduction)

This is a summary/transcript of Prof. Jennifer Kay's video course Week 1: Teaching with robots (Part 1: Introduction):

In this video you will hear about Jennifer Kay's motivation for promoting teaching with robots in schools and Introduction to
Associate Prof. Janet Moss - Rowan University
Rufus Wright - Technology Coordinatior West Avenue School
Nick Handley - Sixth Grade STEM teacher Hartford School
Melissa Quin - Eight Grade Math Pemberton

ROBOTS FOR EDUCATION (Part 2: Why We Teach LEGO Robotics and an Introduction to Other Educational Robots)

Why LEGO Mindstorms robots

1. popular in schools
2. FLL (First LEGO League) competitions motivates and encourage students
3. WRO (World Robotics Olympiad) competitions open to wider range of ages even up to universities)
4. Robo Cup Junior - primary school to age 19, not exclusive to LEGO but many uses LEGO
5. School clubs
6. Uses Graphical Languages which uses drag and drop programming blocks
7. Other robots (not included in course but links to them can be found in the Resources section
    VexIQ
    Scribbler
    mOway
    Hummingbird
    Thymio
    Finch

Week 1 - ROBOTS FOR EDUCATION: (Part 1: LEGO Mindstorms Robots)

This is a quick transcript of Prof. Jennifer Kay's video course on Week 1 - ROBOTS FOR EDUCATION: (Part 1: LEGO Mindstorms Robots):

LEGO's robots
1st robot - RCX
2nd robot - NXT (no longer for sale but very similar to EV3 and can still be used)
3rd robot - EV3 (course assume you are using EV3 Educational or Home version)

Week 1 - INTRODUCTION (Part 3: Additional Support)

Prof. Jennifer's video course on Week 1 - INTRODUCTION (Part 3: Additional Support)

Below is a very brief summary:

    Course forum - Q & A
    One-on-one tutoring
    Surveys
    Feedback

The above seem to be meant more for the initial or initial few batches of participants as I could not find any link to the course forum, tutoring or surveys. The only one I found was for Resources

Week 1: INTRODUCTION (Part 2: Course Structure)

Prof. Jennifer Kay's video lesson on Week 1: INTRODUCTION (Part 2: Course Structure)

Below is a quick summary

Course Structure:
Week 1: Introduction to robots, hardware, software
Week 2: Setting up
Week 3: Picture, sound, motion
Week 4: Looping, waiting, switching
Week 5: Robot Educator, data logging and more

Week 1 - Introduction to Educational Robotics (No Robot Required!!)

Prof. Jennifer Kay's Week 1 -Introduction to Educational Robotics (No Robot Required!!)

This is a transcript (with Prof. Jennifer's permission) of the above so one can read quickly or as revision rather then listening to the video which is more time consuming.

Prof. Jennifer Kay is Professor for Computer Science and Director of Rowan University Laboratory for Educational Robotics.

Much of her work focuses on robotics outside of Computer Science.

This is a course for K12 teachers with no prior robotics experience EV3 in and after schools. Robots can be used for all sorts of context for 3rd Grade Maths to 7th Grade Technology, even High School Physics. Can also help introduce students to computer Science which will be useful for studies of all sorts of field.

About the course
    Sponsored by Google CS4HS (Computer Science for High School)
    Designed for K12 teachers
    Free for anyone
    No prior experience needed
    Designed for absolute beginners

This course is meant for LEGO Mindstorms EV3 Education set but is also OK of the retail/home/commercial version.

Thursday, August 25, 2016

Educational Robots for Absolute Beginners – EV3 Edition (Welcome)

Prof. Jennifer Kay and Rowan University has created a course on robotics for beginners meant for teachers at Educational Robots for Absolute Beginners – EV3 Edition (Welcome)

Brief introduction to the course plus testimonies from past participants, many of them absolute beginners to robotics and programming without prior experience.

Monday, August 15, 2016

Lesson 54: DANCING ROBOTS! (Part 2: The Move Steering Block)

This is a summary/transcript of Prof. Jennifer's Week 3 - More about EV3 Brick: Dancing Robots Part 2: The Move Steering Block.

The Move Steering block assume your motors are connected to port B and C of the EV3 brick
The first Selector is called the MODE selector.

If you select ON FOR ROTATION (#) then you specify how many rotations the motor should rotate (can be a decimal - move a fraction of 1 rotation)

Mindstorms move steering block on for rotation

If you specify On for Rotation, then you specify on for how many rotation in this area:

Minstorms EV3 Move Steering block On for rotaion

The above shows On for 0.5 rotations means the wheel will rotate half a rotation.

If you specify On for Degree, you must specify how many degrees you want the motor to rotate and it must be a whole number:

Minstorms EV3 Move Steering block On for degrees

The above shows that Steering is set to rotate for 90 degrees which is a quarter of a rotation. (360 degrees is 1 whole rotation)

You may also specify On for seconds. You may specify decimals (fraction of a second) If you specify On for rotations or On for degrees, the motor will rotate the exact number of rotations or degrees. However if you specify On for seconds, the motor will move the exact number of seconds but how many rotations it rotate may depend on the battery level etc.

There are 2 more options ON and OFF which Prof Jennifer will discuss later.

There is also a slider bar for you you adjust to make command the 2 motors to make the robot go straight,

Mindstorms EV3 slider bar set to zero robot go straight

to the left

Mindstorms EV3 slider bar set to left to make robot go left

or to the right.

Mindstorms EV3 slider bar set to right for motors to make robot go right

The second slider is the Power slider, When set to 100, the robot move at full speed. When set to a low level (what is low level depend on your robot setup, heavy or light, or the gearing), the robot stop. When set to negative, the robot reverse.

Mindstorms EV3 move steering block power slider

The last option is BREAK AT END and can be set to TRUE (tick) or FALSE (cross). When set to TRUE, the brake will be applied at the end of the duration or no brake (free to coast [freewheeling]).


Once you learned how to make motor/robot moves you can program robots to do all kind of things, like do a dance.

Get more detailed information from Prof. Jennifer's video at DANCING ROBOTS! (Part 2: The Move Steering Block)

Sunday, August 14, 2016

Mindstorms EV3 - writing long programs

Week 4 - Programming your EV3: Part 3: Writing long programs)


This is a transcript of Prof Jennifer's Educational Robotics for Absolute Beginners. Greater details can be obtained from her video: More about the Software (Part 3: Writing long Programs)

Suppose you are creating a long program and is running out of space, one thing you can do is to use the pan tool Mindstorms EV3pan tool and drag the blocks around so you can get more space to add more blocks:

Mindstorms EV3 pan tool to drag blocks around

Drag the blocks to the left so you have more space at the end to add blocks. To stop panning, click the pan tool again.

Another neater way to get more space would be to break to sequence of blocks into 2 blocks, arrange them one above the other and use the sequence wire to connect them. Get out of the pan tool and click on the select tool Mindstorms EV3 select tool.

Click on one of the sequence plug to break the sequence of blocks

Mindstorms EV3 Sequence wire

Then you can use the select tool to bundle the separated sequence of block together and pull them down below the first blocks

Mindstorms EV3 sequence wire connect 2 separated sequences of blocks

However, the arrangement is not neat as the sequence wire runs through the blower blocks of codes. To make it less ugly, you can click the sequence connector (the other end of the sequence plug) to break the connection. Reconnect them by hovering the mouse over the sequence plug till you see a "spool of wire" then drag it down and then to the left till it align slightly in front of the lower sequence connector, pull it down then to the right to connect to the sequence connector and you will have a neater arrangement of a long program.

Overview: Sorting out your hardware and software

The first task is to open box, sort the parts into the sorting tray:

Mindstorms EV3 parts sorting tray diagram
Mindstorms EV3 parts sorting tray diagram
Then you need to sort out your hardware and software
  • Install rechargeable battery pack (Educational Kit)
  • Build the robot
  • Install the software on your computer
  • Start up the software
  • Connect the EV3 to the computer
  • Upgrade the EV3 firmware


Hour of Code: Great resource to learn programming (coding

Robotics is comprises the hard physical parts (motors, sensors, gears, connections, etc.) and part soft programming (coding). All programs, including programming the EV3 involves writing instructions one after another (inline), looping, branching, etc. The differences will be in the languages used.

A volunteer organization has created Hour of code which is an amazing resources for children of all ages to start learning coding. Do visit the Hour of code to see what they offer.

Mindstorms EV3 Content Editot: How to close

When you are creating or editing a Mindstorms EV3 program, you may see a large blank window at the top right. That is called a CONTENT EDITOR.
The content editor is a very powerful tool which you can use to document (describe) the program so that another person reading your program can understand how it works.
When you are a beginner, your program may be small/short and easy to understand what it does but later when you start writing long program, you will find the CONTENT EDITOR very useful.
It will be also very useful when your program doesn't work as you want it to do and you want to find out what may be wrong and how to correct it.

However there may be times when you find the CONTENT EDITOR troublesome, hiding part of your program so you can't see it and you want to close it.

This is how you close the Content Editor. Move your mouse over to the top right corner of the window and you may see a tool tip that pops up and read CLOSE CONTENT EDITOR. Click it and the Content Editor will close (see screenshot below).

Mindstorms EV3 Content Editor: How to close
Mindstorms EV3: How to close Content Editor


When you need to view the Content Editor you can click the same corner to open it again.

Saturday, May 14, 2016

Leka, real robot like BB-8 of Star Wars

Since there are so many fans of Star Wars, especially children, most people would have watched Star Wars: The Force awakens and that cute rotating robot BB-8.

robot BB-8 from Star Wars

Robot BB-8 saved the day in Star Wars in the movie, but there is now a real spherical robot that can help autistic children, the Leka robot which can be programmed and also roll like BB-8.

Saturday, February 13, 2016

Lesson 73: Part 4: EV3 Downloading, Batteries, Memory, and More)

When your EV3 brick is connected to the computer, the EV3 software will display a window at the bottom right corner of the screenand at the top right of this window will be the word EV3 highlighted in red. This small window which will enable you to do various thing. If the brick is disconnected to the computer, this word EV3 will revert to black color.


Below that red word EV3 are 3 buttons
1st button: download program from computer to EV3 brick
2nd button: download program from computer and execute
3rd button: download programs

IMPORTANT: Avoid using 2nd and 3rd button. Reason, robot may start moving and drag laptop computer off the table

Lesson 72: (Part 3: Mindstorms EV3 software, Writing Long Programs)

When we are writing long programs, we may need to move blocks around.
One way is to use pan. Click the PAN icon (picture of a hand) at the top right corner , then click on screen, drag around.
It is like the screen is very much bigger than what we see, and we drag the hand icon around, it is like dragging the whole screen to a position we want.

Another way is to first click the SELECT icon at the top right corner click and drag the cursor to highlight a series of blocks, then click the group of icons to a more convenient place on the screen.


Note that the screen is rectangular, not long and shallow to accommodate a really long series of blocks. There would be big empty space above or below the long series of block and you can actually make use of "programming wire" to connect programming blocks instead of connecting them by placing them together in long horizontal connected series

Thursday, February 11, 2016

Lesson 67: MORE DISPLAY (Part 3: Simple Animations)

Animation example, rising water level.
LEGO has lots of images at
Display block > Images > Progressions > images saved by LEGO > select water level 0
So add a PLAY block, connect a DISPLAY block picking first water level 0
Add a WAIT block, make it wait, say, half second
Repeat above a 3 times selecting in sequence, selecting water level 1, then 2 then 3

First step:

Lesson 68: MORE DISPLAY (Part 4: Displaying Text)

This lesson explain how to display 2 lines of text simultaneously


While we can specify the start of the text in pixels
We can also also use GRID MODE. For displaying text, easier to use grid mode
lEGO ev3 divides the screen grid into
22 columns horizontally (x-axis) starting from 0 to 21
12 rows vertically (y-axis) starting from 0 to 11
Each row can display 1 row of text
Related Posts Plugin for WordPress, Blogger...