Posts

Showing posts from 2017

Controlling 'junk' robot - three options

Image
Three approaches to control it will be considered here:
- via Raspberry Pi;
- via Micro:Bit
-via Crumble controller

1. Raspberry Pi based

In this Raspberry Pi based Junkbot design a combination of Python and Pimoroni's Explorer HAT PRO are used to control it. Explorer HAT Pro is a good choice, it can control two motors with a library provided to simplify the programming. For this the Junkbot was the one shown above: a drinks can, pen, LEGO bits, motor and broken propellor.

Before the Explorer HAT can be used the library needs to be installed via the Terminal and the instructions below

curl get.pimoroni.com/explorerhat | bash
Python code to control the junkbot is shown below.


import explorerhat from time import sleep
def spin1(duration):     explorerhat.motor.one.forward(100)     sleep(duration)     explorerhat.motor.one.stop()
def spin2(duration):     explorerhat.motor.one.backward(100)     sleep(duration)

    explorerhat.motor.one.stop()

2. Micro:bit
what about the recently released Micro:Bits; can …

The Page Turning Librarian: 10 Steps to Make a Doodlebot

The Page Turning Librarian: 10 Steps to Make a Doodlebot: Creating a doodlebot is one of my student's favorite makerspace activities.  A doodlebot is a robot that is made from every day mater...



To read more go to The Page Turning Librarian: 10 Steps to Make a Doodlebot



All views and opinions are the author's and do not necessarily reflected those of any organisation they are associated with. Twitter: @scottturneruon