Wednesday, May 28, 2014

Make it real !

The next step is to make Trevor real. We will use a 3D printer to turn the Solidworks model into a plastic prototype on which we will mount the Rooby kit.
We will then upload our program to the main board of Trevor and run test in order to adjust the program.
We will need a number of iterations in order to fine tune it.

Unfortunately, the 3D printer was broken and we have not been able to create our prototype.

Hopefully we will find a way to make it real ...


When Trevor met Rooby...

... a love story started...
We need to bring some intelligence in this fabulous rover ;-)
In order to achieve this, we will use an electronic kit from Rooby that is made of a main board, 2 motors, a battery case and 2 sensors.
The main board can be easily programmed using a software provided by Rooby: Rooby Pilot.
The program is created like a puzzle, putting together a series of actions and sensors.
The program can be tested virtually in Rooby Pilot. Once finalized, it can be sent to the main board via a USB cable.

Here's our program:



Its logic is "move backward and change direction"
  • Trevor moves forward (driving motor on)
  • IF one of the 2 sensors of Trevor hits a wall (or a corner) THEN
    • the driving motor is inverted, Trevor goes reverse for x seconds
    • the driving motor stops
    • the direction motor rotates the front wheel of x degrees clockwise
    • the direction motor stops
    • the driving motor goes reverse for x seconds
    • the direction motor rotates the front wheel of x degrees anti-clockwise (back straight)
    • the driving motor goes forward
  • Trevor changed direction and moves forward again till it hits a wall again and re-applies the same logic (move backwards and change direction)
  • ELSE Trevor continues to move forward

Remark :
  • We equipped Trevor with 2 sensors (right and left) in order to run different actions depending which sensor is activated. When the left sensor is hit first, the direction will run anti-clockwise in order to move Trevor away from the wall. The opposite action runs when the right sensors is hit first.

Building a 3D model

We designed the new version of Trevor using a 3D modeling software (CAD: Computer-Aided Design). We used "Solidworks" to achieve this task. Solidworks is a very intuitive and easy to use software. We 3D-drew all the parts of Trevor then we assembled them (virtually).
The result of this work is:


The main parts of Trevor are:

  • a chassis - this is Trevor's skeleton
  • 3 wheels - 1 front (motion and direction), 2 rear (stability)
  • 2 front sensors - switches - when one of the 2 sensors hits the wall, this launches a specific series of actions
  • 2 motors - the first one is use to get the front wheel in rotation, the second one rotates the front wheel (direction)
  • a main board - to program Trevor's conditional actions
  • a battery case - to provide electric energy to Trevor (motors and main board)
  • electric cables to connect them all ...