Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Introduction

Project Description

PSLab is an open source organization with an aim to make scientific instruments accessible for everyone. PSLab device supports numerous instruments like oscilloscope, multimeter, logic analyzer, Wave Generator, etc. Our desktop and mobile apllications have their respective backends. With the changes in hardware and development of the project, the desktop and mobile backends started to differ. To counter this problem and make future integration of new features easier, the team decided to move the backend to libSigrok. The sigrok project is a signal analysis software suite which supports various measurement devices. Using the Sigrok project would also allow us to use the libsigrokdecode library to integrate protocol decoders with our logic analyzer.

Project Status

  • Partially Complete

Work Done
During the GSoC Period I have added support for the Oscilloscope and the PWM generator instruments to the FOSSASIA fork of the libsigrok library.

Work in Progress
Support to the Logic Analyzer instrument is in final stages.

Work to be done
Adding support for the Multimeter, Wave generator and Power Supply would be the next step. We also plan to explore the protocol decoders provided by the libsigrokdecode library. The final steps would be to use the pysigrok and sigrok-java API for the PSLab Desktop and Android application respectively.

My Work

I mainly contributed to the FOSSASIA fork of libsigrok during the GSoC period. All my contributions are listed below:

1. Device Scan:

Wrote the scan function in libsigrok to recognise the PSLab dev board

2. Device Version received:

Sent version commands to the device through libsigrok

3. Oscilloscope:

I successfully added support of the Oscilloscope instrument to libsigrok.

4. PWM Generator:

I successfully added support of the PWM generator to libsigrok.

5. Logic Analyzer:

Support of the PWM generator to libsigrok is work in progress

Blog Posts

Weekly Standup Blogs posted on DIAL Community Hub can be found under the topic PSLab: Add support to Sigrok

Scrums

All the scrums updates during the GSoC period can be found here.

Sigrok Mailing list

Mails sent to the sigrok mailiing list discussing the PSLab project can be found here

Thank you DIAL and Pocket Science Lab for this amazing experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment