Skip to main content

Blog usage statistics








Popular posts

  • In a previous blog entry the idea of using drinks can and an unbalanced motor was discussed. but what else have the projects participants t...
  • The junkbots project has now being running for 18 months in Northamptonshire, UK. But how have the junkbots being built? A video produced by...
  • Back to the main approach, simplest way and probably the quickest:- A body (drinks can and drinks bottles usually) and an unbalanced motor -...
  •  The second half (programming lego robots) on the junkbots project has been carried out at  Huxlow Science College  on 28th February 2011. ...
  • Arvind Gupta has produced a lot of work on turning junk into toys that aim to demonstrate the engineering ideas in an very interesting (wel...
  • Students at Brooke Weston School, Corby have been working with the University of Northampton's School of Science and Technology on the junkb...
  • A recent article in the Northampton Herald and Post " How a university is using waste as tool to inspire students " by Lawrence Joh...
  • Friday 16th March 2012, the junkbots project moved to year 6 at Roade Primary School.  The aim was to Look in to how to use electric motor...
  • Last Wednesday (11th June 2012) junkbots returned home. During the Inspiring Girls into Engineering event held at the School of Science an...
  • On the 30th April 2012 the junkbots project went to Wootton Primary's STEM club. The task was challenging to design and to build junkbots th...


If you would like to know more about the Junkbots project contact scott.turner@northampton.ac.uk

Popular posts from this blog

Controlling a junkbot with a Micro:bit

A new direction has been developed for the junkbot project (http://junkbots.blogspot.co.uk/); previously Raspberry Pis have been used to control the junkbot’s movement (http://robotsandphysicalcomputing.blogspot.co.uk/2016/01/python-junkbot.html) – but what about the recently released Micro:Bits; can it be used to control a junkbot?
Matthew Hole, a student from Wrenn Academy, Northamptonshire ; has been investigating this idea whilst on a Nuffield Research Placement (http://www.nuffieldfoundation.org/nuffield-research-placements) working with Dr Scott Turner, University of Northampton. The project was to look into developing junkbots controlled using a Micro:bit and also to produce some materials for schools to use with or without outside assistance.





What is a Junkbot?For this project, it is a moving ‘bot’ made from waste materials, combined with an electric motor and a programmable device (in this case a Micro:Bit) to control (or try) it. An example is shown above. More details on junk…

Do it yourself: 'Radio' Controlled Micro:Bit Junkbot

I
In an earlier post, I showed how you could build a Micro:Bit controlled Junkbot. In this post I want to show a modification to it, to use one Micro:Bit to control the junkbot controlled by another Micro:Bit. A nice feature of the Micro:Bit using micropython, is it can send and receive simple messages via radio - so here is my take on it.

The first problem is the Python editor available on https://www.microbit.co.uk/ does not seem to work with the radio API. One solution to this is to change to the mu editor.


Two pieces of code are needed.

Sending Code for the 'remote' control:
Essentially it is set up to send two messages, via the built-in radio module, spinl or spinr depending on which button is pressed.

import radio
from microbit import button_a, button_b

radio.on()

while True:
   if button_a.is_pressed():
       radio.send('spinl')
   if button_b.is_pressed():

       radio.send('spinr')

Junkbot Code
This takes an adapted form of the previous Junkbot code to work by; on r…