Showing posts with label Mindstorm. Show all posts
Showing posts with label Mindstorm. Show all posts

Sunday, September 8, 2013

Karate Robot

Date:  Sep 8, 2013

I think Teacher Enzo @ Wonders Work did a very wonderful job.  

He always can come up with very interesting project to keep the kids to keep on coming back.

This week...

Meet the Evil Big Boss robot.

1.  He will keep laughing (play back laughing WAV file) every 30 seconds.

2.  He has 4 touch sensors on his body.  If you hit any of it, it will move backwards 2 steps.

3.  When he is hit, he will raise his sword/stick in front so that it make the difficulties to hit more challenging.

4.  He stays in the square.

IMG 6973

This week project is...

a.  Design (freely) a robot to fight the evil big boss robot.

b.  The aim is to design arms and legs to hit the touch sensor of the evil big boss robot.

c.  Once you hit the evil big boss robot, you must move backwards.

d.  hit the evil big boss robot until it moves out of the square box.

IMG 6972

Playful Jay Jay designed a robot with very very long arms.  The arms are so long that he has to build two wheels to support it underneath.

Aiyo… When you see it, you immediately know it won't work.  

IMG 6976

Look how funny Jay Jay robot is.

Youtube: http://www.youtube.com/v/nYEEJTt2tf4

No wonder Jay Jay has to spent more time to troubleshoot and figure out why it does not work as it intended to.  HaHaHa

I like teacher Enzo, because, he will let the student design freely on the robot and he will then help the student to achieve what the student wanted the robot do.

Even if he knows the design will not work.  But he will assist the student to make that mistake.

IMG 6981

So, Jay Jay finally understand that this robot with long arms will not work.

So, teachers put two models/sample in front of Jay and ask how should Jay Jay modify his robot.

IMG 6993

Finally he changed it.  The robot arms now becomes very very short.

IMG 7004

More work has to be done when you have short arm.

IMG 7008

And then after a number of tries, he added a horizontal bar in front so that the robot arm can cover much bigger space.

And let's try it out.

Youtube: http://www.youtube.com/v/sjikC8mOTog

Check out Kee Wei's hammer hand.

Youtube: http://www.youtube.com/v/uoHlPUbB_uc

So the kids one by one keep on trying to punch the touch sensor.

Youtube: http://www.youtube.com/v/ZroNFWzQsfw

Finally a direct hit.  The bad robot make two moves back.

Youtube: http://www.youtube.com/v/U1dus36K4To

Poor evil big boss got beaten up by all the Karate robots.

IMG 7049

Another hit.  Yeah!

IMG 7054

Finally, the Evil robot got defeated.  Yeah!

IMG 7065

Tuesday, August 6, 2013

Lego Chainsaw Project

Date:  Aug 6, 2013

This week, I have to attend my high school 100 years celebration dinner.  So, Jay Jay went to Wonders Works with Mommy.

This week project is to make use of 2 touch sensors to make a chainsaw.

IMG 5038

Look, my chainsaw works.  And It can cut thru paper.

IMG 5036

Jay is happy about his chainsaw.  And you can see that he is learning a lot from this course.  I am very happy about him.

Youtube: http://www.youtube.com/v/N3uWCZspFgs

Saturday, July 27, 2013

Wonder's Work Robotics Programming

Date:  July 27, 2013

We are at the Wonders Work Robotics Course again.  

IMG 4934

This week problem is to design a car to have a vertical claw to touch the pedal and drop the lego bricks to the ground.  And then, you need to design a horizontal claws to collect the lego bricks, as many as possible.

IMG 4927

This is Jay Jay robot car.  See, the vertical claw is super long.  

IMG 4926

Let's put the robot into work, and see how we can fix the problem one by one.

IMG 4929

This is the lego bricks dispenser.  Touch the pedal and all bricks go down.

IMG 4936

After 3 hours, Jay Jay finally did it!  And he collected 4 bricks.  Good job!

Youtube: http://www.youtube.com/v/pfyUSq6z1p4

Again, Kee Wei is there together with Jay Jay.

IMG 4930

 This is a compilations for videos how Jay Jay solve the problem step by step.  Notice that he actually make the robot works  but the robot actually broke his claw at the end because the class is designed to be movable initially.

Youtube: http://www.youtube.com/v/zzJMa31rd9o

So, back to the drawing board.  Jay Jay has to redesign his horizontal claws.

IMG 4951

Let's try again!

IMG 4952

Improve some more.

IMG 4961

And finally, this claw pair collected 4 lego bricks.  The aim of the project is to collect at least 3.  And he collected 4.  Well done Jay Jay!

IMG 4966

Saturday, July 13, 2013

Amazing LEGO Mindstorm

Date:  July 13, 2013

During the last week of June, because of Haze, I brought the kids to Bangkok.

So, Jay Jay cannot join Justin & Royston to go to WondersWork's 3- Days Space Camp during that week.

So, I converted the space camp to an 8-weeks Robotics with LEGO Mindstorm course.

IMG 4420

Its 2-hours per week.

IMG 4422

The location is at Liang Court 2nd floor.

IMG 4421

I like this.

"I want to put a ding in the universe."  -- Steve Jobs

IMG 4409

I like this too.

"The true sign of intelligence is not knowledge, but imagination."  -- Albert Einstein

IMG 4416

So, it involves in building the car with the NXT.

DSC00005

Today, got only 3 students, and there are 3 instructors.  So, it is 1-1 teaching.  Which is good!

DSC00006

And on the first class ever, Jay Jay learned how to program his Mindstorm NXT car with this logical programming tool that comes with LEGO Mindstorm.

DSC00007

This is the NXT car that he build.  Very simple two motor car, with a NXT on top.

DSC00009

And this is the testing ground.  The NXT car will start from the X box there, and move straight to pass (1) and then make a right turn at (2).  Then, it go straight and pass (3) and then make another right turn at (4), continue move and push the bridge (in blue) to the front.  And then, the car will reverse, do a reverse right at (5) and then move to (6), make a right turn, and move to (7) and make the last right turn, and the move forward and cross the bridge and go into the room.  Looks simple, isn't it?  hahahaha

IMG 4419

Hey, Jay's long lost K2 classmate who went to Taiwan last year for 3 months, i.e. Kee Wei is also here attending the same class.   Glad to have buddy in the same class to learn.

IMG 4407

 The teacher demo how he wants the student to program the car.  Wow, it is an interesting project.  

Youtube: http://www.youtube.com/v/QqXOQuI4k-Q

OK Jay Jay, let's get down to work.

IMG 4414

Wow, they build the car, and now reprogram and testing out all the parameters for the motor, trying to get the car right.

IMG 4425

This is the first try, to see if it moves or not?  haha

Youtube: http://www.youtube.com/v/OQfOASsLSek

Jay and Kee Wei talking happily.  They takes turn to test our their ride.

IMG 4429

Things not going the correct way, the teacher will teach them new things slowly.  

OK Jay, 1sec and 2sec, which one is smaller?  

OK how a bout 1.5sec and 2sec, which one is smaller?

Wow, they even teach the kids fractions so that they can refine their motor speed.

IMG 4436

This is Jay Jay NXT car after a few rounds of fixing.

Youtube: http://www.youtube.com/v/EI4-qUWZugg

Jay, to make the car turn, how about, you FIX one motor (not moving), and move the other motor?  Like that, the car will turn.  Wow, it works!

IMG 4437

Kee Wei watches her car and try to observe the changes and short fall. 

IMG 4440

Jay Jay now is very comfortable with computers.

IMG 4442

It should work this time.

IMG 4444

There he make his car run and make turns.  Well done Jay.

Youtube: http://www.youtube.com/v/cKSKq6vv38M

I bought a Mindstorm quite some time ago.  Now it is a good time to put it to good use.  To let Jay Jay finally touch the programming and the Mindstorm itself. This is the car we build without the eyes, where I just disassembly it.  So, since we have the car base there, I let Jay Jay to have the honour to program the car.

IMG 4457

And of course, Jay Jay still remember what he learned from WondersWork.  So, he did the same program at home.

IMG 4460

And I taped a few red stripe on the floor so that he can program something that is similar to what he learned from the class.

IMG 4461

After many trial, we also learned that, the battery can die some day.  And when it dies, the power you program will be different.  So, the program that you wrote will not be similar as what it suppose to do.  HaHaHa… 

So, he has to take out the NXT and change the battery inside. 

I think my son is a great LEGO builder.  He can remember how he build all these and put them back together in no time.

IMG 4480

That is the NXT separated from the car itself.

IMG 4481

OK, at home, we try to do very simple task.  So, I take time to tech him once again, the fraction of time, 1sec, 1.1sec, 1.2sec, 1.5sec, 1.8sec, 2sec, 2.5sec, etc. I also teach him some cool trick.  Using ruler to see the distance, and figure out he ratio.

Youtube: http://www.youtube.com/v/QLBJ5JL0Kgc

"Jay Car 1" program.

IMG 4484

OK.  Let's see if the car can go back to the original car park or not.  hehe

Youtube: http://www.youtube.com/v/5BEum7Tv__A

At first, I was afraid that LEGO Mindstorm is too advanced for 7 years old kid to learn.  But after what I have seen today, it is not too hard at all.  

They learned today that the motor can be programmed using either POWER or TIME-DURATION.  You run 50% of power for 1sec and 100% of power for 1sec.  Which one will go further.  It is a simple questions, but it makes the kids think very hard.

They learned also that if you keep with 50% of power, and the run 1sec, 2sec and 3sec, it will go even further.

Jay also learned that he needs to "shorten" the code, by writing "simple code".  Instead of running 2 blocks of 100% power for 1sec, why don't you do 1 block of 100% power for 2 second.  Then, you reduced the code by 1 block.  He got it!

Jay also learned that in order to turn right, your RIGHT WHEEL MOTOR needs to stop and be static while moving the LEFT WHEEL MOTOR.  Then, the car will move to the right.  Very cool concept for the kids.

DSC00001

At the end of the class, I asked the teacher, "Wah, for one class, the students need to program this project?"

Teacher: "No, we actually did not expect them to do so much.  Today is first day, they suppose to learn the moving mechanism, but somehow, these kids learned faster than we expected."

HaHaHa… Now I am impressed.  To tell you frankly, I don't even know how to write the logic program yet since I bought the Mindstorm for so many months.  Only today, my son learned how to use it. 

I am glad that I signed up this course for Jay Jay.  And Jay Jay is so happy, and keeps talking about it until now.