Skip to content
KickSat Sprite (2019) running Circuitpython
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Via drills changed 0.25 to 0.3 mm Feb 15, 2019
firmware updating firmware for v2b Mar 3, 2019
hardware Update sprite-v2a_BOM.xls Mar 4, 2019
software initial commit of v2a will need to update hardware to v2b Feb 7, 2019
README.md Update README.md Mar 4, 2019

README.md

hardware: KiCad PCB files and bill of materials. Assembling a sprite? Check out https://roboticexplorationlab.github.io/sprite/ for an interactive BOM!

firmware: pre-built circuitpython bootloader.bin and firmware.uf2 (and the files to build it yourself)

software: circuitpython scripts and libraries working on the sprite





## Useful Resources

Accessing the Serial Console

nearly any terminal program can communicate with the sprite (baud=112500, data=8 bit, parity=None, flow control=XON/XOFF). For example...

MacOS

  1. In terminal type: ls /dev/tty.*. The sprite will likely be listed as /dev/tty.usbmodem_____
  2. Now enter: screen /dev/tty.YOURBOARDNAMEHERE 115200
  3. You may or may not see a prompt, press Ctrl+C to halt the sprite
  4. You can now enter the REPL by pressing any key, or hit Ctrl+D to reload the main.py
  5. Exit screen at any time by pressing Ctrl+A+</kbd>

Windows

  1. Windows doesn't have a built-in terminal program like MacOS. Personally, I like PuTTY, or termite. You can also use the arduino serial monitor if you'd like!
  2. For something like PuTTY, set the Connection Type to Serial
  3. Press the Windows Key and type device manager (select it)
  4. In device manager, scroll down to "Ports (COM & LPT)" and expand it
  5. Plug in, then unplug the sprite and notice the impacted "COM" port.
  6. Return to PuTTY and enter "COM___" in the "Serial Line" field, and then click "Open"

Demos

Put all the files located in /software/ on to the sprite and start the serial console (as described above). After pressing Ctrl+C to halt the sprite, press any key to enter the REPL, then type

import NAMEOFFILE

and press enter to execute the example. For example, it we wanted to run blink.py, it would be...

import blink
  1. blink.py - will blink the green LED.
  2. i2c_IMU.py - samples all available sensors on the IMU and prints the results
  3. cursor.py - uses the X,Y data from the IMU accelerometer and moves the computer cursor accordingly
  4. cpc_test.py - example transmit message for the CC1101 radio

see https://github.com/maholli/SAM32 for more help getting started with circuitpython

You can’t perform that action at this time.