Mirror of EspoTek/Labrador@github.com - Drivers and firmware for the Labrador board
Go to file
Sebastián Mestre a144105b23 Functiongencontrol refactor (#68)
* Add struct definition for functionGenControl channel data

* Add member variables for channel data to functionGenControl, deprecate old variables

* fix a typo

* Transition to new functionGenControl cahnnel data variables. Remove old ones.

* refactor genericUsbDriver::setFunctionGen to use the new ChannelData struct.

* functionGenControl: free(NULL) is safe

* Eliminate duplication of functionGenControl::waveformName_CH* fuctions by putting common things into a private template function

* get rid of comments added during refactor

* Move function gen channel data to use std::vector. algorithmify some code on genericUsbDriver::setFunctionGen

* various formatting changes, remove irrelevant comments

* functionGenControl::waveformName: always use utf8 and 16 byte buffers. Remove template

* fix typo introduced by last-second indentation change

* genericUsbDrive::setFunctionGen: shrink samples to fit

* functionGenControl::waveformName: clean up file path manipulation, clean up formatting

* change the two channel objects to an array of two elements. Add common implementations for all methods of functionGenControl. Fix a massive bug introduced earlier in the refactor. Formatting.
2019-03-04 20:02:18 +11:00
AVR_Code FIrmware version 0006: Fixes issue with logic analyzer channels being 2.6us out of sync 2018-11-06 09:14:13 +11:00
Desktop_Interface Functiongencontrol refactor (#68) 2019-03-04 20:02:18 +11:00
Librador_API Librador demo builds and runs on mac - untested (no hardware ATM) 2019-01-30 18:58:02 +11:00
PCB Update PCB readme to give credit to Ele4nor 2018-11-25 11:10:21 +11:00
build_scripts OSX info.plist 2018-10-30 07:33:40 +11:00
.appveyor.yml Changed QT_PATH in appveyor.yml, should fix problem with qmake not being found. 2019-02-17 19:48:38 +11:00
.gitignore Librador no longer links against Qt5. Octave is happy about that. 2018-05-01 14:59:43 +10:00
.travis.yml Update .travis.yml 2018-12-28 14:22:21 +11:00
README.md Update README.md 2018-12-28 14:17:01 +11:00
pinout.svg Added demo skeleton for librador 2018-03-28 14:23:34 +11:00

README.md

What is it?

The EspoTek Labrador is an open-source board that converts your PC, Raspberry Pi or Android Smartphone and into a full-featured electronics lab bench, complete with oscilloscope, signal generator and more.

More information available at: http://espotek.com/labrador

This repo hosts all of the software and hardware that makes Labrador possible.

Documentation and Software

To download binary (executable) versions of the software, go to:

https://github.com/espotek/labrador/releases

For the documentation, please visit:

https://github.com/espotek/labrador/wiki

Licence

All software files are licenced under GNU GPL v3. https://www.gnu.org/licenses/gpl.html

All hardware files (schematics, PCB) are licenced under Creative Commons 4.0 (CC BY-NC-SA). https://creativecommons.org/licenses/by-nc-sa/4.0/

Building from Source

I use Qt Creator to build the software interface. https://www.qt.io/download-open-source/ Open Desktop_Interface/Labrador.pro, then Clean All -> Run qmake -> Build All. If you're on Linux (including Raspberry Pi), then you can also build the software from source by cloning the repo, cd'ing to the Desktop_Interface directory then running:

qmake
make
sudo make install

Then, to launch, just type labrador into the terminal.

To build the AVR software, I use Atmel Studio 7. Just load up the .atsln and push F7. You can use avr-gcc if you don't want to install a full IDE.

The PCB files can be edited in KiCAD 4.0.

Known bugs.

Most of the main bugs have now been fixed, including all synchronisation issues. Please open an issue if you're aware of any in particular.

Collaboration

If you want to make any suggestions, or better yet, submit some code, please do so here at GitHub.

Suggestions and feature requests belong on the "Issues" page.

For code submissions, look into Pull Requests.

If you just want to say hello and remind me that people are actually using my product (or if you just don't want to make a GitHub account), please email admin@espotek.com

Thanks to all.

~Chris