Signup for Apr 2018 Workshops NOW !!!
Our 1 day technology workshops will take place @ Killarney Heights Public School from 16-26 Apr 2018

Schools IoT/Robotics Challenge - Support Page

This is where you'll find an ever increasing number of help documents, videos and articles to help get your team across the line. If you want help with anything in particular, then please contact your mentor who can then arrange for more content to be placed here if necessary. Please keep an eye on our facebook page as well which will from time to time contain relevant updates. Don't worry though we'll make sure your team receives all the necessary comms at the right time.

Competition Rules/Constraints

The Rule List. Please read as soon as possible!

WPA_SUPPLICANT.CONF FILE

The config file we need on the day can be downloaded here

Kit Choices

Download information on IoT/Robotics Kit Choices here

Devastator Tank Platform - Starter Videos

Tank Assembly Tips

Download a PowerPoint presentation on Tank Construction Tips

Download 3D Printer model for the tank washer as described in the Tank Construction Tips document. STL file


Autonomous Control Guidelines

I am attaching all the info you need for navigation with autonomous control (click to download), including:

  1. SketchUp model so you can walkthrough the building (You can download SketchUp Make 2017 for free at this link)

  2. Images with measurements

  3. The route of the walkthrough through the building

Whilst we don't think we should go the whole hog and send you the code as well, we will tell you that:

  1. You will be following a wall to the right of the robot

  2. The building has 2 floors and a ramp to get up to the first floor from ground

  3. There will be plenty of room to manoeuvre

  4. Ideally you will need 2 or more ultrasonic sensors mounted (I originally sent you 3)

Note, in order to finish the course, the autonomous part must be completed as this will be the last part of the course, once people have been rescued a là IR transmissions picked up.

Arduino Tutorials and Code

Arduino to Rpi Comms

Checkout how to connect to the Raspberry Pi vi different communications methods. Download it here!


Romeo BLE Tutorials

Motor control and remote control using the Serial Monitor (wired) and via Bluetooth using a mobile.

The code for the Serial Monitor version can be downloaded from here

The code for the bluetooth version can be downloaded from here

iOS Bluetooth app can be found here in the Appstore


Raspberry Pi Tutorials and Code

Introduction to the Raspberry Pi

If you are new to the Raspberry Pi, here is a general introduction to it's architecture and how to set it up. Download it here


Raspberry Pi Pinouts

Checkout this quick guide to the pin numbers on the Raspberry Pi


Setting up a Raspberry Pi from Scratch

There are many starter guides for the RPi out there on the internet. This is one of them

Setting up Raspbian Lite (headless mode), ssh, hostname and NodeJS Get it here!


How to setup a VNC Server and use a virtual desktop from Raspberry Pi

This is a great way of getting remote control going as you can run the Raspberry Pi desktop from your laptop easily. We have a downloadable tutorial here.


Raspberry Pi PWM Speed Control

A discussion on controlling the speed of the motors with PWM

A great article on how to use PWM with the L298N


How to Add a Power Button to your Raspberry Pi

Add a momentary switch to your RPi to wake it from sleep.


Controlling the Devastator with a remote keyboard

Remote control keyboard with Node JS Sockets

Remote control keyboard with Python Sockets

Remote control keyboard with pure ssh and Python


Use SSH Without a Password

You can save yourself heaps of time by not having to type in a password every time you login to the Raspberry Pi. Follow these instructions on how to do this


Raspberry Pi Tips and Maintenance

A discussion on how to check your GPIO pins are working


Running code at bootup time

How to run some code automatically, once the Raspberry Pi has been booted up Download it here


Microsoft Azure Tutorials

Please find below the streamcast videos that outline step-by-step on how to get a stream analytics visualisation working in PowerBI and Azure.

The videos are split into three main sections, with video sub-headings for specific activities, which are:

  1. Setting up a PowerBI Account, (note, your Power BI account is separate to your Microsoft Azure account described below)

  2. Logging into Microsoft Azure, and setting up a stream analytics query

  3. Running the analytics query and visualising the data in PowerBI

In order to get Power BI working, you first need to login to the Microsoft Azure cloud. I will send you all your login information for Microsoft Azure separate to this email, however you can start looking through the videos right now.

The ultimate aim here is to get your sensor data into the cloud and visualised on a dashboard. This will be mirrored onto a big screen on the day.

3D Printing

Raspberry Pi 3 Mounting Board

Here is a 3D printable Raspberry Pi 3 mount with holes to match the top of the tank (at the back). Download the STL here

HC-SR04 Ultrasonic Sensor Mount

David modified a HC-SR04 Ultrasonic Sensor mount so that the holes line up with the ones on the top front of the tank. Your teams may want to 3D print this - or even better create your own. The M3 holes are 10mm apart. Download the STL file here

Sensors

Connecting Sensors Tutorial

Checkout this tutorial by David on sensors. It covers general information on Arduino pins plus specifics on the following Sensors

  • LM35 Temperature sensore from DFRobot
  • HC-SR04 Ultrasonic Sensor
  • The Duinotech IR Sensor using the Commercial Infrared Protocol

Download the tutorial here

Customising your Robot

You may utilise any creative way to customise your robot eg. 3D-Printing, stickers or any other creative outlet. Please take the opportunity to 'make it your own'

Working with your Mentor

Your mentor is there to help you. Please utilise all your sessions and reach out via email if you have any issues. We will do everything we can to help you.

Bluetooth Modules

HC-05 Bluetooth Module Setup

This article helps you to understand the HC-05, set it up using AT command mode and the pair it with other devices. Download it here

Sending data from Arduino to RPi via the HC-05

This article walks you through the process of getting an Arduino talking to a Raspberry Pi via the HC-05 Bluetooth card. There are examples for Mac, Windows and Raspberry Pi. The tutorial contains links to the code on Github. Download it here

Motor Drivers

L298N Motor Driver Tutorial at howtomechatronics.com

L298N Motor Driver Basics L298N Dual Motor Controller module and Arduino tutorial at tronixlabs.com.au