RasPiComm Logo - Frequently Asked Questions

Q: What is the RasPiComm?

A: It is a piggyback extension board for the RaspberryPi.

Q: Where can I buy a RasPiComm?

A: Checkout this post about the availability of RasPiComm.

Q: How do I get it up and running?

A: Visit our Getting Started - page for instructions.

Q: Which distribution should I use?

A: The RasPiComm has been tested on

Q: I want to compile my own kernel / use another distribution than supported. Will you help me?

A: While we do not support other distributions than the ones mentioned above, we do have a few pointers for you.

Q: Where can I find the PIN-Assignments?

A: Check out our technical specifications page!

Q: Where can I find sourcecode and open-source example projects?

A: Please visit our Github page.

Q: I've made changes to the source code / found a problem with the source code.

A: Send us a pull request or open an issue on Github.

Q: How do I use the RS-485 Port?

A: The best way to configure the RS-485 Port is to use our install script. Check out the Getting Started - page. After the device driver is installed, the device is added under this name:

/dev/ttyRPC0

Having installed the device driver, you can use linux standard libraries to access the port just like the serial port.
Example code for C or C++:

int fd = open("/dev/ttyRPC0", O_RDWR | O_NOCTTY | O_NDELAY); ...

Also check out our sample apps.

Q: How do I use the Serial Port / RS-232?

A: By default the RS-232 port is used by the Raspberry Pi's startup routine and needs to be reconfigured for use. The easiest way to do so is use the script from our Getting Started - page. Please note that a restart is needed for the RS-232 to work. After that is done, you can use standard libraries to access the serial port. The device name is:

/dev/ttyAMA0

Example code for C or C++:

int fd = open("/dev/ttyAMA0", O_RDWR | O_NOCTTY | O_NDELAY); ...

Also check out our sample apps, which you can easily adapt to RS-232 by replacing /dev/ttyRPC0 with /dev/ttyAMA0.

Q: How do I use the Joystick?

A: The setup-script from our Getting Started - page configures the RasPiComm's joystick. It is mapped to the following GPIOs:

  • 4 =  right side (towards HDMI)
  • 22 = push
  • 23 = bottom side (towards power connection)
  • 24 = left side (towards audio out)
  • 25 = top side(towards usb)

You can use linux standard libraries to access the joystick in the same pattern as the serial port.
Example code for C or C++:

int fd = open("/sys/class/gpio/gpio22/value", O_RDONLY); ...

Should you wish to manually configure the joystick, you can do so using the Linux GPIO driver framework which will allow you to export GPIOs to the filesystem. The GPIO driver framework makes special files available that you can use for configuration of the device. You need to mark the GPIOs as input, export them into the file system. For reference, here is a shell script that temporarily (needs to be run every restart!) sets the GPIOs: joystick_gpio_setup.sh

Q: How do I use the Output (LEDs)?

A: The setup-script from the Getting Started - page will configure the Output, mapping it to the following GPIOs:

  • Output 1 (D1): GPIO 18
  • Output 2 (D2): GPIO 21 (Raspberry Pi rev.1) or GPIO 27 (Raspberry Pi rev.2)

Should you wish to manually configure the Output, you can do so just the same way as the joystick. In this case however, you need to mark the GPIOs as output, not input.

Q: How do I use the HWClock?

A: The setup-script from the Getting Started - page will set up the HWClock for you. It will sync your system time with the HWClock every time your Raspberry Pi is restarted. No need for an ethernet connection for your system time to be correct!
This command will synch your HWClock with the system time:

sudo hwclock --systohc

This command will manually synch your system time with the HWclock:

sudo hwclock --hctosys

To manually set your HWClock:

sudo hwclock --set --date='mm/dd/yy hh:mm:ss' --localtime

Q: Does the setup-skript support parameters?

A: Sure does! Try either of these to access the help file for the parameter list:

./rpc_setup.sh /?
./rpc_setup.sh --h
./rpc_setup.sh --help

Please note that while the help parameter can be accessed without root, most parameters will need root access. Example:

sudo ./rpc.setup.sh --remove-autostart

will remove the autostart-sequence for your RasPiComm.

Q: My question has not been answered by the F.A.Q.! What now?

A: Please check out our Raspicomm Support Forum! The right place to discuss the RasPiComm and get further help!


Twitter Github Tumblr PInterest Youtube