Skip to content

Quick Start

This Quick Start Guide covers how to get the SparkFun Red Vision Kit for RedBoard assembled and running on a RedBoard IoT - RP2350 and then use the Logo Recognition example to have the display identify and outline the SparkFun flame logo when the camera has it in view. This guide assumes users have a, an understanding of how the kit functions as well as how to update MicroPython firmware and use a MicroPython IDE (we'll be using Thonny for this guide). If you're not familiar with those concepts or want to learn more about the boards included in the Red Vision Kit for RedBoard, uploading firmware and using the Red Vision MicroPython examples, read on to the Hardware and Software sections for more detailed information.

Red Vision Firmware

  • Plug the RedBoard IoT - RP2350 into your computer over USB-C.
  • Download the latest release of the Red Vision MicroPtyhon Firmware from GitHub
    • On the MicroPython releases page, click the "Show all ## assets" button at the bottom of the list and then download the UF2 file named RED_VISION_MICROPYTHON_IOTREDBOARD_RP2350-RED_VISION
  • Put the RedBoard into BOOT mode with the following steps:
    • Press and hold the BOOT button
    • Press and release the RESET button (while holding the BOOT button)
    • Release the BOOT button.
    • Ensure the RedBoard IoT appears as a removable storage device named "RP2350".
  • Locate the "RED_VISION_MICROPYTHON_IOTREDBOARD_RP2350-RED_VISION" Firmware UF2 file and drag or copy/paste the file into the "RP2350" removable drive (This can take a while to complete.)

Red Vision Kit Assembly

Assemble the Red Vision Kit onto the RedBoard IoT with the following steps:

  • Align the Touch Display's headers to the matching headers on the RedBoard IoT and plug it in:

Photo showing completed Red Vision Kit plugged into a RedBoard IoT - RP2350

  • Connect the Red Vision Camera Board to the Red Vision Touch Display taking care to align the Camera Board's 2x9 header to the LEFT side of the Touch Display's 2x10 connector. Refer to the photo below for proper alignment:

Photo showing Camera Board connected to the Touch Display board

Example Code

Now that we've got the proper firmware installed and the Red Vision Kit connected to the RedBoard, let's take a look at the SparkFun Logo Recognition example included with the firmware. Upload the example by following the steps below:

  • Open Thonny (or your preferred IDE or interpreter) and check in the bottom right of the screen to make sure the RedBoard's COM port is selected and set to either "MicroPython (Generic)" or "MicroPython (RP2040)".
  • Open the example folder either by clicking the folder icon or opening the "File" menu and select "MicroPython Device" from the pop-up menu.
  • Open the "red_vision_examples" folder and select "ex06_detect_sfe_logo.py".
  • Next click the "Run" button to run the script. You should see the Red Vision splash screen and then the camera's view on the display.

Now if you've got something with the SparkFun flame logo handy (maybe the red box your order arrived in or another SparkFun board), position it so the logo is in view of the camera and it should identify it; outline it and give information on the size and location of the logo similarly to the photo below:

Close up photo showing the SparkFun logo detected and outlined on the Touch Screen display