The kit you were given includes the following components:

You are encouraged to build your bot however you want, but this is how you can build it without any modifications from the original design.

Complete Bot

Lay out your parts

You want to get a feel for where everything will go. Lay your major components out on the board and rough-in where you think you'd like them to go.

Rough-out the parts

Attach the motors

Turn your wooden chassis over and attach your motors using zipties. Trim the zipties and send the wires through some of the access holes.

Attach the motors

Attach the ball caster

Adhere the front wheel (ball caster) using the supplied wood screws.

Attach the ball caster

Install the batteries

Connect the battery box and batteries with double-stick mounting tape or hot glue. Run the wires through an access hole.

Install the batteries

Attach the wheels

Attach the wheels to the motors

Attache the wheels

Turn it over

We are done futzing with the underside of the bot. Turn it over.

Turn it over

Adhere the breadboard

Attach the breadboard to the chassis. It has a self-ashesive backing that you can use. Hook power and ground to the breadboard "rails". The blue (-) rail is for ground (black wire) and the red (+) rail is for power (red wire). The 4 AA batteries in the pack will give you between 4.8V and 6V of power

Adhere the breadboard

Power the Photon

Plug your Photon into the breadboard. For orientation purposes, align it with the USB plug out. Connect the ground rail on the breadboard (-) to the GND pin on the Photon. Connect the power rail on the breadboard (+) to the VIN pin on the Photon. You should notice your Photon boots up and connects to WiFi (strobing cyan).

Power the Photon

Orgainze the motor wires

THe holes in the chassis make it easier to orgainze the wires. You can wrap them around the holes in the board to eliminate slack.

Organize wires

Hook the motor wires to the motor controller

You'll need a small screwdriver for this. Hook the wires to the motor controller. Put the motor controller on the breadboard.

Hook up motor wires

Power the motor controller

Connect the ground rail on the breadboard (-) to the GND pin on the motor controller. Connect the power rail on the breadboard (+) to the VCC pin on the motor controller. You should see a red LED on the motor controller light up.

Power the controller

Control the motor controller

Each motor uses two control pins: one for direction, and one for speed. Connect Photon pins D0 and D1 to the left-most pins per motor. Connect D4 and D5 to the right-most pins per motor (see schematic).

control the controller

All done! Your bot should look something like this.

Wiring Complete Bot

Start programming your bot!

Now you have a working bot. Here is a good starting point. Make sure to change 'YOUR_DEVICE_NAME' to your device name.

bot.js

Resources: