Interfacing Red Pitaya With Python

Photo of yeshvanth-m

Made by yeshvanth-m

About the project

Interfacing Red Pitaya with Python

Project info

Difficulty: Moderate

Platforms: DigilentRed Pitaya

Estimated time: 3 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

IC 555 Pulse Generator Circuit IC 555 Pulse Generator Circuit x 1
Rotary potentiometer (generic) Rotary potentiometer (generic) x 1
Digilent BNC Oscilloscope x1/x10 Probes (Pair) Digilent BNC Oscilloscope x1/x10 Probes (Pair) x 1
SMA to BNC Converter SMA to BNC Converter x 1
Red Pitaya STEMLab 125-10 Red Pitaya STEMLab 125-10 x 1


SCPI -Standard Commands for Programmable Instruments
  • First released in 1990
  • Defines a standard for syntax and commands to use in controlling programmable test and measurement devices, such as automatic test equipment and electronic test equipment.
  • SCPI commands are ASCII textual strings, which are sent to the instrument over the physical layer (e.g., IEEE-488.1)
  • It introduced generic commands (such as CONFigure and MEASure) that could be used with any instrument

Jupyter Notebooks Structure

Analog Input

For a detailed explanation watch the video in the end.

Signal Acquisition

Using 555 IC Pulse Generator

Final Video



Toggle LED


Analog Input


Python Module for RP SCPI


Clear LED


Leave your feedback...