• Tontec Touch Screen Set Up

    Setting up Tontec Touch Screen for the Raspberry Pi.

  • Weewx on Rasp!

    Installing Weewx and a La Crosse WS2350 Weather Station on a Raspberry Pi (RPi)

  • Arduino Capacitive Switches

    When I saw this Arduino capacitive switching demoed at UWE, Bristol I was sold on the little board. Pinball with paper clips and Maltesers!

  • Windguru Plugins

    Wordpress and Joomla Plugins for Windguru

  • Weewx QNAP
  • Which Winch?
  • Stoves for Woodlands, Bushcraft and Wildcamping.

    Buying a stove for your woodland or camping expeditions can be daunting with a vast selection on the market and strong opinions on the forums. Here’s my take on it.

  • Film Society

    In the bygone days videos and films were rented from shops on reflective pieces of plastic and magnetic rolls of ribbon. This is a software development task and an implementation task. (Taken from OCR 2507 Task 1 Jun 2006)

  • Magic 8 Ball

    The Magic 8 Ball is a toy used for fortune-telling or seeking advice, manufactured by Mattel and developed in the 1950s. Often used in fiction and for humour related to it giving very accurate, very inaccurate, or otherwise statistically improbable.

  • Dog Year Calculator

    Dogs do not age at the same rate as humans. Write a program that converts the age of a dog to the equivalent for a human.

  • Etch A Sketch

    Write a Etch A Sketch program that recreates the popular 70s/80s Etch A Sketch toy.

  • Cellular Automata

    A cellular automaton is a collection of “colored” cells on a grid of specified shape that evolves through a number of discrete time steps according to a set of rules based on the states of neighboring cells.

A Digital Ranch amongst the Wild Web

Ex-teacher & sound engineer. Now #Smallholder and #Woodsman working in Property and Electrical Installations. Into all things #STEM; #getoutside to walk, kitesurf and cycle.

The Zumo Robot shield comes with a buzzer that can be used to signify events or actions.  

The Pololu Zumo Robot is a dual motor rubber tracked robot that fits inside the 10cm x 10cm rule for Mini Sumo Robot Competitions (Click here to see a video). Powered by 4 x AA Batteries it is controlled by an Arduino Uno and the Zumo Robot Shield working in tandem.

[album id=5 view=gallery]

The robot is fitted with:

  • Six reflectance sensors that can be used for edge detection and line following.
  • A buzzer for simple sounds and alerting to states and issues.
  • A 3-axis accelerometer, magnetometer, and gyro for detecting impacts and tracking orientation

but it can also be fitted with additional sensors such as ultra-sonics for obstacle avoidance.

Basics

The robot comes fitted with an LED on pin13 (as per the Arduino) and a button that can be used to start/stop the Arduino during battles and tests.  The following script shows how the button could be used to switch the LED on and off.

 

Resources

This project is based on ARDX 2 from Oomlout and uses multiple LEDs to create simple patterns.  It gets its name from Glen A. Larsen who wrote the Knight Rider TV Series.  It uses for loops, which are one of the key repetition constructs in computing.

 

 Start by gathering your parts together:

Step 1: Build your circuit

ArduinoCircuit3.jpg - 11/2015

Step 2: Write your code

ArduinoProject3.jpg - 11/2015

Upload your code and enjoy.

Step 3: Extensions

  1. Try and program the following patterns 1ON 2ON 1OFF 3ON 2OFF 4ON 3OFF and so on.
  2. Try and program the following pattern: 1+4ON 2+3ON so the LEDs light from the ends towards the middle.
  3. Try lighting the LEDs from the middle outwards