<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to wiki</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/" rel="alternate"/><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/feed.atom" rel="self"/><id>https://sourceforge.net/p/octave-raspberrypi/wiki/</id><updated>2020-12-13T13:15:22.611000Z</updated><subtitle>Recent changes to wiki</subtitle><entry><title>Home modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Home/" rel="alternate"/><published>2020-12-13T13:15:22.611000Z</published><updated>2020-12-13T13:15:22.611000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net061f4a090068215382ca09b0f9601b276c531c7c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -6,7 +6,8 @@
 is not binary compatible with matlab. (ie: you must configure the Raspberry Pi correctly in order communicate with this
 toolkit.

-[Setup](Installing and Pi Setup)
+[Setup and installation](Installing and Pi Setup)
+[Using the functions](Using raspi)

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Home modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Home/" rel="alternate"/><published>2020-12-13T13:13:22.815000Z</published><updated>2020-12-13T13:13:22.815000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net91fe0eacaf5e586269c96c2636b5f319d7886330</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -6,7 +6,7 @@
 is not binary compatible with matlab. (ie: you must configure the Raspberry Pi correctly in order communicate with this
 toolkit.

-[Setup](https://)
+[Setup](Installing and Pi Setup)

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Home modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Home/" rel="alternate"/><published>2020-12-13T13:11:58.229000Z</published><updated>2020-12-13T13:11:58.229000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net6eb0f10bdd6cf3a7c0838d8bc5d0d1c67392a7d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,12 @@
-Welcome to your wiki!
+##Welcome!

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+This is a basic implementation of the Matlab raspberrypiio toolkit extension.

-The wiki uses [Markdown](/p/octave-raspberrypi/wiki/markdown_syntax/) syntax.
+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.
+
+[Setup](https://)

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Using raspi modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Using%2520raspi/" rel="alternate"/><published>2020-12-13T13:08:58.350000Z</published><updated>2020-12-13T13:08:58.350000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net5a772321f514c9c51ab8157ccc21aad0881b8a74</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;h1 id="using-raspi"&gt;Using raspi&lt;/h1&gt;
&lt;h2 id="load-the-toolkit"&gt;Load the toolkit&lt;/h2&gt;
&lt;p&gt;In order to use its functions, the toolkit must be loaded using the pkg load command:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;pkg&lt;/span&gt; &lt;span class="k"&gt;load&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The toolkit must be loaded on each GNU Octave session. &lt;/p&gt;
&lt;h2 id="connecting-to-a-raspberry-pi"&gt;Connecting to a Raspberry Pi.&lt;/h2&gt;
&lt;p&gt;To control an raspi device, a connection must be made to it by creating an raspi object.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;"192.168.1.100"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Instead of an IP address, the name of the pi can be used.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;r = raspi("raspberrypi.local")&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="basic-input-and-output-overview"&gt;Basic Input and Output Overview&lt;/h2&gt;
&lt;p&gt;Basic input and output can be performed on a connected raspi device using by calling the read and write functions for a specific gpio pin on the Raspberry Pi.&lt;/p&gt;
&lt;p&gt;A list of available pins can get found from the AvailableDigitalPins property of the connected raspi object.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="k"&gt;get&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;pins&lt;/span&gt;
&lt;span class="n"&gt;pins&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;AvailableDigitalPins&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h3 id="performing-digital-io"&gt;Performing Digital I/O&lt;/h3&gt;
&lt;p&gt;A pin’s digital logic value can be true (1) or false (0) and can be set using the writeDigitalPin function.&lt;/p&gt;
&lt;p&gt;The following example attempts to set the GPIO 17 pin of the connected raspi object "r" to true, waits 5 seconds and then sets it to false:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nv"&gt;writeDigitalPin&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;r&lt;/span&gt;,  &lt;span class="mi"&gt;17&lt;/span&gt;, &lt;span class="nv"&gt;true&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;pause&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
&lt;span class="nv"&gt;writeDigitalPin&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;r&lt;/span&gt;,  &lt;span class="mi"&gt;17&lt;/span&gt;, &lt;span class="nv"&gt;false&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Using the readDigitalPin will read the current logic state of the pin.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;value = readDigitalPin (r,  17);&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="i2c-devices"&gt;I2C Devices&lt;/h3&gt;
&lt;p&gt;The SPI device addresses connected to the Raspberry can be queried using the scanI2Cbus function.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;devs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;scanI2Cbus&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I2C devices are created using the i2cdev object, providing the i2c bus and i2c address.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;i2c&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;i2cdev&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="n"&gt;x40&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;After creating an I2C device, the device can be communicated to using the read, write, readRegister and writeRegister functions.&lt;/p&gt;
&lt;h3 id="spi-devices"&gt;SPI Devices&lt;/h3&gt;
&lt;p&gt;A spi device can be created using the spidev object.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;spi&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;spidev&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;"ce0"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Once created, the device can be communicated to using the writeRead function.&lt;/p&gt;
&lt;h3 id="serial-devices"&gt;Serial Devices&lt;/h3&gt;
&lt;p&gt;Serial devices can be accessed using the serial dev function.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;ser&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;serialdev&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;"/dev/serial0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9600&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;A serial device can be communicated to using the read and write functions.&lt;/p&gt;
&lt;h3 id="servos"&gt;Servos&lt;/h3&gt;
&lt;p&gt;A servo can be controlled be creating a servo object.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;raspi&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;ser&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;servo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;servo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;17&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'MinPulseDuration'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'MaxPulseDuration'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Once created, the servo can be moved between 0 to 180 degrees, corresponding to the min and max pulse duration using the &lt;br/&gt;
writePosition function. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Installing and Pi Setup modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Installing%2520and%2520Pi%2520Setup/" rel="alternate"/><published>2020-12-13T13:03:01.178000Z</published><updated>2020-12-13T13:03:01.178000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net02b25070a4c02d93cb627212e1b295e4fb3f6809</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -76,13 +76,13 @@

   `&amp;gt; sudo raspi-config`

-In the interface options, enable ssh, rgpio, i2c, spi, serial
+  In the interface options, enable ssh, rgpio, i2c, spi, serial

 3. Add pigpio access to directories in /opt/piggpio/access

-At a minimum read/write to /tmp is required.
+  At a minimum read/write to /tmp is required.

-Defaults used in the installer:
+  Defaults used in the installer:

 ~~~
   /home/pi/* u
@@ -96,7 +96,7 @@

 `  &amp;gt; systemctl enable avahi-daemon`

-Optionally, also set the host name in /etc/hostname, especially if more than one pi will be used.
+  Optionally, also set the host name in /etc/hostname, especially if more than one pi will be used.

 5. Copy the cgi scripts from the raspi tool kit repo to /opt/pigpio/cgi/

&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing and Pi Setup modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Installing%2520and%2520Pi%2520Setup/" rel="alternate"/><published>2020-12-13T13:01:39.356000Z</published><updated>2020-12-13T13:01:39.356000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net67e46de2ff211ea0bd3aee4ba6d5c91f1bdbe935</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;h1 id="installing-and-pi-setup"&gt;Installing and Pi Setup&lt;/h1&gt;
&lt;p&gt;The Raspberry Pi toolkit is a somewhat Matlab compatible raspi toolkit for GNU octave. &lt;/p&gt;
&lt;p&gt;It has local Octave set of functions for controlling a Raspberry PI as well as a server (Raspberry Pi) comonent running remotely on the Raspberry Pi.&lt;/p&gt;
&lt;p&gt;Installation then has two components;&lt;br/&gt;
1. raspi tool kit installation on the computer running GNU Octave.&lt;br/&gt;
2. a Raspbeery pi running pigpiod with additional scripts and setup completed.&lt;/p&gt;
&lt;h2 id="toolkit-installation"&gt;Toolkit Installation&lt;/h2&gt;
&lt;p&gt;The Raspberry Pi toolkit must be installed and then loaded to be used.&lt;/p&gt;
&lt;p&gt;It can be installed in GNU Octave directly from octave-forge, or can be installed in an off-line mode via a downloaded tarball.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE&lt;/strong&gt; The toolkit has a dependency on the instrument-control package, so it must be installed in order to successfully install the Raspberry Pi toolkit&lt;/p&gt;
&lt;p&gt;The toolkit must be then be loaded once per each GNU Octave session in order to use its functionality.&lt;/p&gt;
&lt;h3 id="online-direct-install"&gt;Online Direct install&lt;/h3&gt;
&lt;p&gt;With an internet connection available, the Raspberry Pi package can be installed from octave-raspi website using the following command within GNU Octave:&lt;/p&gt;
&lt;p&gt;pkg install &lt;a href="https://sourceforge.net/projects/octave-raspberrypi/files/v0.0.1/raspi-0.0.1.tar.gz/download"&gt;https://sourceforge.net/projects/octave-raspberrypi/files/v0.0.1/raspi-0.0.1.tar.gz/download&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="off-line-install"&gt;Off-line install&lt;/h3&gt;
&lt;p&gt;With the raspi toolkit package already downloaded, and in the current directory when running GNU Octave, the package can be installed using the following command within GNU Octave:&lt;/p&gt;
&lt;p&gt;pkg install raspi-0.0.1.tar.gz&lt;/p&gt;
&lt;h3 id="loading"&gt;Loading&lt;/h3&gt;
&lt;p&gt;Regardless of the method of installing the Raspberry Pi toolkit, in order to use its functions, the toolkit must be loaded using the pkg load command:&lt;/p&gt;
&lt;p&gt;pkg load raspi&lt;/p&gt;
&lt;p&gt;The toolkit must be loaded on each GNU Octave session. &lt;/p&gt;
&lt;h2 id="hardware-setup"&gt;Hardware setup&lt;/h2&gt;
&lt;p&gt;The raspi packages uses pigpio on the Raspberry Pi hardware to communicate with the board.&lt;/p&gt;
&lt;p&gt;In order to use the raspi hardware with the toolkit, it must have the pigpiod server installed and running on the Raspberry Pi board.&lt;/p&gt;
&lt;h3 id="raspberry-pi-os"&gt;Raspberry Pi OS&lt;/h3&gt;
&lt;p&gt;The raspi toolkit is tested using the official Raspberry Pi Lite OS (https://downloads.raspberrypi.org/raspios_lite_armhf_latest), but should also work with the full version.&lt;/p&gt;
&lt;p&gt;The image needs to be loaded to the Pi SD card and the pi booted successfully before installing the additional software required by the raspi toolkit.&lt;/p&gt;
&lt;p&gt;The network should be configured so that access to the pi can be obtained and the ssh service enabled.&lt;/p&gt;
&lt;p&gt;The additional software can be installed using a simple install script that comes with toolkit or can be setup manually for more control.&lt;/p&gt;
&lt;h3 id="quick-setup"&gt;Quick setup&lt;/h3&gt;
&lt;p&gt;To use the quick set up, copy the raspi_setup_hw.sh from the pkg bin directory to the raspberry pi.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Using ssh, login to the Pi and cd to the directory on the pi that contains the setup.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the setup as sudo. ie: sudo ./raspi_setup_hw.sh&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reboot the Pi ie: sudo reboot&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Attempt to connect to the Pi using the toolkit.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="manual-setup"&gt;Manual setup&lt;/h3&gt;
&lt;p&gt;Manual setup is the list of command that are done normally using the setup script.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install pigpiod i2c-tools avahi-daemon openssh-server and any dependancies&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;&amp;gt; sudo apt-get install pigpiod i2c-tools avahi-daemon openssh-server&lt;/code&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run the raspi-config tool&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;&amp;gt; sudo raspi-config&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;In the interface options, enable ssh, rgpio, i2c, spi, serial&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add pigpio access to directories in /opt/piggpio/access&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;At a minimum read/write to /tmp is required.&lt;/p&gt;
&lt;p&gt;Defaults used in the installer:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="cm"&gt;/* u&lt;/span&gt;

&lt;span class="cm"&gt;  /tmp/raspi-* u&lt;/span&gt;

&lt;span class="cm"&gt;  * r&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;ol&gt;
&lt;li&gt;Enable avahi for mDNS&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;&amp;gt; systemctl enable avahi-daemon&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Optionally, also set the host name in /etc/hostname, especially if more than one pi will be used.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Copy the cgi scripts from the raspi tool kit repo to /opt/pigpio/cgi/&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally use raspi-config to turn off startup of the GUI. &lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</summary></entry><entry><title>Overview modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Overview/" rel="alternate"/><published>2020-12-01T13:18:35.635000Z</published><updated>2020-12-01T13:18:35.635000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.netf6c9e3f19a03afc0f2e68d3d758257dd9ba04ff1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;This is a basic implementation of the Matlab raspberrypiio toolkit extension.&lt;/p&gt;
&lt;p&gt;It attempts to provide the same function calls as the Matlab toolkit, as well as additional functionality, HOWEVER,&lt;br/&gt;
is not binary compatible with matlab. (ie: you must configure the Raspberry Pi correctly in order communicate with this&lt;br/&gt;
toolkit.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE: this is currently under development and not released yet.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;The toolkit requires the instrument-control toolkit for TCP functionality.&lt;/p&gt;
&lt;p&gt;The raspberry Pi should have the pigpio daemon installed and running.&lt;/p&gt;
&lt;h2 id="installing"&gt;Installing&lt;/h2&gt;
&lt;p&gt;To install, run the octave package manager:&lt;/p&gt;
&lt;p&gt;to install from source forge:&lt;br/&gt;
&lt;code&gt;pkg install -forge raspi&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;to install from a local tarball.&lt;br/&gt;
&lt;code&gt;pkg install raspi-XXXXXXX.tar.gz&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Where XXXXXXX is the version of the the downloaded tarball.&lt;/p&gt;
&lt;h2 id="usage"&gt;Usage&lt;/h2&gt;
&lt;p&gt;Load the raspi package.&lt;br/&gt;
&lt;code&gt;pkg load raspi&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Open a connection to the raspi using dns resolvable name or ip.&lt;br/&gt;
&lt;code&gt;a = raspi ('raspberrypi.local')&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Use the raspi function calls to control hardware.&lt;br/&gt;
See the function list and examples directories.&lt;/p&gt;
&lt;h2 id="working-board-versions"&gt;Working Board Versions&lt;/h2&gt;
&lt;p&gt;The toolkit should work on the following boards, others may also work:&lt;br/&gt;
&lt;em&gt; Raspberry Pi Rev 1&lt;br/&gt;
&lt;/em&gt; Raspberry Pi 2&lt;br/&gt;
&lt;em&gt; Raspberry Pi 3&lt;br/&gt;
&lt;/em&gt; Raspberry Pi 4&lt;br/&gt;
* Raspberry Pi Zero&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Home modified by lostbard</title><link href="https://sourceforge.net/p/octave-raspberrypi/wiki/Home/" rel="alternate"/><published>2020-11-30T18:27:51.750000Z</published><updated>2020-11-30T18:27:51.750000Z</updated><author><name>lostbard</name><uri>https://sourceforge.net/u/lostbard/</uri></author><id>https://sourceforge.net6f1931f7d6ae543c42c503ef3ffbf8465b3d263b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/octave-raspberrypi/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/lostbard/"&gt;lostbard&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-5fc539a760d22edca5cd2cec" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>