Building the Reference Kit
The kit you were given includes the following components:
- (1) Particle Photon
- (1) Laser-cut Woodden Chassis
- (1) L9110 Dual Motor Controller
- (2) 1:48 Gearmotor / Wheel
- (1) 5/8" 3D-Printed Ball Caster
- (1) 400 pt Breadboard
- (20) Solderless Breadboard Wires
- (1) 3' USB Cable (Micro)
- (4) AA Batteries
- (1) Battery Box
- (4) Zipties
- (2) Screws
- (1) LED
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.
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.
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 ball caster
Adhere the front wheel (ball caster) using the supplied wood screws.
Install the batteries
Connect the battery box and batteries with double-stick mounting tape or hot glue. Run the wires through an access hole.
Attach the wheels
Attach the wheels to the motors
Turn it over
We are done futzing with the underside of the bot. 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
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).
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.
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.
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.
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).
All done! Your bot should look something like this.
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.