June 21

# simple machine

For the next two and half weeks me and my class will being doing the simple machine rotation.

so far I have learnt all of 6 simple machines what they are used for and how much you actually use them in real life.

Ā

this is a picture of the wheel and axle it is used to move stuff.

this is a picture of a pulley it is used to lift something easier.

this is a inclined plane it is used to move something from somewhere higher to a lower easier.

this is a screw it is used to attach something to another thing.

this is a wedge it is used to slit something apart.

this is a lever it is used to balance something.

this is the ute I made out of k’nex it has 2 simple machine the wheel and axle and the pulley.

this is a video of the pulley being used.

Lego we do

today I started doing Lego we do and I built a crane

The crane has a lever, a pulley and a wheel and axle.

this is the pulley it controls the hook and rope.

this s the lever it turns the crane inĀ different ways.

this is the cane working.

this is the program for the video above the icon with the green triangle it the start button.

June 20

# ultrasonic sensor

challenge 1

the first challenge was to get your robot to stop 20cm away from the wall.

this is the program for the first challenge. The first block is to make it go forward then the second block makes it go forward intel it is 20cm away from the wall thenĀ  the orange block makes it stop.

challenge 2

the second challenge was to put you robot in a box and program it to never run in to a wall.

this is my program for thisĀ  challenge the first block is to start the program then the orange block going around the whole program that makes it repeat, the first green brick makes it go forward in till it is 20cm away from the wall then it goes backward for 1 second the it turns 90 degrees right.

June 8

The follower the line challenge is to get your robot to go around a oval shaped board.

WhenĀ I was trying to do this challenge it wouldn’t work then I realized that the cords were is C and D but it was but it was meant to be in C and B.

in this program it shows if it see’s white it will turn until it see’s black then it repeats but if it doesn’t see white at the start it will keep going until it does.

June 4

# The switch block challenge

The switch block is a icon in the program that you can ask if it see’s a colour and if it does it does something and if it doesn’t it does something else.

The is a snip of the switch block. The green is witch sensor it is connected to, red is witch colour it will sense, yellow is if it see’s the colour and blue is if it doesn’t see the colour.

GREY is to start the program.

BLACK is to choose from degrees , rotation and seconds.

RED is the direction the of them robot is going.

PINK is witch port the cord go’s into on the EV3

ORANGE is the them speed

GREEN is with sensor the switch block it is connected to.

YELLOW is witch colour the sensor sensors.

LIGHT BLUE is if it does sense the colour

DARK BLUE is if it doesn’t sense the colour.

June 1

# hummingbird kit

The humming bird kit is really similar to Arduino but aĀ little bit easy because you don’tĀ all the LED cord are all together and you don’t have to use resisters.

Module 1

exercise 1.1

Change the 50 to 0 and click on the block again.This should make the LED turn off. Change the 0 to 100 and click on the block. This is the maximum brightness of the LED. Try out other numbers between 0 and 100 to explore the different levels of brightness that are possible.

The one on the program above is witchĀ port the LED go’s into and the 50 is how bright it is so if it was 100 it would be really bright and if it was 1 it would be really dim.

exercise 1.2

You may have already discovered that you can write multiple scripts in the ScriptsĀ area. Add a second script that turns the LED off when you press ‘x.

in this program I got it to repeat 50 times so I could video it and between each LED I made it stops 0.1 seconds.

exercise 1.3

To get 2 LEDS to turn on you have to change 1 one to the numbered port the LEDĀ is into.

exercise 1.4

this program has one light turn on and then another 5 seconds later.

ModuleĀ 5 inputs

exercise 5.1

exercise 5.2

this is a snipĀ of the program I used.

This is the video explaining the light sensor.

May 28

# EV3 Colour Sensor

The colour sensor isĀ a sensor that can stop to colour or follow a line. The colour sensor is a small sensor your add to your ev3 robot to make it better.

task one is to program the robot to stop at a coloured piece of paper.

this is the program for task. on the first orange brick is a triangle witch starts the program , the green brick is to make it go forward the arrow in a circle is so it keeps on going till it finds the coloured piece of paper , the 50 is the speed and the B + C is what part of the brick that its connected to. The second orange brick is the colour sensor, the 3 is what part of the robot it is connected to , the small redĀ dotĀ is the colour itĀ will stop to and theĀ timerĀ  icon is so that it keeps going to it finds the colour.

Task 2 is to get your robot to go up to a colour then turn a come back.

this shows the program for this task. all the bricks here are the same as top but the only difference is that the second green icon make the robot turn 180 degrees and insead of making them both turn to green i made one the colours green and one red.

May 20

# Arduino reflection

Arduino is a smallĀ coding kit for beginners. the two most parts are the uno board and the bread board.

the first task was to get a red LED light to turn on usingĀ  three alligator clip, 9v battery

The most difficult part was connecting the clips to the right thingsĀ  but everything else was pretty easy. And also last term when we where learning about circuits which made it a lot easier.

The second task was to get a red LED light to turn on using a bread board.

i thought the hardest part was putting the wires in the right spot. when you use the bread board to turn a light on you must use a resister. so you don’t blow the LED light and break it.

The third task was to use a switch and a Arduino uno board.

The Arduino uno board is a board that you connect your kit to so you can program it to do better things.

The hardest part was to get the right program on to that uno board so it would work.