Assembly Guide for SparkFun JetBot AI Kit V2.0

Pages
Contributors: Evan_Double_U
Favorited Favorite 1

Introduction

SparkFun’s multiple Jetbot offerings merge the industry leading machine learning capabilities of the NVIDIA Jetson Nano with the vast SparkFun ecosystem of sensors and accessories. Packaged as a ready-to-assemble robotics platform, the SparkFun JetBot AI Kit v2.0 requires no additional components or 3D printing to get started - just assemble the robot, boot up the Jetson Nano, connect to WiFi and start using the JetBot immediately. This combination of advanced technologies in a ready-to-assemble package makes the SparkFun JetBot Kit a standout, delivering one of the strongest robotics platforms on the market. This guide serves as hardware assembly instructions for the JetBot AI Kit v2.0. The SparkFun JetBot comes with a pre-flashed micro SD card image that includes the Nvidia JetBot base image with additional installations of the SparkFun Qwiic Python library, Edimax WiFi driver, AWS RoboMaker ready with AWS IoT Greengrass, and of course the JetBot ROS. Users only need to plug in the SD card and set up the WiFi connection to get started.

SparkFun has released several version of the Jetbot. Please make note of the comments under some photos to ensure it related to the Jetbot kit you have purchased. Completed Jetbot photos are shown below for comparison.

Completed JetBot Kit

JetBot V2.0 - Single camera mount & Jetson Dev Kit GPIO header oriented off the side of the Jetbot

Completed JetBot 4GB Kit

4GB JetBot V2.1 - Stereo camera mount with oriented camera ribbon connector & Jetson 4GB Dev Kit GPIO header oriented off the back of the Jetbot

Completed JetBot 2GB Kit

2GB JetBot V2.1 - Stereo camera mount with oriented camera ribbon connector & Jetson 2GB Dev Kit GPIO header oriented off the back of the Jetbot

Note: We recommend that you read all of the directions first, before building your JetBot. However, we empathize if you are just here for the pictures & a general feel for the SparkFun JetBot. We are also those people who on occasion void warranties & recycle unopened instructions manuals but please note, SparkFun can only provide support for the instructions laid out in the following pages.

Attention: The SD card in this kit comes pre-flashed to work with our hardware and has the all the modules installed (including the sample machine learning models needed for the collision avoidance and object following examples). The only software procedures needed to get your JetBot running are steps 2-4 from the Nvidia instructions (i.e. setup the WiFi connection and then connect to the JetBot using a browser). Please DO NOT format or flash a new image on the SD card; otherwise, you will need to flash our image back onto the card.

If you accidentally make this mistake, don't worry. You can find instructions for re-flashing our image back onto the SD card in the Software Setup section of this guide

The Jetson Nano Developer Kit offers extensibility through an industry standard GPIO header and associated programming capabilities like the Jetson GPIO Python library. Building off this capability, the SparkFun kit includes the SparkFun Qwiic pHAT for Raspberry Pi, enabling immediate access to the extensive SparkFun Qwiic ecosystem from within the Jetson Nano environment, which makes it easy to integrate more than 30 sensors (no soldering and daisy-chainable).


The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.

Qwiic Connect System

Materials

SparkFun Jetbot included parts

Part Qty
JetBot Chassis Kit 1
Hobby Gearmotor (pair) included as part of JetBot Chassis Kit 1
Camera mount included as part of JetBot Chassis Kit 1
Wheels & Tires - included as part of JetBot Chassis Kit 2
Lithium Ion Battery Pack - 10Ah (3A/1A USB Ports) 1
Edimax 2-in-1 WiFi and Bluetooth 4.0 Adapter *not included in 2GB Jetbot* 1
Jetson Dev Kit *Specific Jetson Dev Kit only included in specified Kits* 1
SparkFun JetBot image (Pre Flashed) 1
Leopard Imaging 136 FOV Camera 1
SparkFun Micro OLED Breakout (Qwiic) 1
SparkFun Qwiic Motor Driver 1
SparkFun Qwiic pHAT v2.0 for Raspberry Pi 1
Qwiic Cable - 100mm 1
Qwiic Cable - 200mm 1
Jumper Wires Premium 6" M/M (2-pack black & red) 1
USB Micro-B Cable - 6" *Jetbot 2GB includes USB-C cable for power* 1
Dual Lock Velcro 1

Included hardware with JetBot v2.1 Kit

Part Qty
Standoff - Nylon (4-40; 3/8in.) 10
1/4" Phillips Screw with 4-40 Thread 20
Machine Screw Nut - 4-40 10
M2 Nylon hex nut 4
M2 Nylon screw slotted drive 4
JetBot Chassis Hardware *included as part of JetBot Chassis Kit 1

Recommended Tools

We did not include any tools in this kit because if you are like us you are looking for an excuse to use the tools you have more than needing new tools to work on your projects. That said, the following tools will be required to assemble your SparkFun JetBot.

  • Small phillips & small flat head head screwdriver will be needed for chassis assembly & to tighten the screw terminal connections for each motor. We reccomend the Pocket Screwdriver Set; TOL-12268.
  • Pair of scissors will be needed to cut the adhesive Dual Lock Velcro strap to desired size; recommended, but not essential..
  • Optional- adjustable wrench or pliers to hold small components (nuts & standoffs) in place while tightening screws; your finger grip is usually enough to hold these in place while tightening screws & helps to ensure nothing is over tightened.

A Note About Directions

When we talk about the "Front," or "Forward" of the JetBot, we are referring to direction the camera is pointed when the JetBot is fully assembled. "Left" and "Right" will be from the perspective of the SparkFun JetBot (i.e. what the JetBot camera sees).

Jetbot Orientation

Orientation reference remain consistent between all kit offerings mentioned above

Jetbot V2 Orientation
Orientation reference remain consistent between all kit offerings mentioned above

1. Robotics Chassis Kit Initial Assembly

For all SparkFun Jetbot kits, begin with one of the two bare base plates included with the JetBot Chassis Kit. It does not matter which one, they are identical.

Jetbot Base Plate

Push two of the included motor mounts through the designated holes in the base plate as shown below. Two more motor mounts will be attached on the outside of the base plate after the motor is installed.

Motor Mount attached to base plate

Your JetBot Chassis Kit includes a pair of hobby motors & wheel assemblies.

Motor & Wheel

Attach the pair of motors using the long threaded machine screws & nuts included with the JetBot Chassis Kit. The motor will be sandwiched between an internal & external motor mount. Tighten the screws until they are snug.

First motor secured to chassis

We prefer the shown orientation below that leaves the extra length of the machine screws & nuts on the inside edge of the JetBot.

Demonstrating hardware orientation

Repeat this process on the other side of the chassis so both motors are symmetric on the base plate.

Both motors attached to base plate

Note: Install the motors so the "DAGU robot" sticker is facing out. This will ensure that your JetBot drives forward when following the pictured hookup of the Qwiic Motor driver later in the tutorial.

Once both motors are attached, flip the base plate over as pictured & attach the four longer brass standoffs at each corner of the base plate using the threaded screws included with the JetBot Chassis Kit. These four standoffs are packaged together. Thread one of the machine screws from the JetBot Chassis kit through the base plate & tighten into the brass standoff.

Brass standoff loosely connected with screw

Repeat for each corner.

First brass standoff secured to corner of chassis

After all standoffs are installed, thread the motor terminal leads through the baseplate as shown. Refer to the photograph of the caster ball assembly to make sure you are using the correctly sized brass standoffs.

Base plate with motors & standoffs attached

Having trouble seeing detail in the image? Click on it for a larger view.

Next, gather the parts needed to assemble the caster ball assembly.

Packaged caster ball assembly hardware

Notice that the brass standoffs used for the caster assembly are slightly shorter than those used for the chassis. The first time you build the SparkFun JetBot, each of these sets of standoffs are packaged together, but it is easy to confuse these once everything has been opened.

Unpackaged caster ball assembly

Flip the chassis over and install the shorter brass standoffs as shown in the photo below.

Note: The motor leads are not threaded here only for photo clarity. Keep yours threaded as instructed previously

Caster ball brass standoffs installed on chassis

Use the two remaining screws to attach the caster ball casing to the brass standoffs.

Caster ball casing secured to brass standoffs

Press the wheels onto the hobby motor axles for a snug friction fit & flip it again Charley! Behold, a very stable three point stance foundation for you to build from.

Wheels and caster ball assembled and attached to chassis

2. Camera Assembly & Installation

Next, locate the camera mount assembly in the JetBot Chassis Kit. The unassembled view of the parts is laid out in the proper orientation for assembly. The latest revision of the Jetbot Kit includes a camera mount that provides the ability to use stereo vision available on the Jetson Nano Dev Kit V3.

Note: This orientation is necessary to ensure the camera mount fits on the top plate of the chassis.

Unassembled camera mount hardware

Unassembled stereo camera mount hardware

Stereo Camera mount offers 2x camera mount options - left & right

Unpackage the Leopard Imaging camera and assemble the camera mount as shown in the following photograph.

Fully assembled camera mount

Fully assembled stereo camera mount

Having trouble seeing the image? Click on it for a larger view.

Please reference the note about the "Front" of the JetBot in the end of the Introduction to ensure that you mount the camera on the correct side of the camera mount. Align the four holes in the camera mounting plate with those on the camera. Place all four nylon flathead screws through the camera & camera mounting plate prior to fully tightening the nylon nuts. This will ensure equal alignment across all four screws. While holding the nuts in place with a finger, tighten the screws in a rotating criss cross pattern; similar to how you tighten lug nuts on a car rim.

Note: Make sure to orient the camera so the ribbon cable is extending over the "top" of the camera mount as shown below.

camera attached to mount

stereo camera attached to mount

Attach the camera mount & camera to the JetBot Chassis Kit top plate (the unused base plate) using the slightly longer sets of screws and nuts included in the chassis kit (pictured below). Align the plastic tabs on the camera mount to the rectangular cutouts on the front of the chassis top plate. This will result in a sung press fit.

Camera mount fit into the rectangular cutouts on chassis base plate

Stereo Camera mount fit into the rectangular cutouts on chassis base plate

Use the screws to align the holes in the camera assembly with the corresponding holes in the chassis top plate.

Screws inserted into camera mount assembly

Use your small Phillips head screwdriver to thread the screws through the mounting plates. The chassis kit I got was pretty sung and required me to screw them through.

Camera mount screws screwed into chassis

alt text
The Stereo Camera mounts exactly the same to the base plate with a slightly wider footprint

Flip the chassis over & thread two nuts onto the exposed threads of the camera mount hardware.

Nut threaded to camera mount screw

The final assembly will look something like what is pictured below. We have found that this assembly is attached sufficiently by using 2 of 4 screws, but do whatever feels right.

camera mount attached to top plate

alt text
The Stereo Camera mounts exactly the same to the base plate with a slightly wider footprint

3. Accessory Installation to Main Chassis

Note: This section has been updated to have the battery installed on the top plate of the JetBot vs. the bottom. Some customers experienced issues with the Velcro being too thin to install the battery as shown orginally.

Install the included nylon standoffs using the included 4-40 screws (10 packs) on the top mounting plate (the one we just finished attaching our camera and mount to). Pictured below are the standoffs for the Jetson Nano Dev Kit, the SparkFun Qwiic Motor Driver, and SparkFun Qwiic OLED. Be sure to keep the standoffs on the right side somewhat loose. The mounting holes in the top plate are oblong to compensate for manufacturing tolerances & ensure a secure fit to the Jetson Nano Dev Kit.

Showing the standoff loosely connected to top mounting plate

Showing the standoff loosely connected to top mounting plate

Six plastic standoffs attached loosely to mounting plate

Stereo camera with standoffs attached
The mounting orientation for the Jetson was rotated 90 degrees for a better camera cable interface

The following instructions for battery installation will be the same for all Jetbot versions.

Cut the strip of dual lock Velcro into two roughly equal sized strips.

Battery pack and uncut Velcro

We figured you could handle this, but we already had the camera all set up & scissors in hand... Take one side of the dual lock Velcro and attach to the top of the chassis as shown.

Battery pack and Velcro cut in half

Place the corresponding pieces of dual lock Velcro on the chassis assembly top plate as pictured. Please ensure that all standoffs for the Jetson Nano & Qwiic boards are already installed on the chassis top plate; see photo. Additionally, ensure that the camera mount has been attached to the top plate as well. This will ensure that the battery does not physically hit any mounting screws.

One piece of Velcro attached to top mounting plate

Remove the protective film from the Dual Lock and try not to touch the sticky part.

Removing protective film from Velcro

Line up the battery pack as shown to ensure correct orientation of the USB ports & no interference between the battery pack and mounting hardware.

Proper alignment for battery pack shown

This photo shows how to place the battery pack to not touch the camera mount hardware while not extending too far out the back of the SparkFun JetBot.

Demonstrating how to place the battery pack without touching the camera mount

Press firmly on the battery pack to attach the dual lock Velcro interface between the chassis and battery.

Route one set of motor leads at a time through the chassis top plate as shown.

Showing where to route motor leads through the top plate

Attach the top plate to the base plate brass standoffs using the four remaining screws from the JetBot chassis kit.

Securing top plate to bottom plate

Top view showing four screws securing top and bottom plates

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount

Note: We have seen more than one way to attach the battery pack and multiple ways of routing the motor wires. As previously stated, we understand that these instructions are used by many customers as a reference. However, this is the configuration that SparkFun Technical Support will use as a baseline on any forums discussion. Thanks!

Once the chassis is fully assembled, attach the SparkFun Qwiic Motor Driver as shown using the mounting hole on the board to the right of the 4x motor screw terminal. Attach the motor leads as pictured; see below for more details.

Qwiic Motor Driver attached to standoff
Having trouble seeing the connections to the Qwiic Motor Driver? Click on the image for a larger view.

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount

Connect the motor leads according to the table below; remember the "Right" & "Left" designations from the Introduction. They should match the image above. The right motor is on the right side of this photo.

A1A2B1B2
Left Motor Ground (-)Left Motor Power (+)Right Motor Ground (-)Right Motor Power (+)

Image of the bottom of the Qwiic Motor Driver

Shown below: Left motor hookup to Qwiic Motor Driver screw terminals.

Left Motor Connected

Shown below: Right motor hookup to Qwiic Motor Driver screw terminals.

Right Motor Connected

Install the Edimax USB WiFi & Bluetooth Adapter into one of the USB ports on the Jetson Dev Kit.

Edimax WiFi Adapter plugged in to USB Port

For the Jetson Nano 2GB a WiFi adaptor is included. Install the adaptor into one of the USB ports.

alt text

Remove the MicroSD card with the SparkFun JetBot Image (pre-flashed) from the included case & adapter and place it into the MicroSD card slot on the Jetson Nano module. It is easier to do this prior to installing the Jetson Nano Dev Kit onto the chassis and with the Dev Kit upside down as pictured, but you do you.

MicroSD card shown halfway inserted to Jetson Nano

MicroSD card inserted into Jetson Nano

Attach the Jetson Nano Dev Kit using four 4-40 screws to the previously installed Nylon standoffs. Remember we left the right side standoffs loose so align them with the mounting holes on the Jetson Nano Dev Kit & tighten until sung.

Securing the Jetson Nano to the chassis
Having trouble seeing the image? Click on it for a larger view.

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount

Jetson Nano attached to JetBot chassis. Camera cable is not connected

Attach the Leopard imaging camera ribbon cable as shown to the Jetson Dev Kit. This half helix ensures the contacts on the ribbon cable attach to the contact on the Jetson Dev Kit camera connector.

Note: With repeated cycle of connecting & disconnecting this camera the plastic connectors on the Jetson Dev Kit become increasingly fragile & are not easily replaced. Please take care when installing or removing the camera.

Camera connected to Jetson Nano
The helix was more complicated, but operates exactly the same once connected

alt text
For the latest revision, arch the camera ribbon cable and secure to the Jetson Nano Dev kit (2GB version pictured)

Attach the 100mm Qwiic cable to the underside of the SparkFun Qwiic Micro OLED as shown below.

Qwiic Micro OLED with Qwiic cable connected

Attach the SparkFun Qwiic Micro OLED to the JetBot Chassis using another Nylon Standoff & 4-40 screw. Attach the 100mm Qwiic cable to the SparkFun Qwiic Motor Driver. Secure the Qwiic Micro OLED by tightening the screw until sung.

Qwiic Micro OLED mounted and connected to Qwiic Motor Driver
Having trouble seeing everything in the image? Click on it for a larger view.

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount

Connect the qwiic pHAT on the Jetson Nano Dev Kit's 2x20 GPIO header taking care to align it as the photo below shows. Additionally, connect the SparkFun Qwiic Micro OLED display to the Qwiic pHAT using the 200mm Qwiic cable.

Qwiic pHAT connected to Jetson Nano GPIO and Qwiic OLED connected to Qwiic pHAT
Having trouble seeing everything in the image? Click on it for a larger view.

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount

Finally attach the Qwiic Motor Driver's motor power screw terminals to the 2 pin screw terminal for 5V and Ground on the Qwiic pHAT using the included 6 inch M/M jumper wires. We recommend using one black wire (ground) & one red wire (power), but you can use any included color your head desires.

Qwiic Motor Driver power terminals connected to Qwiic pHAT

Having trouble seeing everything in the image? Click on it for a larger view.

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount. Wires are routed for visibility in this guide. Please feel free to clean their path however you would like

Check the battery power on the USB pack by pressing the power button on the side of the battery. Four dots means it is fully charged. The Jetson is fairly power hungry. We recommend only powering up your SparkFun JetBot with a fully charged battery pack.

Battery power LEDs shown

Use the included 6 inch USB Micro-B Cable to connect the Jetson Nano Dev Kit to the battery pack.

-> Battery pack USB port and included Micro-B cable shown
Having trouble seeing everything in the image? Click on it for a larger view.

Note: Make sure the USB cable is plugged into the orange USB port (shown closest to the USB cable in the above photo) on the battery pack. This will provide the required 3.1A @ 5V required by the Jetson Nano Dev Kit.

In the new revision of the battery pack, both USB ports on the battery pack are orange. We recommend using the USB port that is on the opposite side of the power button. Otherwise, we have found that the other USB port can cause the Jetson Nano Dev kit to brown out during its boot sequence.

battery pack USB ports
USB ports on the battery pack. (Click to enlarge)

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount.

alt text
The 2GB Jetson Nano Dev kit is powered over USB-C. However, if you want to debug or program your Jetson Nano directly you must use the USB-MicroB port. Alternatively you can program wirelessly via Jupyter notebook once you have WiFi setup in the software section.

If the Jetson Nano does not power on once your USB cable is connected, press the power button the battery pack to turn the JetBot on. Allow the JetBot a few minutes to power up. When the JetBot is ready, the Micro OLED will display the SparkFun flame logo followed by the available disk image space & IP address once connected to a WiFi network; see example photos below.

JetBot powered on and micro OLED displaying "No internet"

JetBot powered on and micro OLED displaying disc space

JetBot powered on and micro OLED displaying memory and disc space

Congratulations! Your SparkFun JetBot is now fully assembled!

Fully assembled JetBot Kit

alt text
A very similar setup for the Jetbot V2.1 with Stereo camera mount & rotated Jetson mount.

alt text
Stereo vision option. Second Leopard Camera & mounting hardware sold separately

4. Software Setup Guide from NVIDIA

Please utilize Nvidia's latest instructions, which are available at jetbot.org!

Attention: Please DO NOT follow the initial steps, which format and flash a new image on the SD card. Otherwise, users will need to:
Note: The SD card in our latest kit comes pre-flashed with JetPack v4.5, the JetBot v0.4.3 code. The only software procedures users need to get their Jetbot running are steps 3-5 from Nvidia's instructions:
  1. Boot up the Jetson Nano
  2. Setup the WiFi connection
  3. Connect to the Jetbot using a browser

The Instructions Below are Deprecated!!!

Attention: These instructions specifically pertained to Nvidia's original instructions, hosted in their Wiki. However, these instructions no longer work with the latest JetPack operating system or the latest JetBot code. Their latest releases implement a docker container for the code.

Attention: The SD card in this kit comes pre-flashed to work with our hardware and has the all the modules installed (including the sample machine learning models needed for the collision avoidance and object following examples). The only software procedures needed to get your JetBot running are steps 2-4 from the Nvidia instructions (i.e. setup the WiFi connection and then connect to the JetBot using a browser). Please DO NOT format or flash a new image on the SD card; otherwise, you will need to flash our image back onto the card (instructions below).

Your SparkFun JetBot comes with a Pre-Flashed micro SD card. Users only need to plug in the SD card and set up the WiFi connection to get started.

  • The default password on everything (i.e. login/user, jupyter notebook, and superuser) is "jetbot".
  • We recommend that users change their passwords after initial setup. These are typically covered on the first boot of your Jetson Nano as detailed in the NVIDIA Getting Started with Jetson Nano walkthrough

Software Setup

The only step needed to get your JetBot kit up and running is to log into the JetBot and setup your WiFi connection. Once that is done, you are now ready to connect to the JetBot wirelessly. If you need instructions for doing so, you can use the link below.

However, please take note of our instructions below. You will want to skip steps 1 and 5 to avoid erasing the image on the card or undoing the hardware configuration.

Instructions

  1. Skip step 1 of Nvidia's instructions: It references how to flash your SD card, so feel free to skip to Step 2 - Boot Jetson Nano.
Note: Following Step 1 will erase the pre-flashed image and make a lot of extra work for yourself.
  1. Skip step 5 of Nvidia's instructions: This step should already be setup on the pre-flashed SD card.
    • If in the future, you need to update your notebooks, you can follow Step 5 - Install latest software (optional) to download the repository (don't download it into the home directory and skip the last command line instruction of the forth step).

Get and install the latest JetBot repository from GitHub by entering the following commands

git clone https://github.com/NVIDIA-AI-IOT/jetbot
cd jetbot
sudo python3 setup.py install
Note: Running sudo python3 setup.py install in the command line will overwrite the software modifications for SparkFun's hardware in the kit.

Troubleshooting

In the event that you accidentally missed the instructions above, here are instructions to get back on track.

Re-Flashing the SD card

If you need to re-flash your SD card, follow the instructions from Step 1 Nvidia's guide. Alternatively, to download and use our image instead (click link below). Please note the model of your microSD card with regard to which version you need to download.

Note: Balena Etcher software (NVIDIA's recommendation) internally takes care of un-zipping disk image files. If you are using another program Don't forget to uncompress (i.e. unzip, extract, or expand) the file from the .zip file/folder first if needed. You should be pointing the "flashing" software to a ~62GB .img file to flash the image (sparkfun_jetbot_v01-xx.img) onto the SD card. Not every unzip utility can handle this large of a file! The Windows 10 'Extract All' command has been found to work as well as 7Zip and Winzip.

Image Compatibility

  • Not compatible with the 2GB Nano Kit
  • v01-11 Image: Won’t fit on older non-CANVAS SD cards
  • v01-00 Image: Not compatible with the newer Jetson Nano boards
    • v2.1 Kit (Nano's with two camera connectors)

Alternatively, there are other options for flashing images onto an SD card. If you have a preferred method, feel free to use the option you are most comfortable with.

Re-Applying the Software Modifications

If you have accidentally overwritten the software modifications for the hardware included in your kit, you will need to repeat Step 5 from Nvidia's guide from the desktop interface (if you are comfortable performing the following steps from the command line, feel free to do so).

Skip steps 1 and 2: Plug in a keyboard, mouse, and monitor. Then log in to the desktop interface (if you haven't changed your password, the default password is: jetbot).

Follow step 3: Launch the terminal. There is an icon on sidebar on the left hand side. Otherwise, you can use the keyboard short cut (Ctrl + Alt + T).

Follow step 4: However, before you execute sudo python3 setup.py install you will want to copy in our file modifications to the jetbot directory you are in.

  1. Begin by downloading our files (click link below).
  1. Next, extract the file.

  2. Next, replace the files in the jetbot folder. The file paths must be the same, so make sure to overwrite files exactly.

Click on the icon that looks like a filing cabinet on the left hand side of the GUI. This is your Home directory. From here, you will need to proceed into the jetbot folder. There you will find a jetbot folder with similar files to the ones you just extracted. Delete the folder and copy in our files (you can also just overwrite the files as well).

  1. Now, you can execute sudo python3 setup.py install in the terminal.

Follow step 5: Finish up by following step 5. Now you are back on track to getting your JetBot running again!

Note: If you need to install the Python packages for the Qwiic devices (i.e. the OLED and SCMD motor driver), use the following command in the terminal: sudo pip3 install sparkfun-qwiic.

5. Examples

The "object following" Jupyter Notebook example won't work due to the required dependencies that had not been released by NVIDIA prior to the creation of the SparkFun JetBot image. These updates can be manually installed on your Jetson Nano with the JetPack 4.2.1 release.

Update: The engine generated for the example utilized a previous version of TensorRT and is therefore, not compatible with the latest release. For more details on this issue, check out the following GitHub issue.

Update: One of our customers was able to find an older image that is compatible with the pre-built engine. For more details, check out the following forum post.

Resources and Going Further

Now that you've successfully got your JetBot AI up and running, it's time to incorporate it into your own project!

For more information, check out the resources below:

Need some inspiration for your next project? Check out some of these related tutorials:

SparkFun Line Follower Array Hookup Guide

Learn how to connect the RedBot Line-Following Sensor Bar to an Arduino-type microcontroller. Use the example sketches to read data from the bar, and try out a simple line-following algorithm.

Building a Safe Cracking Robot

How to crack an unknown safe in under an hour.

Advanced Autonomous Kit for Sphero RVR Assembly Guide

Get your Advanced Autonomous Kit for the Sphero RVR built up with this hookup guide!

SparkFun Auto pHAT Hookup Guide

The pHAT to get your projects moving. This guide will help you get started using the Auto pHAT.