Week 7 in ScratchPiBot Club

Previous Week

Both Bots have now got a pair of IR Line Sensors mounted on them 🙂

We purchased a roll of plain wallpaper lining paper and  made a couple of 3 metre runs with a black line down the middle using some insulation tape.

We tried using the same technique as the bot simulator from last week and managed to get the boys robot to steer its way down the track but it was more luck than programming.

The girls tried their robot out using the same piece of Scratch code but their robot had a different make of sensor and had a bit of trouble detecting the difference between the white paper and the black tape and weren’t so successful.

Next week, we will hopefully combine the ultrasonic sensor with the line follower and get the robot to turn around at the end of the track and come back again.

Parts List for a ScratchPiBot Mk1

All links are for information and not an endorsement of that supplier 🙂


Nano Wifi http://www.ebay.co.uk/itm/390420390335

Magician Chassis https://www.sparkfun.com/products/10825

HRC-04 Ultrasonic Range Finder http://compare.ebay.co.uk/like/120894421581?var=lv&ltyp=AllFixedPriceItemTypes&var=sbar&adtype=pla&crdt=0

Pebble SmartStick (Power for RaspberryPi) http://www.amazon.co.uk/Veho-Smartstick-Emergency-Portable-Blackberry/dp/B0063W8XKS/ref=sr_1_1?ie=UTF8&qid=1353264577&sr=8-1

ULN2003a http://www.cpc.co.uk

1x Breadboard http://www.ebay.co.uk/itm/New-240-Point-Solderless-PCB-Breadboard-Bread-Board-8-5mm-SYB-46-/180766987863

Male-Male and Female-Male Wires http://www.phenoptix.com/collections/breadboards-and-prototyping/breadboard

IR Sensors (not yet tested)  http://www.ebay.co.uk/itm/2x-Robot-Infrared-Sensors-Black-White-Detector-IR-Line-Follower-Arduino-PIC-Pair-/120990563177

4xAA Batteries (for Motors)

BluTak to hold things onto chassis

2.1 (or 2.5 – i forget which one it comes with) mm power socket to connect up motor battery pack to breadboard http://www.maplin.co.uk/dc-power-line-sockets-43091