STEP 10

We will now be programming the Zircon. Your Zircon should look like this Disconnect the compass sensor. We will connect it back later when we need it. (Having it connected will make the robot go through a calibration step at the start, while not connecting it will bypass it) Watch the video to get started on the first step: downloading a code editor. Materials used No. Part Name Image 1....

September 15, 2020 · 1 min · 93 words · Mark Ogata

STEP 11

Lets move a motor! #include <Arduino.h>#include <zirconLib.h> void setup(void) { InitializeZircon(); } void loop(void) { motor1(100, 0); } IF YOUR CODE DOES NOT WORK seeing if ; is at the end of every command like above seeing if the spacing is exactly as above (no space between motor1 and (100, 0) ) look at the previous video to see if your platformio.ini file is set up correctly (we added lib_deps) feel free to ask if you are stuck in our discord server!...

September 15, 2020 · 1 min · 82 words · Mark Ogata

STEP 12

Lets go forward! Make sure to put a roll of tape under the Zircon so the wheels are floating (we dont want the robot to run off the table when a motor moves) Make sure you replicate what we did in the video! (Going forward)

September 15, 2020 · 1 min · 45 words · Mark Ogata

STEP 13

Lets go forward for 1 second every second. Make sure to put a roll of tape under the Zircon so the wheels are floating (we dont want the robot to run off the table when a motor moves) Make sure you replicate what we did in the video!

September 15, 2020 · 1 min · 48 words · Mark Ogata

STEP 14

We will now use the white line sensors. To do that we need to read the sensor, and then print it to the computer. In the first video we will learn how to print things to the computer. Now we read line sensor values from the Zircon and print it to the computer.

September 15, 2020 · 1 min · 53 words · Mark Ogata