Janz Tec emVIEW-7/RPI3 Скачать руководство пользователя страница 21

emVIEW-7/RPI3

 (

Hardware and Software Manual

)  

  Operating System and Drivers 

5 - 19 

 
Rev. 1.0 

© 

Janz Tec AG

 

 

 

 

Operating System and Drivers 

When you order the emVIEW-7/RPI3

 

with pre-installed software (Raspbian operating system), then 

our default Janz Tec image is pre-installed on the µSD-card and the emVIEW-7/RPI3 driver package 
is already installed and fully configured. For more information, refer to 5.2.

 

 
Of course, you can order the emVIEW-7/RPI3 without software, so you can choose a Raspberry PI 3 
B  compatible  operating  system  of  your  choice  and  install  it  manually  on  a  µSD  card.  (Raspbian 
recommended) 
Refer to 5.1.1 on how to install an image from the official Raspberry Pi website.  

5.1 

Standard Raspbian Operating System 

 
If  the  additional  interfaces  of  the  emVIEW-7/RPI3  (RTC,  CAN  and  RS232/RS485)  are  not  required, 
then the latest official Raspbian operating system is recommend for emVIEW-7/RPI3 systems. (Digital 
IO  and  LEDs  are  controllable  by  standard  GPIO  commands  and  console  (RS232)  is  supported  by 
Raspbian by default). To use all the emVIEW-7/RPI3 features, refer to chapter 5.2 and 5.3. 
 

5.1.1 

Installation 

 
For more information on how to prepare a µSD-card to run the Raspbian operating system visit: 
 

https://www.raspberrypi.org/documentation/installation/installing-images/README.md

 

 
Our Janz Tec image is based on the official RASPBIAN JESSIE LITE image from 

2016-09-23 

with 

Kernel 4.4.

 

(SHA-1: 

3a34e7b05e1e6e9042294b29065144748625bea8

 
Download at: 

https://downloads.raspberrypi.org/raspbian_lite/images/

  raspbian_lite-2016-09-28/ 

 

 
 

Default log in credentials: 

 
Username:  

pi

 

Password:  

raspberry 

 
(depending on your keyboard layout language, the last “y” might be “z” on your keyboard) 
 
For more information visit the official Raspberry quick start guide:  
 

https://www.raspberrypi.org/help/quick-start-guide/

 

  

5.2 

emVIEW-7/RPI3 Driver Installation Script 

 

 

NOTICE  

 

Always create a backup of the µSD card before installing this script! 

 

 

 

NOTICE  

 

This script is only compatible to Raspbian based installations!  

 

Содержание emVIEW-7/RPI3

Страница 1: ... any means for commercial use without the prior written permission of Janz Tec AG Germany All instructions information and specification contained in this manual are for reference only and remain subject to change without announcement emVIEW 7 RPI3 embedded HMI System Hardware and Software Manual Version 1 0 refers to product revision no 1 0 ...

Страница 2: ...al doc Pattern ntserv5 janzgrp as entwicklung formulare entwicklung ew ew_manual dot Created Stefan Althöfer 06 03 2015 Last Update Stefan Althöfer 18 05 2017 Janz Tec AG 2017 Im Doerener Feld 8 D 33100 Paderborn Germany Tel 49 5251 1550 0 FAX 49 5251 1550 190 email support janztec com Internet www janztec com ...

Страница 3: ... 1 Standard Raspbian Operating System 19 5 1 1 Installation 19 5 2 emVIEW 7 RPI3 Driver Installation Script 19 5 2 1 Installation Instructions 20 5 2 2 CPU Frequency 20 5 2 3 Bluetooth 20 5 2 4 Driver Details 20 5 2 4 1 spi bcm2835 SPI driver optimized for emVIEW 7 RPI3 20 5 2 4 2 mcp2515 CAN driver optimized for emVIEW 7 RPI3 20 5 2 4 3 sc16is7xx RS232 RS485 driver optimized for emVIEW 7 RPI3 21 ...

Страница 4: ...anual Contents Janz Tec AG Rev 1 0 7 Appendices 27 7 1 Technical Data 27 7 2 References 29 7 3 Dimensions 30 7 4 Raspberry GPIO Header 31 7 5 EMC Cable Installation Fehler Textmarke nicht definiert 7 6 Product History 32 7 7 Manual History 32 ...

Страница 5: ... case bottom part removal Fehler Textmarke nicht definiert figure 6 emVIEW 7 RPI3 micro SDcard location 16 figure 7 Removing and replacing coin cell battery 18 figure 8 housing dimensions 30 figure 9 EMC Shielding Fehler Textmarke nicht definiert List of Tables table 1 Power Supply connector pins 11 table 2 Ethernet connector 12 table 3 USB host connector 12 table 4 Console RS232 connector 13 tabl...

Страница 6: ...ARNING Indicates that death or severe personal injury may result if proper precautions are not taken CAUTION Indicates that minor personal injury can result if proper precautions are not taken NOTICE Indicates that damage to equipment can result if proper precautions are not taken Indicates information that we think you should have read to save your time by avoiding common problems Important sugge...

Страница 7: ... o microSD card socket o WiFi 802 11b g n o Bluetooth 4 1 LE 7 TFT display 800 x 480 Pixel Capacitive touch screen CAN ISO DIN 11898 2 isolated from logic jumper switchable 120 Ohm termination resistor Console 9 pin D Sub Serial port RS232 4 wire or RS485 jumper selectable jumper switchable 120 Ohm termination resistor for RS485 RTC with battery backup 4 x digital OUT 0 5 A max 10 32V externally p...

Страница 8: ...aseT USB 2 0 User LEDs USB 2 0 USB 2 0 IIC EE PROM Temp Sensor Battery Power RTC Only USB 2 0 Raspberry PI RTC RS232 Converter main DC DC 5V 2A 2 5A VIN 9 32 VDC Isolator Trans ceiver DC DC RS485 RS232 Transceiver Isolator UART CAN Isolator SPI Console GPIO GPIO 24pin IO header VIO 10 32VDC 2A High side switches 4 x0 5A Isolation barri e r Isolation barri e r GND IO 4 4 micro SD eFuse TPS2592AA UV...

Страница 9: ...ower supply Do not connect this product to an improper power supply No AC power no more than 32 V DC DC or no non SELV circuit DANGER Electrical Shock Danger to life The IO interfaces connectors of the product are only suited to be connected to SELV circuits Use interfaces connectors for their intended use only CAUTION Explosive Risk The installed computer board is equipped with a Lithium battery ...

Страница 10: ...ot operate the product in potentially explosive atmosphere NOTICE EMI This product is a class A device This product may cause radio interference In this case the user must take adequate measures NOTICE System overheating The cooling concept of the emVIEW 7 RPI3 is not sufficient to allow full loading of the Raspberry PI 3 Module processor without system overheating which leads to clock reduction R...

Страница 11: ...t Caution when touching the housing burns hazard The product can be operated with DC power supply from 10 to 32 V 3 1 Mounting The emVIEW 7 RPI3 is intended for installation into a panel but can as well be mounted on a 35mm DIN rail Top Do not block heat transfer below and above the housing Top Do not block heat transfer below and above the housing Fix with M3 washer and nut figure 2 emVIEW 7 RPI3...

Страница 12: ...3 10 emVIEW 7 RPI3 Hardware and Software Manual Installation Janz Tec AG Rev 1 0 In figure 3 you find the required cutout for panel mounting figure 3 emVIEW 7 RPI3 Panel cutout ...

Страница 13: ...ping length for the wires is 10 mm If you use ferrules obey that standard ferrules for 0 75 mm have only 7 mm length 3 2 1 POWER IN The system power supply is located on the multi connector 1 23 2 24 21 22 21 PE 22 PE 23 GND 24 VIN 10 32 VDC table 1 Power Supply connector pins DANGER The product may only be operated with power supplies which can be considered SELV circuits Pins 21 and 22 should be...

Страница 14: ...E g ground the Ethernet cable shield where it enters the building or your cabinet If you just connect to a nearby switch such countermeasures are not required 3 2 3 USB host interfaces USB1 USB4 Two USB interfaces are available at the connector panel 1 5V IMAX 500 mA 1000 mA for all ports 2 USB 3 USB 4 GND table 3 USB host connector NOTICE Although each port can deliver supply current of 500 mA th...

Страница 15: ...mper In RS232 mode the signals TxD out RxD in RTS out and CTS in are provided In the RS485 mode the bidirectional differential signals D and D are provided When the transmitter is enabled and no data is send MARK 1 then D D Refer to section 6 Programming Information for more information about RS485 control An internal 120 Ohm termination resistor can be enabled between D and D by shorting jumper J...

Страница 16: ... kΩ Switching level for low is 4V and high 9V The digital inputs do not require VIO to be present The digital outputs drive VIO power to the output pins high side switch The load must be connected between the output pin and the return of the VIO power supply The output driver supports resistive and inductive loads NOTICE When using inductive loads the output driver has internal clamping to demagne...

Страница 17: ...RPI3 Hardware and Software Manual Installation 3 15 Rev 1 0 Janz Tec AG 3 2 8 Audio Video HDMI The combined audio and analogue video connector as well as the HDMI connector is not accessible on the emVIEW 7 RPI3 ...

Страница 18: ... Replace µSD card Remove SD card bracket Change jumper settings Remove CPU top Replace Battery Complete disassembly Refer to the images below for the screws to be removed for different maintenance tasks micro SDcard Remove these 3 screws figure 6 emVIEW 7 RPI3 microSD card location and SD card bracket removal Remove these 4 screws figure 7 emVIEW 7 RPI3 CPU top cover removal ...

Страница 19: ... CAUTION The installed computer board is equipped with a Lithium battery Danger of explosion if battery is incorrectly replaced Replace only with battery of the same or equivalent type 3 volt lithium coin cell battery Do not attempt to recharge the battery Do not disassemble crush puncture short external contacts or dispose of in fire or water Compatible battery type CR2032 3 Volt lithium coin cel...

Страница 20: ... outs Use only gentle force otherwise the battery holder might be damaged The use a plastic tool is preferred to avoid shorting the battery 2 Insertion Align new battery to the left side of the holder below the hooks and gently press down on the right side of the battery until the battery snaps into the holder figure 8 Removing and replacing coin cell battery ...

Страница 21: ...7 RPI3 systems Digital IO and LEDs are controllable by standard GPIO commands and console RS232 is supported by Raspbian by default To use all the emVIEW 7 RPI3 features refer to chapter 5 2 and 5 3 5 1 1 Installation For more information on how to prepare a µSD card to run the Raspbian operating system visit https www raspberrypi org documentation installation installing images README md Our Janz...

Страница 22: ... 3 Bluetooth Bluetooth is not available after installing this driver package The reason is that the Raspberry PI 3B module has internally two serial ports Normally the Raspbian image has the following configuration Serial console uart1 this uses the core clock and when the CPU core clock changes the baud rate will change also Bluetooth uart0 this UART has larger FIFOs and a dedicated clock so the ...

Страница 23: ...rops Because of the limitations of the MCP2515 controller and the interrupt latency of Linux the 1Mbit s baudrate is not recommend when CAN frame drops cannot be accepted 5 2 4 3 sc16is7xx RS232 RS485 driver optimized for emVIEW 7 RPI3 By default the emVIEW 7 RPI3 is configured to RS232 mode Jumper J301 is set If you want to use RS485 mode open the case as described in chapter 4 and remove the jum...

Страница 24: ...TC pi raspberry sudo hwclock systohc D noadjfile utc r After replacing the RTC battery call the following command lines to set the RTC oscillator trim register to value 0 persistently Otherwise the RTC will be less precise than it could be pi raspberry sudo bash pi raspberry modprobe i2c dev pi raspberry mknod dev i2c 1 c 89 1 2 dev null pi raspberry i2cset f y 1 0x6f 8 0x00 b ...

Страница 25: ...ft PLC created by the company 3S Smart Software Solutions GmbH and is available for Raspberry Pi based devices Using this IEC 61131 3 programming system in combination with our emVIEW 7 RPI3 system is ideal for testing and educational applications because the control can make use of the additional interfaces the emVIEW 7 RPI3 offers digital IO CAN RTC and RS232 RS485 To download a time limited eva...

Страница 26: ... 2 May require manual configuration in the CODESYS configuration files 5 5 1 1 Information If you are interested in CODESYS runtime systems with real time support more Ethernet ports or more fieldbus ports our embedded PC series emPC and panel PC series emVIEW offer the whole range of industrial PCs in many performance classes https www janztec com en embedded computing html 5 5 1 2 License Inform...

Страница 27: ...ut sys class gpio gpio12 direction root raspberry echo 1 sys class gpio gpio12 value root raspberry echo 0 sys class gpio gpio12 value NOTICE When the emVIEW 7 RPI3 driver package chapter 5 2 has been installed the green LED is configured to show the µSD card activity To control this LED by from the command line uncomment the entry dtparam act_led_gpio 5 from the configuration file boot config txt...

Страница 28: ...pullup will turn the digital output off Digital input GPIOs must be configured as input A high level will be detected if sufficient voltage is detected on the digital input pin Programming the digital inputs and outputs is the same as on a standard Raspberry PI 2 B so you can get more information on http elinux org RPi_Low level_peripherals Shell 6 7 Console RS232 On Raspbian based installations b...

Страница 29: ... 4 x USB2 0 CAN MCP2515 controller ISO DIS 11898 2 isolated from logic jumper switchable 120 Ohm termination resistor Serial Port Console RPI defined RS232 2 wire SC16IS740 controller RS232 4 wire RS485 Digital IO 4 x digital OUT 0 5 A max 10 32V 4 x digital IN Isolated from system ground Indicators and Switches User LEDs 2 programmable LEDs red green System Housing aluminumFront Sheet metal backs...

Страница 30: ... are defined under the following CPU load No GPU load 4 cores loaded at 600 MHz or 1 core loaded at 1200 MHz where the load per core is comparable to that of the Linux stress utility The above numbers are without safety margins to compensate process variations of the Broadcom SoC More load will bring the CPU Junction temperature above 80 C and the CPU will reduce clock frequency towards 600 MHz Th...

Страница 31: ...ls and specifications that you might need to know when you attempt to program the product Most of the documents can be downloaded from the Internet Look for the WWW servers of the component chip manufacturers 1 https www raspberrypi org downloads 2 https www raspberrypi org documentation WWW References Janz Tec AG www janztec com ...

Страница 32: ...fer to figure 9 for the housing dimensions Note that the IO connector will hang over the dimensioned housing outline Refer to figure 3 for the required panel cutout 7 50 mm 39 mm DIN Rail Clip 120 80 mm 203 0 mm 8 00 mm 11 60 mm 4 2 mm 107 70 mm R 12 0 M3 mounting bolt figure 9 housing dimensions ...

Страница 33: ...n 11 GPIO17 INT_UART In 12 GPIO18 DO4 Out 13 GPIO27 DO3 Out 14 GND 15 GPIO22 DO2 Out 16 GPIO23 DO1 Out 17 3 3V NC 18 GPIO24 RS485_MODE_DETECT 0 RS232 1 RS485 In 19 GPIO10 SPI_MOSI Out 20 GND 21 GPIO9 SPI_MISO In 22 GPIO25 INT_CAN In 23 GPIO11 SPI_CLK Out 24 GPIO8 SPI_CE_CAN Out 25 GND 26 GPIO7 SPI_CE_UART Out 27 NC 28 NC 29 GPIO5 LED green Out 30 GND 31 GPIO6 DI1 In 32 GPIO12 LED red Out 33 GPIO13...

Страница 34: ...c AG Rev 1 0 7 5 Product History Version Release Date Name Changes 1 0 2017 01 10 as First series with DIN rail mounting only 2 0 2017 05 10 As New model with flange mounting option 7 6 Manual History Version Release Date Name Changes 1 0 2017 05 10 As Initial release ...

Отзывы: