PASCO + Python

The PASCO Python Library lets learners, educators, and hobbyists take full control of their PASCO Wireless Sensors using Python code. Visit us on GitHub to download the PASCO Python API, browse sample code, and review tips for getting started.


Why Python?

  • Python is used in schools and universities around the world.
  • It's simple, readable, and flexible, making it ideal for both beginners and experts.
  • Python resources are readily accessible thanks to its global community of creators, collaborators, and problem-solvers.

Python vs. Blockly

Blockly is an easy-to-use, block-based programming platform available in both SPARKvue and PASCO Capstone. Unlike Blockly, Python is a text-based programming language that is independent from PASCO software. This library lets you bring Python into the PASCO ecosystem for complete control of your data. With Python, users control all aspects of sensor data collection, from sensor connections and sampling rates to data displays and custom analytics.

Visit us on GitHub to view instructions for getting started and browse sample code for Python projects.

Visit GitHub

Compatible Sensors

  • //code.Node
  • Smart Cart
  • Wireless Acceleration Altimeter
  • Wireless CO2
  • Wireless Conductivity
  • Wireless Current
  • Wireless Diffraction
  • Wireless Drop Counter
  • Wireless Force Acceleration
  • Wireless Light
  • Wireless Load Cell
  • Wireless Magnetic Field
  • Wireless Motion
  • Wireless O2
  • Wireless Optical Dissolved Oxygen
  • Wireless pH
  • Wireless Pressure
  • Wireless Rotary Motion
  • Wireless Temperature
  • Wireless Voltage
  • Wireless Weather

System Requirements

  • Operating Systems: Windows, Mac, Linux (Raspberry Pi)
  • Bluetooth 4.0+
  • Python version 3.11
  • IDE of your choice (VSCode, PyCharm, etc)

Example Projects

Temperature Alarm

Use a Python text to voice plugin to narrate temperatures out loud.


Smart Cart 3D Plot

Create an 3D plot using values from the Smart Cart.