Category Archives: programming

Micro:bits

Image

After experimenting with a number of robotics type devices, I have found that the Micro:bit is a great way to introduce coding and bring that coding to life.

The advantages:

  1. They are cheap – less than $30AUD for the micro:bit and lead
  2. Immediate and quick results for students of all ability levels
  3. Simple to connect to computer
  4. Great online resources and tutorials – simple, effective, user friendly
  5. Students were highly engaged and there were few problems in getting an outcome
  6. Reasonable robust for its size.
  7. Can be used on Windows devices and Apple technology
  8. there are a number of programming languages that can be used

Limitations

  1. Size – some students had difficulty in connecting the lead to the micro:bit
  2. Code needs to be downloaded, then dragged across and dropped into the micro:bit usb drive on a PC. Students soon got used to using the download folder though.
  3. Only uses .hex files
  4. Each time you write a new program, the old one is replace, you cannot store previous code

Where to start

  • Showed the following videos

    https://youtu.be/Wuza5WXiMkc
  • Explained how to connect the lead to the micro:bit and computer
  • Demonstrated the Flashing Heart tutorial from the Micro:bit Make Code website explaining they needed to sketch 2 different hearts (to give the impression of flashing)
  • Showed how to download the hex file>open in folder>drag and drop into the Micro:bit usb drive
  • Students then created their own flashing heart and downloaded the code to their micro:bit
  • They then worked through the other tutorials

Image

 

 

Where to start: Coding with Scratch

As I have done little in the way of coding and programming (and have never learnt it formally), I am more than  nervous about introducing it into my classes. So reluctant in fact, that I have left this area of study until the last school term for years 7 and 8. Over the last few years a small group of students have been involved in the Games Net project with ACMI. This required them to collaboratively develop a game using Scratch, so I have simply watched them get involved! Most educators suggest starting to program with block coding and as Scratch is free, global and shares so many resources willingly, I am going to start my year 7 and 8 students programming in Scratch, even though the curriculum would suggest that I use more sophisticated coding programs. Some students have already used it in primary school, so hopefully, there are some experienced code crunchers in there!

However, as it is now part of the new Digitech curriculum, I am forced to take it on!! But where to get started???? In the past I have printed off a range of sheets with basic codes that can be used to move the cat sprite. Unfortunately this did not engage the students for long. One of my favourite sites for classroom resources is Tes. There are some wonderful resources shared by teachers – some free, some with a small charge. I went to the Resources tab, keyed in “Scratch” and found some great coding projects to create simple and more complex games. All the ones that I have used are free. I chose some that looked user friendly and engaging for students, downloaded and saved them on the network and printed some on our colour printer.

We started with was the worksheet Scratch by tonymitch. It was free. Students create a simple racing track as a backdrop, add a car sprite and code the car to race around the track.  Students who were more confident with Scratch used their creativity and changed the backdrop etc. Then went on to develop their own games. Beginner students tried some of the projects from this workbook by Nick Rickus (the maze game and frog game). These were more challenging and they had to use code that they had learnt from the racing track game to ensure it worked. (I think this is using the old version of Scratch.)

See games developed in Scratch by some of the year 7 students:

Mac Tank Game was his variation on  a maze game, his racing car game involves 2 players and his maze game

Next time I would use the following resources to introduce Scratch –

More resources:

  1. Scratch Session 1 of 3 – fish tank game which teaches scoring, timer and game over screen
  2. Scratch Gamepacks
  3. Scratch Workbooks
  4. Pacman Challenge

and so much more.

Once students completed their games, they had to share the project online in Scratch, grab the embed code from Scratch and place the games into their blogs.

Impact on students: Students are highly engaged. They love to play each other’s games and test them. They access the games via each other’s blogs. Students who would not normally achieve much in class due to low literacy levels are able to use code and are often become the ‘experts’. Some socially isolated students become the most adept and are highly sought after for their expertise in solving problems that often higher achieving students struggle with.

Further directions

Students will be encouraged to leave positive comments on each other’s blog posts with feedback on what they liked about the game and suggestions for improvements.

 

 

How to use Lego Mindstorms Robotics

IMG_3851

Our school was part of the Digi Tech initiative and received $10000 to spend primarily on robotics. As part of this grant we purchased 6 EV312 Lego kits which came with a bonus Space Challenger. Being a complete newbie to robotics, I attended the 1.5 hour ‘hands on’ workshop at the recent ACCE conference entitled “Introductory robotics workshop coding made easy with LEGO Education EV3″ with Joanna Burk  from Modern Teaching Aids. We were encouraged to download the software prior to the workshop and work in pairs. These are some of my notes from the “hands on workshop”.

IMG_3853

Items that are useful to store the lego securely

IMG_3852

Following are some of the activities that we were involved in.

  1. Building a basic robotics car from the kit brought for us to practise one. Fortunately we had a sample one already built to copy.
  2. Estimated and then tested the distance of a full wheel rotation.
  3. Given a specified distance to program the robots to cover eg 1.43 metres. Tested our coding
  4. Then involved in a race with the other groups. Our robots had to stop at the people objects setup at the end of the race line.

IMG_3854

Suggested Resources

Download the software which is now free. It uses block coding.

Ideas for best use: use a piece of foam so lego bits so they do not slip of the table.

IMG_3849

Things to remember: When switching,  hold power button till light is ell green. All student projects will show up under save tab 4th tab in basic settings. Top left button is important cos it takes it back to beginning. Also turns off EV brick.

IMG_3859

Modern Teaching Aids also sells mats that the Lego robotic cars can move around on.