Sferalabs Strato Pi CAN SPBC12X User Manual

Sferalabs Strato Pi CAN SPBC12X User Manual

Hide thumbs Also See for Strato Pi CAN SPBC12X:

Advertisement

Quick Links

Strato Pi CAN User Guide
July 2021
Revision 012
SPBC12X Strato Pi CAN board
SPMC12X Strato Pi CAN server with Raspberry Pi 3 Model B
SPMC12XP Strato Pi CAN server with Raspberry Pi 3 Model B+
SPMC12X41 Strato Pi CAN server with Raspberry Pi 4 Model B 1GB
SPMC12X42 Strato Pi CAN server with Raspberry Pi 4 Model B 2GB
SPMC12X44 Strato Pi CAN server with Raspberry Pi 4 Model B 4GB
SPMC12X48 Strato Pi CAN server with Raspberry Pi 4 Model B 8GB

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Strato Pi CAN SPBC12X and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Sferalabs Strato Pi CAN SPBC12X

  • Page 1 
 Strato Pi CAN User Guide July 2021 Revision 012 SPBC12X Strato Pi CAN board SPMC12X Strato Pi CAN server with Raspberry Pi 3 Model B SPMC12XP Strato Pi CAN server with Raspberry Pi 3 Model B+ SPMC12X41 Strato Pi CAN server with Raspberry Pi 4 Model B 1GB SPMC12X42 Strato Pi CAN server with Raspberry Pi 4 Model B 2GB SPMC12X44 Strato Pi CAN server with Raspberry Pi 4 Model B 4GB SPMC12X48 Strato Pi CAN server with Raspberry Pi 4 Model B 8GB...
  • Page 2: Table Of Contents

    Safety information Qualified personnel Hazard levels Safety instructions General safety instructions Battery Introduction Features Usage and connections Device identification Hardware Installation Strato Pi CAN board Strato Pi CAN server Replacing the RTC backup battery Terminal block Power supply Relay output Dedicated GPIO pins Software installation and configuration Installing the Strato Pi CAN utility...
  • Page 3 Block diagram Technical specifications Dimensions Disposal Installation and use restrictions Standards and regulations Safety instructions Set-up Conformity Information CANADA RCM AUSTRALIA / NEW ZEALAND Compliance information for Raspberry Pi CANADA Strato Pi CAN User Guide...
  • Page 4 The product information on the web site or materials is subject to change without notice. Please download and read the Sfera Labs Terms and Conditions document available at: http://www.sferalabs.cc Strato and Sfera Labs are trademarks of Sfera Labs S.r.l. Other brands and names may be claimed as the property of others.
  • Page 5: Safety Information

    Safety information Carefully and fully read this user guide before installation and retain it for future reference. Qualified personnel The product described in this manual must be operated only by personnel qualified for the specific task and installation environment, in accordance with all relevant documentation and safety instructions.
  • Page 6: Safety Instructions

    Safety instructions General safety instructions Protect the unit against moisture, dirt and any kind of damage during transport, storage and operation. Do not operate the unit outside the specified technical data. Never open the housing. If not otherwise specified, install in closed housing (e.g. distribution cabinet).
  • Page 7 WARNING Improper handling of lithium batteries can result in an explosion of the batteries and/or release of harmful substances. Worn-out or defective batteries can compromise the function of this product. Replace the RTC lithium battery before it is completely discharged. The lithium battery must be replaced only with an identical battery.
  • Page 8: Introduction

    Introduction Strato Pi CAN enhances the Raspberry Pi Model B version 2, 3 and 4 with several hardware features to make it suitable for use in professional applications where reliability and service continuity are key requirements. It is available as a bare board or fully assembled unit including a Raspberry Pi 3 Model B or B+ or Raspberry Pi 4 Model B in a standard DIN-rail case.
  • Page 9: Features

    Features Strato Pi CAN board: ✓ 9-65Vdc power supply, with surge and reverse polarity protection, and 1.3A resettable fuse ✓ Controller Area Network (CAN) V2.0B interface, support speeds up to 1 Mb/s, with opto-isolator and electrostatic discharge protection ✓ standard RS-485 interface to the Raspberry Pi serial line, with opto-isolator and electrostatic discharge protection ✓...
  • Page 10: Usage And Connections

    Usage and connections STRATO PI CAN CONNECTION DIAGRAM Device identification The device can be identified with the information provided in the rating and identification plate, permanently attached to the side of the case. EXAMPLE RATING AND IDENTIFICATION PLATE Hardware Installation Strato Pi CAN board The Strato Pi CAN board is supplied with all connectors pre-installed.
  • Page 11: Strato Pi Can Server

    appropriate turrets/spacers to firmly bolt the two boards together, ensuring that no conductive part of one board touches any part of the other board. Be particularly careful to ensure there is enough clearance between the Ethernet and USB connectors and the bottom of Strato Pi CAN circuit board. NOTICE The GPIO connector of the Strato Pi CAN board must be perfectly aligned to the Raspberry Pi's GPIO pins.
  • Page 12 Do not throw lithium batteries into fire, do not solder on the cell body, do not recharge, do not open, do not short-circuit, do not reverse polarity, do not heat above 100°C and protect from direct sunlight, moisture and condensation. Dispose of used batteries according to local regulations and the battery manufacturer's instructions.
  • Page 13: Terminal Block

    OPENING THE CASE OF RASPBERRY PI 4 MODEL B MODELS Terminal block Strato Pi CAN has an 11 positions terminal block, used for power, CAN, RS-485 and relay connections. The maximum conductor cross section is 1.5 mm (16 AWG), or 0.5 mm when using ferrules (highly recommended).
  • Page 14: Power Supply

    Power supply Strato Pi can be powered with DC voltage only: ✓ DC: nominal voltage range 9.0V to 65.0V. Respect the correct polarity shown in the schematic diagram (+ -). The power supply circuit implements reverse polarity protection using auto resetting fuses and surge protection up to ±500V/2ohms 1.2/50μs.
  • Page 15: Relay Output

    Relay output Strato Pi CAN has one relay with change-over (CO), Single Pole Double Throw (SPDT) terminals. The relay itself is rated for a 6A maximum current but, due to the terminal block size and isolation requirements, the output contacts are rated for 0.6A maximum current at 65V (DC).
  • Page 16: Software Installation And Configuration

    Run the following commands to download and install the Strato Pi CAN utility: $ cd /usr/local/bin $ sudo wget http://sferalabs.cc/files/stratopican/strato $ sudo chmod 755 strato You can run the utility without arguments to print its options: $ strato...
  • Page 17: Installing The Real Time Clock Software

    $ sudo apt-get install i2c-tools With these prerequisite installs completed, you should download and run Strato Pi’s installation script: $ cd $ wget http://sferalabs.cc/files/strato/rtc-install $ chmod 755 rtc-install $ sudo ./rtc-install If the script completes with no errors, delete the installation script and reboot:...
  • Page 18: Can Bus

    If the returned date and time is not correct, or “hwclock” returns an error, use the “-w” option to set the hardware clock to the current time: $ sudo hwclock -w Then recheck the time stored in the hardware clock to ensure it matches. Linux may have failed to automatically update the hardware clock after the last reboot if its internal registers contained invalid values.
  • Page 19: Configuring The Serial Port

    Save the file and reboot. Configuring the serial port On Raspberry Pi 3 and 4, the main UART (ttyAMA0) is used by default for Bluetooth, and the TX/RX pins on the GPIO connector are controlled by a limited function Mini UART (ttyS0).
  • Page 20: Using Strato Pi Can

    Using Strato Pi CAN Real Time Clock Strato Pi CAN has a hardware real time clock with a dedicated long-life non-rechargeable back-up battery. Once the RTC modules and configuration files are properly installed, you will simply use the date and time commands to control the hardware clock. ATECC608A Secure Element Strato Pi CAN embeds the ATECC608A secure element chip from Microchip.
  • Page 21 The RS-485 lines are isolated from the Raspberry Pi’s serial lines using dedicated opto- couplers, and from the main power supply with a high-efficiency DC-DC converter. This configuration should prevent ground loops between devices connected via the RS-485 lines. The RS-485 TX/RX switching is implemented automatically in the Strato Pi’s micro- controller, based on speed and number of bits detection, and is completely transparent to the software controlling the UART on Raspberry Pi.
  • Page 22: Can Port

    CAN port The CAN interface is based on the Microchip MCP2515 stand-alone Controller Area Network controller and the Microchip MCP2561 high-speed CAN transceiver. They implement the CAN specification version 2.0B, and support up to 1 Mbps speed. The CANH and CANL lines are available on the terminal block. The CAN transceiver’s TX and RX lines are isolated from the CAN controller with dedicated opto-couplers.
  • Page 23: Buzzer

    Then setup the CAN interface at the appropriate speed, for example at 500 kbps: $ sudo ip link set can0 up type can bitrate 500000 You can now check that the CAN interface is up, and send or receive data: $ sudo ifconfig can0 Link encap:UNSPEC...
  • Page 24: Power Cycle

    The watchdog is normally disabled. To enable it, set GPIO6 pin to high. While GPIO6 is high, the Strato Pi CAN micro-controller will watch for state changes of the GPIO5 heartbeat pin. You should ensure that GPIO5 flips its state between high and low faster than every 60 seconds.
  • Page 25 These configuration parameters can be accessed using the Strato Pi kernel module or implementing the underlying ASCII-based serial protocol described in the "Strato Pi Logic Controller Advanced Configuration Guide" document. Strato Pi CAN User Guide...
  • Page 26: Thermal Considerations For Strato Pi Can Server

    Thermal considerations for Strato Pi CAN server The Raspberry Pi draws power and generates heat proportionally to CPU and GPU load. The Strato Pi main regulator also generates heat proportionally to the total amount of current that it has to supply to the Raspberry and, if present, external devices. The thermal behaviour of Strato Pi CAN server is dynamic and affected by operating conditions and the external environment temperature.
  • Page 27 35C AMBIENT TEMPERATURE, LOW CPU LOAD 35C AMBIENT TEMPERATURE, HIGH CPU LOAD Strato Pi CAN User Guide...
  • Page 28 45C AMBIENT TEMPERATURE, LOW CPU LOAD 45C AMBIENT TEMPERATURE, HIGH CPU LOAD Strato Pi CAN User Guide...
  • Page 29: Block Diagram

    Block diagram STRATO PI CAN BLOCK DIAGRAM Strato Pi CAN User Guide...
  • Page 30: Technical Specifications

    Technical specifications Power supply 9-65 V⎓ (VDC) Reverse polarity protection with two parallel 0.65 A resettable fuses. Surge protection up to ±500V/ 2ohms 1.2/50μs without Ethernet, CAN and RS-485: 80 mA Current consumption at VS+ 24 V⎓ with Ethernet, CAN and RS-485: 90 mA including Raspberry Pi 3 current, with low CPU/GPU SPBF10X fan option, add: 25mA load and no USB devices connected...
  • Page 31 Real time clock Internal RTCC circuit with backup lithium battery. Only use CR1025 Lithium / Manganese Dioxide (Li/ MnO2) batteries.
 Expected battery life without main power supply: ~2 years Housing standard 4M for DIN rail Strato Pi CAN board only: -20…+70 °C Operating temperature Strato Pi CAN server: -20…+50 °C Strato Pi CAN server with SPBF10X: -20…+65 °C...
  • Page 32: Dimensions

    Dimensions DIMENSIONS (mm) Strato Pi CAN User Guide...
  • Page 33: Disposal

    Disposal Waste Electrical & Electronic Equipment (Applicable in the European Union and other European countries with separate collection systems). This marking on the product, accessories or literature indicates that the product should not be disposed of with other household waste at the end of their working life. To prevent possible harm to the environment or human health from uncontrolled waste disposal, separate these items from other types of waste and recycle them responsibly to promote the sustainable reuse of material resources.
  • Page 34: Conformity Information

    ✓ EN61000-6-2:2005 - EMC Immunity standard for industrial environments ✓ EN61000-6-4:2007 - EMC Emission standard for industrial environments The declaration of conformity is available at: https://www.sferalabs.cc FCC Radio Frequency Interference Statement: This equipment has been tested and found to comply with the limits for a
...
  • Page 35: Rcm Australia / New Zealand

    RCM AUSTRALIA / NEW ZEALAND WARNING: This equipment is compliant with Class A of CISPR 32:2015. In a residential environment, this equipment may cause radio interference. Compliance information for Raspberry Pi Strato Pi CAN server model SPMC12X contains a standard Raspberry Pi 3 Model B single board computer.
  • Page 36 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Sfera Labs SPBC11X SPMC11X SPMC11XP SPBC12X SPMC12X SPMC12XP SPMC12X44 SPMC12X42 SPMC12X48...

Table of Contents