Skip to main content

More computing. more interaction - Greenfoot




One of the criticism of the robot programming part of the Junkbots project is not everyone necessarily gets a go at the programming. To address this a new feature has been added to the project. There are now two parallel activities  as well as programming a robot; there is a separate programming exercise carried out at the same time which replicates some of the same actions of the robot but this time on screen.
Figure: Robot pushing a barrel

These exercises are based around the increasngily popular Greenfoot software (http://www.greenfoot.org/download/) which is free to download and use. This can be put on as many machines as are need enabling more people to have a go at programming.

The exercises initially gets participants to set-up the world, place a robot within it and get the robot to move across the screen. Building on the each previous exercise, the complexity increases and includes challenges (such as in the figure) where the robot pushes a piece of rubbish (in this case a barrel) off the screen.


Some of the material can be found at: http://www.computing.northampton.ac.uk/~scott/greenfoot_ex/sco1/default.htm





Comments

Popular posts from this blog

junkbots 3 - bring it all together

Junkbots session 3: Move the robot but now there are rocks in the way.  This is the last of three posts - Introduction and sequence - Loops and just having fun - This one: Making decisions and bringing it all together. What is the Junkbots project The Junkbots project has been running for a number of years as an initiative to bring sustainability, computing and engineering together by building bots out of junk; details of the project can be found at.  https://junkbots.blogspot.com/  . Junkbots is an extension of the Research into the teaching problem-solving going on at the University of Northampton please feel to visit  https://computingnorthampton.blogspot.com/2019/01/problem-solving-research-outputs-and.html  for more details.   What are we going to do? ·         Play with a Scratch robot on the screen! ·         Build on the routines from the previous session. ·    ...

Junkbot Raspberry Pi: 3 How to do it

Figure 1 In previous posts I start looked at using ScratchGPIO to control a junkbot  ( http://junkbots.blogspot.com/2014/08/junkbot-pi-1-scratchgpio.html ) and showed a Pi controlled junkbot briefly in action ( http://junkbots.blogspot.co.uk/2014/08/junkbot-raspberry-pi-2-raspberry-pi.html ). In this post I aim to discuss - Choice of motor controller card - Provide an example of a drawing junkbot controlled through Scratch and Raspberrry Pi Choice of interface/Controller card The card choosen was the 4Tronix PiRoCon card  ( http://4tronix.co.uk/store/index.php?rt=product/product&product_id=182 ). Selected for four reasons - Price is reasonable (in my opinion). - Fits straight onto the Pi through the GPIO - no extra cables needed. - ScratchGPIO has it as an addon so it makes programming it even easier (see http://cymplecy.wordpress.com/2013/10/31/pirocon-from-4tronix/ ). - Others are using it for robot projects. Use it is quite easy plug the board directl...

Brooke Weston Event

Students at Brooke Weston School, Corby have been working with the University of Northampton's School of Science and Technology on the junkbots project. Scott Turner and Terry Tudor on the 16th and 17th February 2010 went to the school to run the sessions. Starting with a talk and activities on waste management, including how much waste the UK produced, and in terms of numbers of slices of toast what is the cost of energy of leaving a monitor on overnight.   The task was to produce robots out of rubbish that could carry other rubbish into a containment area. The change made to the sessions was that students brought there own 'junk' to the sessions. S ome innovative and creative designs were produced involving 'legs', wheels (including turning cans into wheels and wheels from old toys).    Some of the designs pushed rubbish into the area, but one of the designs carried the rubbish into the area and some designs used magnets to pick up small steel parts (nuts a...