Home
PDF User Manual
Contents
1. While the help parameters do not need root access most others will For example the superuser elevated command sudo roc setup sh remove autostart will remove the autostart sequence for your Raspicomm 4 Using your Raspicomm 4 1 RS 485 Port After the device driver is installed the RS 485 port is added under this name dev ttyRPCO You can use linux standard libraries to access the port Example code for C or C int fd open dev ttyRPCO O_RDWR O_NOCTTY O_NDELAY More code examples can be found here Sample Applications wel amescon 5 RAS FA OMM User Manual 4 2 Serial Port RS 232 By default the RS 232 port is used by the Raspberry Pi s startup routine and needs to be reconfigured for use The setup script does so automatically Please note that a restart is required after which you can use standard libraries to access the serial port The device name is dev ttyAMAO Example code for C or C int fd open dev ttyAMA0 O_RDWR O_NOCTTY O_NDELAY Our Sample Applications can be adapted for use with the RS 232 port by replacing the RS 485 name dev ttyRPCO by its RS 232 counterpart dev ttyAMAO 4 3 Joystick The joystick 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 ot a a a e 25 top side towards usb You can use linux standard libraries to access the joystick in th
2. RAS iu COMM User Manual Extension board for the Raspberry Pi single board computer Main Features e RS 485 port for control over stepper motors etc e RS 232 port connect to serial port devices like a modem or your PC e 12C connector directly connect a display or sensors e real time clock with battery backup e 5 way joystick e piggyback mounting no cables or additional space required e driver support and sample applications code e fully assembled including the backup battery RAS FA OMM User Manual Table of Contents 1 2 3 5 Technical Specifications Technical Drawing First Time Installation 3 1 3 2 3 3 3 4 Using your Raspicomm 4 1 4 2 4 3 4 4 4 5 Additional Links Choice of distribution ccceccccceeseeeeeeeeeees Find out your Raspberry Pis revision RASPICOMM Setup Setup Script Parameters cccsecceceseeseeeeees PO ONE E Serial Port RS 232 cccecccsssseccecessseeeeeeeeeees ONY SUNG E OUTPUTS LEDS vccsssssascsssnncssadavensesbovananversenrseees PAN OCE E 1 Technical Specifications Size 35 2 x 56mm D RS 485 o upto 230 400 baud o pluggable screw terminal connector A B GND RS 232 o No hardware handshake o upto 115 200 baud o pluggable screw terminal connector RX TX GND Real Time Clock o CR2032 RTC backup battery included o powers the clock for approximately 10 years 5 Inputs o connec
3. e same way as the serial port Example code for C or C int fd open sys class gpio gpio22 value O_RDONLY 4 4 Outputs LEDs The Output is mapped to the following GPIOs e Output 1 D1 GPIO 18 e Output 2 D2 GPIO 21 Raspberry Pi rev 1 or GPIO 27 Raspberry Pi rev 2 wel amescon 6 RAS FA gamm User Manual 4 5 HWClock The setup script will synchronize your system time with the HWClock every time your Raspberry Pi is restarted This command will synchronize your HWClock with the system time sudo hwclock systohc This command will manually synchronize your system time with the HWclock sudo hwclock hctosys To manually set your HWClock use the following command sudo hwclock set date mm dd yy hh mm ss localtime 5 Additional Links Should you require further information or are looking for project code check out the following links e Raspicomm F A Q Answers to the most common questions e Amescon Github Our open source sample applications for your Raspicomm e Raspicomm Support Forum If the manual and F A Q could not answer your questions this is the place to go e Online Version of this manual wel amescon 7
4. ind further instructions for setting up your SD Card here O O O O 3 Boot Raspberry Pi from the SD card Configure your distribution on first boot To reconfigure your distribution later you can always use the following command raspi config 3 2 Find out your Raspberry Pi s revision Revision 1 looks like this Raspberry Pi rev1 Source wikimedia org Revision 2 can be identified by the mounting hole on the top right corner Raspberry Pi rev2 Source raspberrypi org wel amescon RAS FA OMM User Manual 3 3 Raspicomm Setup Execute the setup script from your home directory cd wget http downloads amescon com rpc_setup sh SS chmod x roc_setup sh SS sudo roc_setup sh The setup script requires the following actions e Choose revision according to your Raspberry Pi switch revisions with the c button e Activate installation script with the i button This script will install i2c tools and permanently set up the following devices o Joystick o RS 485 o RS 232 o Output LEDs o HWClock e Confirm driver installation with y e For the RS 232 to work you ll need to restart your Raspberry Pi All other devices are ready to go without a restart 3 4 Setup Script Parameters The script can be run with parameters that are however not needed for a routine setup For a full list of parameters please use one of the following commands rpc_setup sh rpc_setup sh h rpc_setup sh help
5. ted to onboard joystick 4 way push 5V tolerant 2mm pitch external connector not populated amescon 2 Outputs o 5V 100mA max each o 5V relays can be connected without additional circuitry due to onboard protection diodes o 2mm pitch connector not populated SPI Connector o 2mm pitch connector not populated 2 12C Connectors Power Connector o pluggable screw terminal connector o either powers the Raspberry Pi and RasPiComm 5V 1 5A max o orisa power output when powered over USB RasPiComm Power Consumption o max 10mA outputs off 210mA maximum rating drawn O max outputs on and RAS FA OMM User Manual 2 Technical Drawing RASM omm TECHNICAL DRAWING g 3 2mm 0 126 inch 5 pos kK 33 y 35 mm 5V x 1 3 y 1 378 inch Input 5 Input 4 GND A input 3 eu Output 2 Input 2 GND Input 1 A EN Output 1 Tx Battery RX RS 232 CR2032 bottom GND 56mm side B 2 205 inch Af RS485 GND 5V Power GND x 0 0 y 0 0 35 25 mm 1 388 inch wel amescon RAS FA OMM User Manual 3 First Time Installation 3 1 Choice of distribution Install a distribution that supports i2c and the spi bus 1 Download Distribution o either Raspbian 3 6 11 Kernel 538 2013 09 10 or Raspbian 3 6 11 2013 07 26 or Raspbian 3 6 11 2013 05 25 or Raspbian 3 6 11 2013 02 09 or Raspbian 3 2 27 2012 12 15 2 Save it to the SD card You can f
Download Pdf Manuals
Related Search
Related Contents
Avaya FRE-2 User's Manual Manual do usuário Havahart 5620 Instructions / Assembly アンリツ株式会社 MX370002A 公共無線システム波形パターン 取扱 LC-60LE632U Samsung GE89ME-B User Manual Delta H677SS Instructions / Assembly User Manual MediCal Administrator Home Decorators Collection 0823500970 Instructions / Assembly Copyright © All rights reserved.
Failed to retrieve file