fossasia/pslab-firmware

Name: pslab-firmware

Owner: FOSSASIA

Description: Firmware for PSLab Hardware http://pslab.fossasia.org

Created: 2017-03-28 14:53:27.0

Updated: 2018-05-23 17:26:35.0

Pushed: 2018-03-15 14:00:04.0

Homepage:

Size: 326

Language: C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

pslab-firmware

Build Status Gitter

Repository for PSLab Firmware.

PSLab is a new addition to FOSSASIA Science Lab. This tiny pocket lab provides an array of necessary test and measurement equipment for doing science and engineering experiments. It can function like an oscilloscope, waveform generator, frequency counter, programmable voltage and current source and also as a data logger. The hardware schematics and Desktop applications are hosted in separate repositories. Android application development is underway. Our website is at: http://pslab.fossasia.org

Communication

Please join us on the following channels:

Basic requirements
Existing Firmware

The original library and main code for PSLab version 1 are located in directories 'PSLab_Original' and 'PSLab_Original_library'. Please note that they must be located in the same directory during compilation via MPLABX because the former relatively imports the latter.

This code is elaborately written , and special function register(SFR) bit settings are done in separate lines of code for easily tweaking. The code can be shrunk if firmware efficiency becomes a concern at any point.

Compilation and testing instructions
  1. Download and install the MPLab IDE & XC16 compiler from the links given above
  2. From the IDE , navigate to the folder containing PSLab_Original & PSLab_Original_library , and open PSLab_Original .
  3. Connect the Pickit3 to the 5 pin programming header on the bottom side of the PSLab hardware (attach reference image here).
  4. Also ensure that the PSLab is powered on by connecting it via USB . The PICkit has a software controllable option to supply power (3.3V) to the uC while programming, but this may be avoided since many other peripherals also rely on the same power source
  5. Build and Download the code ( menu->run->build and program , or the Downward facing green arrow in the toolbar)
Preliminary tests after program download
New Firmware

Implemented feature list in new project called 'MPLab Project' -Byte Headers

Hardware requirements

PSLab Hardware or PIC24EP256GP204 breakout board.

Kits and accessories are available with praveenkumar103@gmail.com or jithinbp@gmail.com


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.