# HG changeset patch # User Christophe Lincoln # Date 1399730714 -7200 # Node ID 67d0f859d29ea1d61a78842c69b054a4fdb634d7 # Parent 2b3ae0ea8187643eb1fbd7ee30771c61653cc2b8 Add info about RaspiComm in RPi site and PiBook diff -r 2b3ae0ea8187 -r 67d0f859d29e arm/codex/pibook.html --- a/arm/codex/pibook.html Thu May 08 18:29:00 2014 +0100 +++ b/arm/codex/pibook.html Sat May 10 16:05:14 2014 +0200 @@ -62,6 +62,7 @@
  • Pi Camera - Pi NoIR
  • PiGlow from Pimorini
  • PiFace Digital setup
  • +
  • RaspiComm init and usage
  • @@ -483,6 +484,7 @@ /usr/share/piclass +

    Pi Camera - Pi NoIR

    @@ -509,6 +511,7 @@ # raspivid -d +

    PiGlow from Pimorini

    @@ -535,6 +538,7 @@ /usr/share/pyglow +

    PiFace Digital

    @@ -565,6 +569,71 @@ and guides

    + +

    RaspiComm

    + +

    + RaspiComm is a pluggable board which use advanced features like a 5-way + joystick, two serial ports (RS-232 and RS-485), l2c output, and a + realtime clock. The board let you directy control a display, a stepper + motor controller, relays, and more. +

    + +

    + SliTaz Raspberry Pi provides a built-in tool to let you use and test + the RaspiComm board out-of-the-box. Shutdown down your Pi if needed, + plugin the board on the GPIO pins and boot the system then run the + testsuite: +

    + +
    +# raspicomm init
    +# raspicomm testsuite
    +
    + +

    + The testsuite will prompt you to move the Joystick left and top + after the LEDs tests. To initialize the board on each boot, setup + the system clock and automaticaly load the i2c kernel modules, you + need to edit the local.sh boot script and add a line to start + 'raspicomm init'. This can be done in one command or using a text + editor: +

    + +
    +# echo 'raspicomm init' >> /etc/init.d/local.sh
    +
    + +

    + The Real Time Clock use i2c bus. When the clock is initialized you + can find information in: /sys/class/i2c-adapter/i2c-1/1-0068. On the + first setup you need to sync the system clock from the web and then + set the RTC from the system clock. On next reboot the system clock + will be synced with the Real Time Clock: +

    + +
    +# rdate -s tick.greyware.com
    +# hwclock --systohc
    +
    + +

    + Here is a small SHell example to turn on/off LED1. The led use the + gpio pin number 18. The raspicomm utility already exported the + LEDs pins so we just have to set the value. 1 to turn it on and 0 + to switch it off: +

    + +
    +# echo 1 > /sys/class/gpio/gpio18/value
    +# echo 0 > /sys/class/gpio/gpio18/value
    +
    + +

    + Official RaspiComm: + PDF User Manual +

    + diff -r 2b3ae0ea8187 -r 67d0f859d29e arm/news.txt --- a/arm/news.txt Thu May 08 18:29:00 2014 +0100 +++ b/arm/news.txt Sat May 10 16:05:14 2014 +0200 @@ -2,3 +2,4 @@ 20140501: SliTaz PiBook is out! Learn how to use SliTaz Raspberry Pi distro 20140502: Blog post: SliTaz Raspberry Pi news 20140507: Blog post: SliTaz RPi Box and PiLeds +20140510: RaspiComm support: custom raspicomm utility + PiBook updated diff -r 2b3ae0ea8187 -r 67d0f859d29e arm/rpi/index.html --- a/arm/rpi/index.html Thu May 08 18:29:00 2014 +0100 +++ b/arm/rpi/index.html Sat May 10 16:05:14 2014 +0200 @@ -154,6 +154,7 @@
  • Pi Camera - Pi NoIR
  • PiGlow from Pimorini
  • PiFace Digital
  • +
  • RaspiComm
  • Sat-rpi builder