Red Pitaya IoT platform

From SMART4ALL Docs
Jump to navigation Jump to search

What is Red Pitaya?[edit | edit source]

A credit size mobile IoT hardware & software platform that replaces many expensive laboratory measurements and control instruments. Open-source software examples, easy interfacing with sensors and actuators, and the possibility to control it using Python, Jupyter, MATLAB or LabVIEW & C, makes it a perfect tool in education or rapid product development.

Where to get one?[edit | edit source]

Red Pitaya boards can be purchased @ RedPitaya online store. (www.redpitaya.com)

To better understand how product specifications differ from each other we suggest you look at the hardware specifications comparison table

& Supported features and apps by Red Pitaya model table.

How can I start using it?[edit | edit source]

First step is to connect to your device by following the quick start guide.

Also there is a short video presentation available: How to get started with Red Pitaya measurements

How to start using Red Pitaya as a test & measurement instrument?[edit | edit source]

Once you connect to Red Pitaya from WEB browser it can be immediately used as:

  • Oscilloscope
  • Spectrum analyzer
  • Signal generator
  • Bode analyzer
  • LCR meter
  • Vector Network Analyzer
  • and more.. There are also many other (contributed) applications available on RedPitaya marketplace. For more information about RedPitaya apps click here.
  • Multi-channel measurements done with daisy-chaining: X-ch system, or in the case measurements with only 4 channels are needed: the 4Ch input board.

How to start using Red Pitaya as SDR (software defined radio)?[edit | edit source]

SDR support for RedPitaya is done and maintained by Pavel Demin. The best place to get the latest software for is Pavel’s repository.

How to start programming Red Pitaya or developing your own applications?[edit | edit source]

There are several ways to program / develop with Red Pitaya.

  1. Remote control / programming Remote control can be done by using most popular rapid prototyping development tools MATLAB, LABview, SCILAB or Python remotely. There are several examples available.
  2. Programing Red Pitaya directly from WEB browser / Python Red Pitaya can be programmed in Python directly from the WEB browser using Jupyter.
  3. C/C++ programming RedPitaya hardware features can be easily accessed through C APIs. Many starting examples are available at this link.
  4. FPGA programming Information on how to copile Red Pitaya open source FPGA code is here.
  5. Creating own WEB applications Instructions on how to create your own Red Pitaya WEB applications can be found here.
  6. More details on FPGA programming here.

How to interface Red Pitaya with other hardware or sensors?[edit | edit source]

Beside fast analog inputs and outputs Red Pitaya comes with an extension connector that enables users to interface with other hardware devices or sensors over standard i2c, UART, SPI interfaces or additional slow analog inputs and outputs and digital GPIOs.

There are two main extension possibilities:

  1. Using already available sensor extension module by RedPitaya Sensors extension module provides direct connection to GroveSensors (e.g. Temperature sensor, Motion sensor,Touch sensor, Button, Switch, Tilt, Potentiometer, Light sensor, Air quality sensor, Vibration sensor, Moisture sensor, Water sensor, Alcohol sensor, Barometer not supported at the moment, Sound sensor, UV sensor, Accelerometer, Relay). Sensor extension module also provide compatibility with arduino extension modules. More examples and information can be found at this link.
  2. Creating own add on module that connects to extension connector For more information about extension connector click here.

How to start teaching with RedPitaya?[edit | edit source]

Teaching lectures / material.


One relevant example of Red Pitaya units used as IOT (internet of things) device is mentioned in this

research paper: "Conception and Implementation of an IoT System for Remote Practical Works in Open Access University’s Electronic Laboratories"

made by Amine Moulay Taj

at Sultan Moulay Slimane University of Beni Mellal, Beni Mellal, Morocco

Research paper link: [1]