Menu

Tree [abf1df] default tip /
 History

Read Only access


File Date Author Commit
 bin 2022-08-28 John Donoghue John Donoghue [d06a62] Add additional debug when running openShell
 devel 2020-12-07 John Donoghue John Donoghue [8b53d9] fix error_text generation
 doc 2023-07-26 John Donoghue John Donoghue [abf1df] * doc/mkfuncdocs.py, doc/mkqhcp.py, doc/raspi.c...
 inst 2022-08-28 John Donoghue John Donoghue [cc5777] Move pigpio functionaly out of raspi class and ...
 raspi_setup 2020-12-07 John Donoghue John Donoghue [a752ba] * raspi_setup/raspi_setup.sh: serial conf - con...
 .hgignore 2022-01-18 John Donoghue John Donoghue [0deaf3] maint: add .hgignore
 .hgtags 2022-03-21 John Donoghue John Donoghue [e59862] Added tag v0.0.3 for changeset 0b9a35f3f0c9
 COPYING 2020-11-30 John Donoghue John Donoghue [207e2a] Initial commit of files
 DESCRIPTION 2022-03-21 John Donoghue John Donoghue [0b9a35] maint: dump version 0.0.3
 INDEX 2021-12-23 John Donoghue John Donoghue [0bec5e] * INDEX: fix spelling typo
 Makefile 2022-07-19 John Donoghue John Donoghue [bea005] Add qt docs
 NEWS 2022-07-19 John Donoghue John Donoghue [bea005] Add qt docs
 README.md 2021-12-13 John Donoghue John Donoghue [7d156e] Update for latest change

Read Me

Raspi Logo

Introduction

This is a basic implementation of the Matlab raspberrypiio toolkit extension.

It attempts to provide the same function calls as the Matlab toolkit, as well as additional functionality, HOWEVER,
is not binary compatible with matlab. (ie: you must configure the Raspberry Pi correctly in order communicate with this
toolkit.

Requirements

The toolkit requires the instrument-control toolkit for TCP functionality.

The raspberry Pi should have the pigpio daemon installed and running.

Installing

To install, run the octave package manager:

  1. to install from source forge:
    pkg install https://sourceforge.net/projects/octave-raspberrypi/files/vXXXXXX/raspi-XXXXXX.tar.gz/download

  2. to install from a local tarball.
    pkg install raspi-XXXXXXX.tar.gz

Where XXXXXXX is the version of the the downloaded tarball.

Usage:

  1. Load the raspi package.
    pkg load raspi

  2. Open a connection to the raspi using dns resolvable name or ip.
    a = raspi ('raspberrypi.local')

  3. Use the raspi function calls to control hardware.
    See the function list and examples directories.

Working Board Versions

The toolkit should work on the following boards, others may also work:

  • Raspberry Pi Rev 1
  • Raspberry Pi 2
  • Raspberry Pi 3
  • Raspberry Pi 4
  • Raspberry Pi Zero
  • Raspberry Pi Zero 2

Known limitations and bugs

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.