Close
0%
0%

Using red pitaya for long time data logging

Using red pitaya to create calibration tables

Similar projects worth following
I want to use a the red pitaya as an data logging device to capture events emitted from a sensor. these events are coming all 10 minutes and i cant use the single shot of my DSO to capture it.
So I pulled out the RP and starting to developing a small script that does that for me.
I used PyRPL to access the fast analog channel of the RP, with the SCPI Interface you only can read the slow analog inputs.

An other example i have created is to create calibration tables for a diy power supply.
I used a serial interface to set the supply to a specific voltage like 1.45 and after that the RP is taking a measurement of the output and stores this in a CSV table. So its possible to calculate the drift of the control circuit in the supply.

arduino_calibration_table.ino

sketch to control the mcp4922 dac over serial using the calotage_cal.py

ino - 1.54 kB - 01/01/2019 at 16:25

Download

10_min_capture.py

capture the fast analog input all x minutes

x-python-script - 1.44 kB - 01/01/2019 at 16:22

Download

voltage_cal.py

to generate calibration table with an Arduino and the RP

x-python-script - 2.35 kB - 01/01/2019 at 16:22

Download

Figure_3.png

example data plot

Portable Network Graphics (PNG) - 53.14 kB - 01/01/2019 at 16:22

Preview
Download

3_cal_data.csv

csv from data plot

Comma-Separated Values - 822.00 bytes - 01/01/2019 at 16:22

Download

  • 1 × Red. Pitaya
  • 1 × Arduino for calibration example
  • 1 × MCP4922 DAC for calibration example

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates