_       _       
  (_) ___ | |_ ____
  | |/ _ \| __|_  /
  | | (_) | |_ / / 
 _/ |\___/ \__/___|
|__/               

Quad Quest elevated robot track

Introduction

Quad Quest was an event that took place in the lobby of the Central Quad building in TU Dublin's Grangegorman campus on Saturday 3rd June 2023. Participants completed a series of challenges, each related to an academic discipline based in that building. Mayank Parmar, Finbarr O'Meara and I created the electrical engineering exhibit, which consisted of an elevated track and a set of autonomous robots that drive along it. Each robot uses an infrared reflective proximity sensor to detect the edge of the track. The sensor is mounted on a flexible arm that extends from the front of the robot. The challenge for visitors was to position the sensor so that the robot drives along the track without falling off.

Event photos

Pádraic and Ted

Pádraic, Ted and Mayank watch visitors experimenting with the robots

Mayank constructing the second track

Ted with the tracks

Laser cutting patterns

Screenshot of Quad Quest robot laser cutting pattern open in Inkscape

Screenshot of Quad Quest track laser cutting pattern open in Inkscape

Inkscape SVG files:

Laser cutting PDF files:

Basic example code

void setup()
{
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(7, OUTPUT);
  pinMode(8, OUTPUT);
}

void loop()
{
  //return 0;
  if (analogRead(0) > 512) motors(0,1);
  else motors(1,0);
}

void motors(int left, int right)
{
  digitalWrite(5, right > 0);
  digitalWrite(6, right < 0);
  digitalWrite(7, left > 0);
  digitalWrite(8, left < 0);
}