slitaz-forge rev 555
Add info about RaspiComm in RPi site and PiBook
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 10 16:05:14 2014 +0200 (2014-05-10) |
parents | 2b3ae0ea8187 |
children | 12eb40521a1c |
files | arm/codex/pibook.html arm/news.txt arm/rpi/index.html |
line diff
1.1 --- a/arm/codex/pibook.html Thu May 08 18:29:00 2014 +0100 1.2 +++ b/arm/codex/pibook.html Sat May 10 16:05:14 2014 +0200 1.3 @@ -62,6 +62,7 @@ 1.4 <li><a href="#picam">Pi Camera - Pi NoIR</a></li> 1.5 <li><a href="#piglow">PiGlow from Pimorini</a></li> 1.6 <li><a href="#piface">PiFace Digital setup</a></li> 1.7 + <li><a href="#raspicomm">RaspiComm init and usage</a></li> 1.8 </ul> 1.9 1.10 <p> 1.11 @@ -483,6 +484,7 @@ 1.12 /usr/share/piclass 1.13 </pre> 1.14 1.15 +<!-- Camera --> 1.16 <h2 id="picam">Pi Camera - Pi NoIR</h2> 1.17 1.18 <p> 1.19 @@ -509,6 +511,7 @@ 1.20 # raspivid -d 1.21 </pre> 1.22 1.23 +<!-- PiGlow --> 1.24 <h2 id="piglow">PiGlow from Pimorini</h2> 1.25 1.26 <p> 1.27 @@ -535,6 +538,7 @@ 1.28 /usr/share/pyglow 1.29 </pre> 1.30 1.31 +<!-- PiFace --> 1.32 <h2 id="piface">PiFace Digital</h2> 1.33 1.34 <p> 1.35 @@ -565,6 +569,71 @@ 1.36 and <a href="http://www.piface.org.uk/guides/">guides</a> 1.37 </p> 1.38 1.39 +<!-- RaspiComm --> 1.40 +<h2 id="raspicomm">RaspiComm</h2> 1.41 + 1.42 +<p> 1.43 + RaspiComm is a pluggable board which use advanced features like a 5-way 1.44 + joystick, two serial ports (RS-232 and RS-485), l2c output, and a 1.45 + realtime clock. The board let you directy control a display, a stepper 1.46 + motor controller, relays, and more. 1.47 +</p> 1.48 + 1.49 +<p> 1.50 + SliTaz Raspberry Pi provides a built-in tool to let you use and test 1.51 + the RaspiComm board out-of-the-box. Shutdown down your Pi if needed, 1.52 + plugin the board on the GPIO pins and boot the system then run the 1.53 + testsuite: 1.54 +</p> 1.55 + 1.56 +<pre> 1.57 +# raspicomm init 1.58 +# raspicomm testsuite 1.59 +</pre> 1.60 + 1.61 +<p> 1.62 + The testsuite will prompt you to move the Joystick left and top 1.63 + after the LEDs tests. To initialize the board on each boot, setup 1.64 + the system clock and automaticaly load the i2c kernel modules, you 1.65 + need to edit the <b>local.sh</b> boot script and add a line to start 1.66 + 'raspicomm init'. This can be done in one command or using a text 1.67 + editor: 1.68 +</p> 1.69 + 1.70 +<pre> 1.71 +# echo 'raspicomm init' >> /etc/init.d/local.sh 1.72 +</pre> 1.73 + 1.74 +<p> 1.75 + The Real Time Clock use i2c bus. When the clock is initialized you 1.76 + can find information in: /sys/class/i2c-adapter/i2c-1/1-0068. On the 1.77 + first setup you need to sync the system clock from the web and then 1.78 + set the RTC from the system clock. On next reboot the system clock 1.79 + will be synced with the Real Time Clock: 1.80 +</p> 1.81 + 1.82 +<pre> 1.83 +# rdate -s tick.greyware.com 1.84 +# hwclock --systohc 1.85 +</pre> 1.86 + 1.87 +<p> 1.88 + Here is a small SHell example to turn on/off LED1. The led use the 1.89 + gpio pin number 18. The raspicomm utility already exported the 1.90 + LEDs pins so we just have to set the value. 1 to turn it on and 0 1.91 + to switch it off: 1.92 +</p> 1.93 + 1.94 +<pre> 1.95 +# echo 1 > /sys/class/gpio/gpio18/value 1.96 +# echo 0 > /sys/class/gpio/gpio18/value 1.97 +</pre> 1.98 + 1.99 +<p> 1.100 + Official RaspiComm: 1.101 + <a href="http://amescon.com/media/5277/Raspicomm_User_Manual.pdf">PDF User Manual</a> 1.102 +</p> 1.103 + 1.104 <!-- Close content --> 1.105 </div> 1.106
2.1 --- a/arm/news.txt Thu May 08 18:29:00 2014 +0100 2.2 +++ b/arm/news.txt Sat May 10 16:05:14 2014 +0200 2.3 @@ -2,3 +2,4 @@ 2.4 20140501: <a href="codex/pibook.html">SliTaz PiBook</a> is out! Learn how to use SliTaz Raspberry Pi distro 2.5 20140502: Blog post: <a href="http://scn.slitaz.org/index.cgi?blog&p=20">SliTaz Raspberry Pi news</a> 2.6 20140507: Blog post: <a href="http://scn.slitaz.org/index.cgi?blog&p=21">SliTaz RPi Box and PiLeds</a> 2.7 +20140510: RaspiComm support: custom raspicomm utility + PiBook updated
3.1 --- a/arm/rpi/index.html Thu May 08 18:29:00 2014 +0100 3.2 +++ b/arm/rpi/index.html Sat May 10 16:05:14 2014 +0200 3.3 @@ -154,6 +154,7 @@ 3.4 <li><a href="../codex/pibook.html#picam">Pi Camera - Pi NoIR</a></li> 3.5 <li><a href="../codex/pibook.html#piglow">PiGlow from Pimorini</a></li> 3.6 <li><a href="../codex/pibook.html#piface">PiFace Digital</a></li> 3.7 + <li><a href="../codex/pibook.html#raspicomm">RaspiComm</a></li> 3.8 </ul> 3.9 3.10 <h2>Sat-rpi builder</h2>