Qube Solutions GmbH PiXtend V2 -L- Hardware Manual

Extension board

Advertisement

Quick Links

PiXtend V2 -L-
Hardware Manual
- Safety Instructions -
- Scope of Delivery & Factory settings -
- Installation & Commissioning -
- Technical Data & Connection Notes -
Revision 10.08.2018, V1.01
Qube Solutions GmbH
Arbachtalstr. 6, D-72800 Eningen, Germany
https://www.pixtend.com
info@pixtend.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PiXtend V2 -L- and is the answer not in the manual?

Questions and answers

Summary of Contents for Qube Solutions GmbH PiXtend V2 -L-

  • Page 1 PiXtend V2 -L- Hardware Manual - Safety Instructions - - Scope of Delivery & Factory settings - - Installation & Commissioning - - Technical Data & Connection Notes - Revision 10.08.2018, V1.01 Qube Solutions GmbH Arbachtalstr. 6, D-72800 Eningen, Germany https://www.pixtend.com info@pixtend.com...
  • Page 2 PiXtend V2 -L- Hardware Manual Version History Version Date Description Editor 1.00 06.08.18 Document created 1.01 09.08.18 Small corrections of spelling and formatting www.pixtend.com 2 / 146 Copyright by Qube Solutions GmbH...
  • Page 3: Table Of Contents

    4.2.4. Safety instructions for working with dangerous voltages........40 5. Startup..........................42 5.1. Set the jumpers and switch positions...............43 5.2. Preparing a SD card....................50 5.3. Connect the supply voltage..................53 5.4. Connection of alternative power supplies..............57 5.5. Troubleshooting......................60 www.pixtend.com 3 / 146 Copyright by Qube Solutions GmbH...
  • Page 4 6.6.1. PWM / servo-outputs..................125 6.6.2. DHT11/22, AM2302 Sensors................129 6.7. Serial interface......................130 6.7.1. RS232......................131 6.7.2. RS485......................134 Manual & automatic mode of the RS485 interface:............137 6.7.3. CAN.........................138 6.8. Real-Time-Clock.....................142 7. List of Figures.........................143 8. Table directory........................146 www.pixtend.com 4 / 146 Copyright by Qube Solutions GmbH...
  • Page 5: About This Documentation

    1.2. Copyright This documentation, including all texts and pictures, is protected by copyright. The written approval of Qube Solutions GmbH, Eningen u.A., GERMANY, must be obtained for any other use, translation into other languages, archiving or other alteration. Copyright 2018 © Qube Solutions GmbH www.pixtend.com...
  • Page 6: Names, Brands, Wordmarks And Images

    "Arduino" is a registered trademark of Arduino AG - www.arduino.cc The rights of all companies and company names mentioned herein as well as products and product names lie with the respective companies. www.pixtend.com 6 / 146 Copyright by Qube Solutions GmbH...
  • Page 7: Symbols

    This symbol indicates a warning and can result in damage to property if not observed. Danger! This symbol indicates a high hazard which can lead to serious personal injury or death, if not observed. www.pixtend.com 7 / 146 Copyright by Qube Solutions GmbH...
  • Page 8: Special Warning Symbols

    Warning - ESD Endangered Components This symbol indicates a warning of electrostatic discharge on sensitive components. Failure to observe these instructions may result in damage to electronic components. www.pixtend.com 8 / 146 Copyright by Qube Solutions GmbH...
  • Page 9: Important Information

    2.1. Subject to Change The company Qube Solutions GmbH reserves the right to revise or amend this documentation in whole or in part if this serves the technical progress or if existing software components have to be changed or new ones have been created. The user will always find the latest version of this documentation at http s ://www.pixtend.
  • Page 10: Technical Condition

    Pro • Housing → Stainless steel hood and DIN rail housing pre-assembled If you need a different version or a different hardware and software combination, please contact us directly (info@pixtend. com www.pixtend.com 10 / 146 Copyright by Qube Solutions GmbH...
  • Page 11: Certificates

    Where you can find the nearest recycling station, ask your local municipal administration. You can also return your device to us and we will handle the correct disposal for you. www.pixtend.com 11 / 146 Copyright by Qube Solutions GmbH...
  • Page 12: Information According To Battery Legislation (Battg)

    Lead (Cd) Cadmium (Hg) mercury. You have the option to also re read this information in the documents accompanying the goods or in the manual of the manufacturer. The battery on PiXtend V2 -L- does not contain any of the above-mentioned pollutants. www.pixtend.com 12 / 146 Copyright by Qube Solutions GmbH...
  • Page 13: Safety Instructions

    PiXtend V2 -L-. Save this document even after you have commissioned all components. Warning The company Qube Solutions GmbH does not accept any liability for damage of any kind resulting from disregarding the data sheets and operating instructions. The guarantee or warranty claim and the admission expire.
  • Page 14: Disclaimer

    Nevertheless, deviations can not be ruled out completely. Qube Solutions GmbH shall not be liable for any damages that may result from the use of the software, software components, hardware or the steps described in this documentation.
  • Page 15: Scope Of Delivery

    If a component is missing, please let us know by e-mail (info@pixtend.de) and we will take care of your immediate delivery. A return of the product due to a missing component is not necessary. www.pixtend.com 15 / 146 Copyright by Qube Solutions GmbH...
  • Page 16: Pixtend V2 -L- Extension Board

    (2 jumpers already used on assembly) Safety data sheet multilingual Table 1: Scope of delivery: PiXtend V2 -L- Extension Board (article 620) Figure 1: Scope of delivery: - PiXtend V2 -L- Extension Board (article 620) www.pixtend.com 16 / 146 Copyright by Qube Solutions GmbH...
  • Page 17: Housing Parts

    Screw for side part, cross slot long Screw for locking element, cross slot short Table 2: Scope of delivery: DIN rail housing (article 712) Figure 2: Scope of delivery - DIN rail housing (article 712) www.pixtend.com 17 / 146 Copyright by Qube Solutions GmbH...
  • Page 18: Stainless Steel Hood

    M2.5 x 20 mm Spacer with external thread M2.5 x 15 mm Table 3: Scope of delivery: Stainless Steel Hood (article 713) Figure 3: Scope of delivery - Stainless Steel Hood (article 713) www.pixtend.com 18 / 146 Copyright by Qube Solutions GmbH...
  • Page 19: Eplc Module

    (2 jumpers already used on assembly) Safety data sheet multilingual Table 4: Scope of delivery: PiXtend V2 -L- ePLC Basic (aricle 621) Figure 4: Scope of delivery - PiXtend V2 -L- ePLC Basic (article 621) www.pixtend.com 19 / 146 Copyright by Qube Solutions GmbH...
  • Page 20: Eplc Pro

    Safety data sheet multilingual Table 5: Scope of delivery: PiXtend V2 -L- ePLC Pro ( article 622) Figure 5: Scope of delivery - PiXtend V2 -L- ePLC Pro ( article 622) www.pixtend.com 20 / 146 Copyright by Qube Solutions GmbH...
  • Page 21: Assembly

    The components may only be touched at the edges of the circuit boards, on mechanical screw connections or plug connectors. Avoid direct contact with electronic components and solder contacts / soldering surfaces. www.pixtend.com 21 / 146 Copyright by Qube Solutions GmbH...
  • Page 22: Raspberry Pi

    Be sure to insert the plug connector straight so that it can not become jammed and the plug-in is possible with little force. strain relief Figure 6: Connecting the ribbon cable to PiXtend V2 -L- www.pixtend.com 22 / 146 Copyright by Qube Solutions GmbH...
  • Page 23 If the PiXtend V2 -L- stainless steel cover is to be installed afterwards, the Raspberry Pi can not be screwed onto the spacers now. You can continue with the chapter: 4.2.3 Stainless Steel Hood from page 33 onward. www.pixtend.com 23 / 146 Copyright by Qube Solutions GmbH...
  • Page 24 Hardware Manual Figure 8: Screw the Raspberry Pi onto PiXtend V2 -L- Tighten the small screws with feeling. If you have a torque wrench, use a tightening torque of 0.4 Nm. www.pixtend.com 24 / 146 Copyright by Qube Solutions GmbH...
  • Page 25: Housing Parts

    A pliers can also be used as a replacement for the wrench. Avoid pliers with rough contact surfaces as these can damage the surface of the spacers (only relevant for the optics). www.pixtend.com 25 / 146 Copyright by Qube Solutions GmbH...
  • Page 26: Din Rail Housing

    (see Figure 9). If the claw can not be pressed by hand (too hard), then a normal hammer or rubber hammer can be used. Next, a side part of the housing is screwed on the side on which the grounding claw has just been pressed. www.pixtend.com 26 / 146 Copyright by Qube Solutions GmbH...
  • Page 27 From the other side, on which the side part has not yet been mounted, the locking element is inserted on the back of the profile (Figure 11). On the back of the profile, there is only one place where the locking element can be fitted. www.pixtend.com 27 / 146 Copyright by Qube Solutions GmbH...
  • Page 28 Figure 11: Insert the locking element If the DIN rail housing is later installed in a control cabinet or control box (horizontal mounting of the housing), the locking element is located at the bottom. www.pixtend.com 28 / 146 Copyright by Qube Solutions GmbH...
  • Page 29 Now we can insert the PiXtend V2 -L- board into the profile. The profile has several "floors", into which boards could be inserted. We use the top floor: Figure 13: PiXtend and housing put together www.pixtend.com 29 / 146 Copyright by Qube Solutions GmbH...
  • Page 30 In a control cabinet or control box, where hazardous voltages are also used, it is necessary that all accessible metal parts are grounded (connected to PE). This includes the PiXtend V2 -L- DIN rail housing. www.pixtend.com 30 / 146 Copyright by Qube Solutions GmbH...
  • Page 31 The connection is made with a so-called "flat plug" (width 6.35 mm). Further information on the topic of PE connection and safety can be found in the following section: 4.2.3 Stainless Steel Hood. www.pixtend.com 31 / 146 Copyright by Qube Solutions GmbH...
  • Page 32 During disassembly, the entire unit is pushed upwards. The locking element springs in and the device detaches itself from the DIN rail. Figure 18: Assembly of the DIN rail housing completed www.pixtend.com 32 / 146 Copyright by Qube Solutions GmbH...
  • Page 33: Stainless Steel Hood

    For information on jumpers, switches, and their effects, please refer to the Chapter 5 Startup on page 42. After setting the jumpers and switches, we start with the assembly of the stainless steel housing. www.pixtend.com 33 / 146 Copyright by Qube Solutions GmbH...
  • Page 34 The second, small hood part is attached over the Raspberry Pi later. If the Raspberry Pi has not yet been connected / installed, please observe the explanations for the connection of the flat ribbon cable on page 22. www.pixtend.com 34 / 146 Copyright by Qube Solutions GmbH...
  • Page 35 Now the Raspberry Pi can be placed on the four spacers again. The two "M2.5 x 15 mm spacers with external thread" are screwed in according to Figure 21 (with 0.4 Nm). Figure 21: Raspberry Pi with two spacers screwed www.pixtend.com 35 / 146 Copyright by Qube Solutions GmbH...
  • Page 36 Figure 22: Assemble the lower hood part Before the upper part of the hood is placed over the Raspberry Pi, we take a look at the flat ribbon cable connecting Raspberry Pi and PiXtend. www.pixtend.com 36 / 146 Copyright by Qube Solutions GmbH...
  • Page 37 Also make sure that the ribbon cable does not touch the lower part of the hood and that there is a gap of at least 1 mm: Figure 24: Safety distance between ribbon cable and hood www.pixtend.com 37 / 146 Copyright by Qube Solutions GmbH...
  • Page 38 15 mm spacers: Figure 25: Install the upper hood - first step Tighten the small screws with feeling (0.4 Nm). www.pixtend.com 38 / 146 Copyright by Qube Solutions GmbH...
  • Page 39 Raspberry Pi and the spacers. The insertion of the screws must be free of any forces. Also these two screws are fixed with feeling. If you have a torque wrench, use a tightening torque of 0.4 Nm. Figure 26: Stainless steel hood ready assembled www.pixtend.com 39 / 146 Copyright by Qube Solutions GmbH...
  • Page 40: Safety Instructions For Working With Dangerous Voltages

    "PE" and designed for common cable lugs or so-called "flat plug-in sleeves" (width 6.35 mm). Figure 27: Protective conductor connection (PE) at the PiXtend V2 -L- hood www.pixtend.com 40 / 146 Copyright by Qube Solutions GmbH...
  • Page 41 – The protective earth conductor connection must meet the legal requirements of the respective country in which PiXtend is to be used. If you are unsure, contact a local and approved electrical installation company or contact your local authorities. www.pixtend.com 41 / 146 Copyright by Qube Solutions GmbH...
  • Page 42: Startup

    After the preparatory work, your PiXtend V2 -L- system is ready to start and can be connected to a suitable power supply. Here we give you important tips for the correct and secure connection. www.pixtend.com 42 / 146 Copyright by Qube Solutions GmbH...
  • Page 43: Set The Jumpers And Switch Positions

    "ON". The recommended configuration is "ON", i.e. the setting for the common power supply via the voltage regulator on PiXtend V2 -L-. For further information, please refer to chapter: 6 Technical Data & Connection Notes. www.pixtend.com 43 / 146 Copyright by Qube Solutions GmbH...
  • Page 44 However, for the sake of simplicity we recommend using only one power supply for the entire PiXtend V2 -L- system and setting the switch to "ON" as shown in Fig. 29. www.pixtend.com 44 / 146 Copyright by Qube Solutions GmbH...
  • Page 45 10 V range (factory default) If you are still unsure how high the voltage at the analog inputs can be, do not insert a jumper and remain in the 0..10 V range. www.pixtend.com 45 / 146 Copyright by Qube Solutions GmbH...
  • Page 46 Figure 31: Jumper - digital inputs in 24 V range (factory default) If you are still unsure which voltages are connected to the digital inputs, do not insert a jumper and remain in the 24 V range. www.pixtend.com 46 / 146 Copyright by Qube Solutions GmbH...
  • Page 47 This is the recommended setting for send / receive switching of the RS485 interface. Only insert this jumper if absolutely necessary for your application. Further information can be found starting on page 134. Figure 32: Jumper - Automatic / Manual - RS485 www.pixtend.com 47 / 146 Copyright by Qube Solutions GmbH...
  • Page 48 Further information can be found starting on page 134 (RS485) & 138 (CAN). Figure 33: Jumper - RS485 termination Figure 34: Jumper - CAN termination www.pixtend.com 48 / 146 Copyright by Qube Solutions GmbH...
  • Page 49 If you want to use CAN, change the jumper so that the middle pin is jumpered to the pin labeled CAN. Figure 35: Jumper - AO / CAN - set to AO www.pixtend.com 49 / 146 Copyright by Qube Solutions GmbH...
  • Page 50: Preparing A Sd Card

    "Win32DiskImager" as software for writing SD cards. The program runs under Microsoft Windows and can be downloaded free of charge from the following address: http://sourceforge.net/projects/ win32diskimager/ Figure 36: Software - Win32DiskImager www.pixtend.com 50 / 146 Copyright by Qube Solutions GmbH...
  • Page 51 Win32DiskImager program. • Once you have made all settings, start the writing process with a click on "Write" • Wait until writing has completed www.pixtend.com 51 / 146 Copyright by Qube Solutions GmbH...
  • Page 52 SD card from the PC and insert it into the SD card slot of the Raspberry Pi. Turn on the power and your Raspberry Pi starts the Raspbian operating system. www.pixtend.com 52 / 146 Copyright by Qube Solutions GmbH...
  • Page 53: Connect The Supply Voltage

    On the following pages, we will show you how to connect a standard plug-in power supply to PiXtend V2 -L-. Figure 37: Scope of delivery: power supply from our online shop www.pixtend.com 53 / 146 Copyright by Qube Solutions GmbH...
  • Page 54 Connect the red wire (+) to the connector with the red actuating button, and the blue wire (-) to the connector with the black actuating button: Figure 38: Connect the cables to the adapter www.pixtend.com 54 / 146 Copyright by Qube Solutions GmbH...
  • Page 55 The double version of the terminals means that both VCC and GND can be looped (to another device or, for example, to "VCC DO" - the supply of the digital outputs). This leads to a simpler and therefore more favorable wiring. www.pixtend.com 55 / 146 Copyright by Qube Solutions GmbH...
  • Page 56 PiXtend. If you also supply the Raspberry Pi via the PiXtend V2 -L- power supply and a functionally active SD card has been plugged in before, the computer will automatically start up. www.pixtend.com 56 / 146 Copyright by Qube Solutions GmbH...
  • Page 57: Connection Of Alternative Power Supplies

    Warning! While you are working on the connection wires of a power supply, the power supply must never be connected to the mains voltage! www.pixtend.com 57 / 146 Copyright by Qube Solutions GmbH...
  • Page 58 "GND" also a bridge from "VCC" to the three "VCC DO" connections. This supplies the 12 digital outputs of PiXtend with a common power supply. It is not necessary to bridge the GND connections, as all GND connections on the PCB are connected to each other. www.pixtend.com 58 / 146 Copyright by Qube Solutions GmbH...
  • Page 59 This should be done before the voltage is applied to PiXtend V2 -L-. To do this, measure the output voltage of the power supply using a voltmeter or multimeter. www.pixtend.com 59 / 146 Copyright by Qube Solutions GmbH...
  • Page 60: Troubleshooting

    "VCC-DOx-x" on PiXtend V2 -L- signals the presence of a voltage at the associated connection (range 5 - 30 V). The status LEDs of the digital outputs also light up in the active state if no voltage was applied to VCC-DOx-x. www.pixtend.com 60 / 146 Copyright by Qube Solutions GmbH...
  • Page 61 If you have a Raspbian system yourself and want to use it, please move the SD card aside until you have ensured a working communication with our images. You can then switch back to your own system. www.pixtend.com 61 / 146 Copyright by Qube Solutions GmbH...
  • Page 62: Error Led "L1"-Signals

    The micro-controller is going or is in safe state. The bit 0 within the control byte UCCtrl1 was set. See the Software Manual for more information. Table 6: LED L1 Signals www.pixtend.com 62 / 146 Copyright by Qube Solutions GmbH...
  • Page 63: Technical Data & Connection Notes

    Voltage regulators (P. 68) • Connection to Raspberry Pi (P. 72) • Retain Memory (P. 77) • Mechanics (P. 79) • PiXtend micro controller (P. 81) • Real Time Clock (RTC) (P. 142) www.pixtend.com 63 / 146 Copyright by Qube Solutions GmbH...
  • Page 64: Information About The Overall System

    PiXtend. This manual gives you all the information you need to operate your PiXtend reliably and safely. Please refer to the page 65 for further information www.pixtend.com 64 / 146 Copyright by Qube Solutions GmbH...
  • Page 65: Thermal Consideration

    80 %. - The graphics processors are not loaded, even when using the CODESYS web visualization directly on the device. With these findings, we defined the following application: www.pixtend.com 65 / 146 Copyright by Qube Solutions GmbH...
  • Page 66 5 °C. If you use PiXtend V2 -L- with stainless steel cover, then each of the above ambient temperatures must be subtracted 5 °C. www.pixtend.com 66 / 146 Copyright by Qube Solutions GmbH...
  • Page 67 3 B (without plus). Nevertheless, we recommend that you do not exceed the environmental conditions specified in this chapter. Thus, your PiXtend V2 -L- always remains in a reliable & predictable operating condition. www.pixtend.com 67 / 146 Copyright by Qube Solutions GmbH...
  • Page 68: Power Supply

    Raspberry Pi. The Raspberry Pi therefore does not require a separate supply. If necessary, however, the 5 V of PiXtend and Raspberry Pi can also be separated. The DIP switch with the label "PI_5V" is available for the selection. www.pixtend.com 68 / 146 Copyright by Qube Solutions GmbH...
  • Page 69 Risk of burns! Depending on the load and ambient temperature, the voltage regulator, printed circuit board and diodes of the voltage regulator can have temperatures of up to 75 °C. Avoid direct contact! www.pixtend.com 69 / 146 Copyright by Qube Solutions GmbH...
  • Page 70 Only one pair must be connected (1x VCC, 1x GND). The second pair can be used for "looping through" the supply voltage to other devices or for supplying the digital outputs "VCC DOx-x". www.pixtend.com 70 / 146 Copyright by Qube Solutions GmbH...
  • Page 71 If Raspberry Pi and PiXtend V2 -L- are supplied via the PiXtend voltage regulator (with switch “PI_5V” in position “ON”) the total load on the USB ports is 1 A (2x 500 mA). www.pixtend.com 71 / 146 Copyright by Qube Solutions GmbH...
  • Page 72: The Connection To Raspberry Pi

    Raspberry Pi Extensions from other manufacturers must be checked for compatibility before use. No general statement can be made as to whether the RPi expansion of a third manufacturer can be used in combination with PiXtend V2 -L-. www.pixtend.com 72 / 146 Copyright by Qube Solutions GmbH...
  • Page 73 V2 -L- must never be inserted or removed during operation. How the Raspberry Pi and PiXtend V2 -L- are correctly connected to each other can be found in chapter 4 Assembly starting on page 22. www.pixtend.com 73 / 146 Copyright by Qube Solutions GmbH...
  • Page 74 – Data connection to integrated circuits such as microcontrollers, FPGAs, ASICs, port expanders, LED drivers, PWM chips, etc. – Touch screen controller – Analog / digital or digital-to-analog converters * with 7-bit addressing, with 10-bit addressing, in principle 1136 devices are possible. www.pixtend.com 74 / 146 Copyright by Qube Solutions GmbH...
  • Page 75 The I²C lines and the 5V supply port are unprotected and do not withstand short circuits and overloads. Branches, spikes, and lines that are too long on the I²C lines can cause malfunctions on the entire I²C bus. www.pixtend.com 75 / 146 Copyright by Qube Solutions GmbH...
  • Page 76: Power Supply - Raspberry Pi 7" Touch Display

    The connection is sufficient for test setups and non-commercial use. In the industrial environment, the display should be connected via a separate power supply with suitable connectors to ensure mechanical durability. www.pixtend.com 76 / 146 Copyright by Qube Solutions GmbH...
  • Page 77: Retain System

    Table 10: Technical data - retain system Retain functionality should be disabled when it is not required. For more information on using the retain system, see the PiXtend V2 Software Manual. also called remanence memory www.pixtend.com 77 / 146 Copyright by Qube Solutions GmbH...
  • Page 78: Terminal Blocks

    AWG 16 - 24 min. - max. Table 11: Technical data - terminal blocks The clamps come from German production (WAGO or Phoenix Contact). www.pixtend.com 78 / 146 Copyright by Qube Solutions GmbH...
  • Page 79: Mechanics

    PiXtend into your device or machine. It is even easier with the 3D data, which can be downloaded free of charge on our h omepage (in the STEP format). www.pixtend.com 79 / 146 Copyright by Qube Solutions GmbH...
  • Page 80 28.25 mm 120.5 mm 77.25 mm 181.5 mm 6.5 mm 190.5 mm 77.25 mm 231 mm 6.5 mm 231 mm 95 mm Table 12: Technical data - printed circuit board (PCB) www.pixtend.com 80 / 146 Copyright by Qube Solutions GmbH...
  • Page 81: Pixtend V2 -L- Microcontroller

    Serial Peripheral Interface (SPI) bus. The Raspberry Pi is the bus master, the PiXtend microcontroller the slave. The ATtiny441 has no direct connection to the Raspberry Pi computer, but only to the ATmega324A. www.pixtend.com 81 / 146 Copyright by Qube Solutions GmbH...
  • Page 82 Hardware Manual Figure 51: DIP switch: “SPI_EN” With the "SPI_EN" switch the SPI data connection between Raspberry Pi and PiXtend can be separated. The microcontrollers each have a separate ISP connector: www.pixtend.com 82 / 146 Copyright by Qube Solutions GmbH...
  • Page 83 The controller is always up-to-date and functionally tested when the PiXtend V2 -L- devices are delivered. The approval and guarantee of the PiXtend V2 -L- modules are lost when a custom firmware is installed! www.pixtend.com 83 / 146 Copyright by Qube Solutions GmbH...
  • Page 84 GPIO. At a low level (0 V), the controller is in normal operation. At a high level (3.3V), the controller is reset and remains in the reset state until the HIGH level is cleared (set to LOW again). www.pixtend.com 84 / 146 Copyright by Qube Solutions GmbH...
  • Page 85 In the PiXtend test programs, under Linux or with CODESYS, the GPIO24 is already set automatically to enable data transfer between the controllers. Note! If, however, completely own software is programmed (for advanced users), the handling of the SPI-Enable must not be forgotten! www.pixtend.com 85 / 146 Copyright by Qube Solutions GmbH...
  • Page 86 ISP connector according to the application note "AVR042: AVR Hardware Design Considerations" by Atmel Note! The approval and guarantee of the assembly will be lost if own firmware is loaded. http://www.atmel.com/Images/Atmel-2521-AVR-Hardware-Design-Considerations_ApplicationNote_AVR042.pdf www.pixtend.com 86 / 146 Copyright by Qube Solutions GmbH...
  • Page 87 The ISP connector is not required for normal operation of PiXtend V2 -L- and should not be connected. The ISP port is a service port on which only lines less than 3 meters can be connected. www.pixtend.com 87 / 146 Copyright by Qube Solutions GmbH...
  • Page 88: Digital Inputs And Outputs

    The 5V range is designed for 5V TTL and 3.3V CMOS levels. Analog filter stages increase the immunity to interference and ensure the reliable signal processing by the PiXtend microcontroller. LEDs indicate the state of the inputs. www.pixtend.com 88 / 146 Copyright by Qube Solutions GmbH...
  • Page 89 - AC. The LEDs indicate the high state (logic "1") of the input at nominal voltage. In the transition areas between guaranteed low and high levels, the LED is not meaningful. www.pixtend.com 89 / 146 Copyright by Qube Solutions GmbH...
  • Page 90 The LEDs indicate the high state (logic "1") of the input at nominal voltage. In the transition areas between guaranteed low and high levels, the LED is not meaningful. www.pixtend.com 90 / 146 Copyright by Qube Solutions GmbH...
  • Page 91 By default PiXtend V2 -L- is supplied in the 24 V range (12 / 24 V) - no jumper inserted. With the jumper plugged in, the input is set to the 5 V range (3.3 / 5 V). The different specifications of the voltage ranges must be observed. www.pixtend.com 91 / 146 Copyright by Qube Solutions GmbH...
  • Page 92 GNDs of the other power supply units. We recommend to connect the ground potentials of all power supplies used at a central point (bridged terminal block) to avoid ground loops. www.pixtend.com 92 / 146 Copyright by Qube Solutions GmbH...
  • Page 93: Digital Outputs

    (four outlets per supply). Each supply has an LED which informs about the presence of the supply voltage. The digital outputs and their supply are each located on a common sixfold terminal block. Further LEDs signal the states of the outputs. www.pixtend.com 93 / 146 Copyright by Qube Solutions GmbH...
  • Page 94 DC voltages (DC). Do not connect alternating voltages (AC). Risk of burns! Depending on the load and the ambient temperature, the components of the feed can have temperatures of up to 65 ° C. Avoid direct contact. www.pixtend.com 94 / 146 Copyright by Qube Solutions GmbH...
  • Page 95 Table 16: Technical data - digital outputs Warning! Voltages greater than 30 V DC can lead to the defect of components. The outputs are designed for DC voltages only. Do not connect alternating voltages. www.pixtend.com 95 / 146 Copyright by Qube Solutions GmbH...
  • Page 96 Depending on the load and ambient temperature, the power transistors can have temperatures of up to 75 ° C. Direct touch should be avoided. Output currents greater than 0.5 A are not permitted in normal operation. www.pixtend.com 96 / 146 Copyright by Qube Solutions GmbH...
  • Page 97 Inductive loads are DC motors, relays, magnetic coils etc. The ground connections (GND) of external power supply units must be connected directly to the GND connections on the connection strip of the digital outputs or the PWM outputs. www.pixtend.com 97 / 146 Copyright by Qube Solutions GmbH...
  • Page 98: Relay Outputs

    6 A. All switching contacts are potential-free and do not have any conductive contact with the rest of the PiXtend V2 -L- controller. LEDs indicate the status of the relays. Observe the following safety instructions when working with dangerous voltages (greater than 50 V)! www.pixtend.com 98 / 146 Copyright by Qube Solutions GmbH...
  • Page 99 PiXtend V2 -L- / RPi Status display LED (orange) Description: „12“ .. „15“ on PCB , RELAY0 .. RELAY 3 on hood Permissible cable length < 30 m Table 17: Technical data - relay outputs www.pixtend.com 99 / 146 Copyright by Qube Solutions GmbH...
  • Page 100 Risk of burns! Depending on the supply voltage, load and ambient temperature, the relay temperatures can be as high as 60 °C. Direct touch should be avoided. www.pixtend.com 100 / 146 Copyright by Qube Solutions GmbH...
  • Page 101 PiXtend GND. The relays have a potential separation and therefore no conductive connection to other components or potentials of PiXtend or Raspberry Pi. www.pixtend.com 101 / 146 Copyright by Qube Solutions GmbH...
  • Page 102 Inductive loads are motors, relays, magnetic coils, power supplies with transformers etc. Alternating voltages may only be connected to the four relays. All other connections of PiXtend V2 -L- are not designed for alternating voltages and never for mains voltage. www.pixtend.com 102 / 146 Copyright by Qube Solutions GmbH...
  • Page 103: Gpios As Digital Inputs And Outputs

    3.3 V GPIOs of the Raspberry Pi. The GPIOs are configured by software (PiXtend Linux tools (pxdev) / CODESYS / Python / Node-RED, others). 6 general purpose input/output www.pixtend.com 103 / 146 Copyright by Qube Solutions GmbH...
  • Page 104 Applying voltages greater than 5.5 V or less than -0.5 V DC can lead to a defect at the GPIOs or the entire microcontroller. Alternating voltages on the GPIO inputs are not permissible. www.pixtend.com 104 / 146 Copyright by Qube Solutions GmbH...
  • Page 105 Each sensor receives approximately 1.5 mA of current. For cable lengths greater than 2 m, we recommend a capacitor with min. 100 nF at the sensor between VCC and GND. www.pixtend.com 105 / 146 Copyright by Qube Solutions GmbH...
  • Page 106 * This is a 5V TTL output with 300 Ω resistor in series (as a series resistor for standard LEDs or as short circuit protection / current limitation). www.pixtend.com 106 / 146 Copyright by Qube Solutions GmbH...
  • Page 107 PiXtend internal and the resistance of the remote). The GND connections shown externally in Figure 68 must be connected to the PiXend GND at at least one point in order to close the circuit. www.pixtend.com 107 / 146 Copyright by Qube Solutions GmbH...
  • Page 108: Analog Inputs & Outputs

    – Four voltage inputs (AI0 - AI3) – Two current inputs (AI4 - AI5) – Two voltage outputs (AO0 - AO1) Further information and details about the mentioned analog I/Os can be found on the following pages. www.pixtend.com 108 / 146 Copyright by Qube Solutions GmbH...
  • Page 109: Analog Inputs

    The analog channels correspond to the standard for programmable logic controllers (IEC 61131-2) and are therefore suitable for a large number of professional sensors and measuring devices. Analog filter stages ensure low-noise measurements with the 10-bit analog-to-digital converter. www.pixtend.com 109 / 146 Copyright by Qube Solutions GmbH...
  • Page 110 In the 5 V range (jumper plugged in), however, the same resolution is available for a smaller measuring range. When it comes to accuracy, that can be very helpful. www.pixtend.com 110 / 146 Copyright by Qube Solutions GmbH...
  • Page 111 Up to -30 V Isolation Status display Permissible cable length < 3 m unshielded cables < 30 m shielded cables Table 20: Technical data - analog inputs - “10 V range” www.pixtend.com 111 / 146 Copyright by Qube Solutions GmbH...
  • Page 112 Up to -30 V Isolation Status display Permissible cable length < 3 m unshielded cables < 30 m shielded cables Table 21: Technical data - analog inputs - “5 V range” www.pixtend.com 112 / 146 Copyright by Qube Solutions GmbH...
  • Page 113 Voltages greater than +/- 30 V DC can lead to overheating and defect of components. ** Deviations up to 2% (relative to the scale end value) are possible under EMC exposure. www.pixtend.com 113 / 146 Copyright by Qube Solutions GmbH...
  • Page 114 Currents greater than 100 mA should not be taken permanently. In the case of a short circuit or a permanent overload, however, the supply output is protected by a self-resetting fuse. www.pixtend.com 114 / 146 Copyright by Qube Solutions GmbH...
  • Page 115 If PiXtend is used in a metal housing or control box, the shield must be placed on a grounded and bare metal surface (earthing clamps and screw connections in the DIY store or electronics dealer). An electrically conductive connection between the GND and the www.pixtend.com 115 / 146 Copyright by Qube Solutions GmbH...
  • Page 116 / control cabinet (usually PE shielding) must be available or produced. Otherwise the wire-shield should be separated, twisted and connected to the GND of PiXtend. For cables less than three meters unshielded cables can also be used. www.pixtend.com 116 / 146 Copyright by Qube Solutions GmbH...
  • Page 117 Maximum input voltage 30 V in case of error - should not occur in normal operation Reverse polarity protection up to -30 V Overload protection thermal, self-resetting fuse (Polyfuse) Isolation www.pixtend.com 117 / 146 Copyright by Qube Solutions GmbH...
  • Page 118 Voltages greater than +/- 30 V DC can lead to overheating and defect of components. ** Deviations up to 2% (relative to the scale end value) are possible under EMC exposure. www.pixtend.com 118 / 146 Copyright by Qube Solutions GmbH...
  • Page 119 The measuring current flows through a shunt resistor with a value of 20 Ω. So if a voltage sensor is connected to the output, the maximum permissible measuring current of 20 mA flows even at very low voltages: Umax = 20 Ω * 20 mA = 0.4 V www.pixtend.com 119 / 146 Copyright by Qube Solutions GmbH...
  • Page 120 Currents greater than 20.5 mA can not be evaluated in the software. The ground connectios (GND) of external power supplies must be connected directly to the GND terminals on the terminal strips of the analog inputs. www.pixtend.com 120 / 146 Copyright by Qube Solutions GmbH...
  • Page 121: Analog Outputs

    The analog outputs are supplied by PiXtend's central voltage regulator. The fine tuning of the output voltage range is possible via the two potentiometers T0 and T1 on PiXtend V2 -L-. www.pixtend.com 121 / 146 Copyright by Qube Solutions GmbH...
  • Page 122 10 mA per channel can only be taken when the PiXtend module has a min. 13.5 V supplied. ** Deviations up to 2% (relative to the scale end value) are possible under EMC exposure. www.pixtend.com 122 / 146 Copyright by Qube Solutions GmbH...
  • Page 123 - Rotate the potentiometer until the exact voltage of 10.0V is displayed on the meter - Same procedure for the second channel Any voltage can then be preset and output correctly. www.pixtend.com 123 / 146 Copyright by Qube Solutions GmbH...
  • Page 124 As a result, a decision must be made between AO and CAN. Only one of the two devices can be operated at a time. Parallel operation of both functions is not possible. The jumper may only be moved when the module is switched/turned off. www.pixtend.com 124 / 146 Copyright by Qube Solutions GmbH...
  • Page 125: Special Inputs And Outputs

    – Clock for stepping motor driver – Dimming of DC lamps and light-emitting diodes (also high-power LEDs) – Controlling the temperature of heating elements – Precisely adjustable clock source for a variety of electronics applications www.pixtend.com 125 / 146 Copyright by Qube Solutions GmbH...
  • Page 126 < 3 m unshielded cable < 30 m shielded cable Table 24: Technical data - PWM outputs * for limiting the edge steepness of the PWM signals. Cut-off frequency at -3 dB. www.pixtend.com 126 / 146 Copyright by Qube Solutions GmbH...
  • Page 127 PWM channels. The duty cycle is always 50 %. – All further information on the software-sided control of the PWM outputs can be found in the Software Manual of PiXtend V2 -L-. www.pixtend.com 127 / 146 Copyright by Qube Solutions GmbH...
  • Page 128 PWM connectors. Always make sure that the legal requirements of the country in which they are to be used are observed for accessories such as RC model servos. www.pixtend.com 128 / 146 Copyright by Qube Solutions GmbH...
  • Page 129: Dht11/22, Am2302 Sensors

    The measurement and electrotechnical details can be found in the data sheets of the respective sensors. The connection notes for the sensors are given in chapter: GPIOs as digital inputs and outputs. www.pixtend.com 129 / 146 Copyright by Qube Solutions GmbH...
  • Page 130: Serial Interface

    RS232 and RS485 share the UART interface of the Raspberry Pi. Between the interfaces can be switched via GPIO. Further information and details about the individual interfaces can be found on the following pages. www.pixtend.com 130 / 146 Copyright by Qube Solutions GmbH...
  • Page 131: Rs232

    – RS232 can be easily converted to USB (external adapter) The transceiver installed on PiXtend is proven millions of times, short-circuit-proof and can withstand overvoltages of up to +/- 30V at its inputs. www.pixtend.com 131 / 146 Copyright by Qube Solutions GmbH...
  • Page 132 GPIO18. If the GPIO18 is configured as an input or drives a LOW level as output, then RS232 is active. If a HIGH level is output on the GPIO, RS485 is active. RS232 is the default setting for the PiXtend system. www.pixtend.com 132 / 146 Copyright by Qube Solutions GmbH...
  • Page 133 With a terminal program, the Linux console can be directly accessed from the PC. The following settings must be made in the PC program for the correct transmission: Baudrate: 115.200 baud Parity-Bit: none Data bits: Flow Control: none www.pixtend.com 133 / 146 Copyright by Qube Solutions GmbH...
  • Page 134: Rs485

    The RS485 interface has a manual (labeled "M") and an automatic (labeled "A") mode. This mode affects the behavior of switching between sending and receiving on the bus. Further information can be found on the following pages. www.pixtend.com 134 / 146 Copyright by Qube Solutions GmbH...
  • Page 135 Bias network with 560 Ω resistors Terminator 120 Ω, by jumper Permitted cable length < 3 m unshielded cables < 30 m shielded cables Table 26: Technical data - RS485 www.pixtend.com 135 / 146 Copyright by Qube Solutions GmbH...
  • Page 136 "floating". Without such a network, so-called "phantom characters" can be received by the bus subscribers, which can result from disturbances / vibrations on the bus lines (unwanted change of the logic level). www.pixtend.com 136 / 146 Copyright by Qube Solutions GmbH...
  • Page 137: Manual & Automatic Mode Of The Rs485 Interface

    ▪ Low level ("0") or GPIO22 as input: Receive ◦ In some applications it may make sense to send and receive data on the bus via software ◦ Only recommended for advanced users with special requirements www.pixtend.com 137 / 146 Copyright by Qube Solutions GmbH...
  • Page 138: Can

    CAN and AO share the data bus and can not be used simultaneously. A jumper directly next to the terminal strip can be used to selectively connect or disconnect a 120 Ω terminating resistor (bus termination). www.pixtend.com 138 / 146 Copyright by Qube Solutions GmbH...
  • Page 139 < 3 m unshielded cables < 30 m shielded cables Table 27: Technical data - CAN Warning! Exceeding the specified maximum values may result in transmission errors, malfunctions and component defects. www.pixtend.com 139 / 146 Copyright by Qube Solutions GmbH...
  • Page 140 (AO) and the CAN controller share a SPI chip select (CS1), you must first switch to the CAN controller. To do this, the jumper (Fig. 86) is set to the "CAN" position. www.pixtend.com 140 / 146 Copyright by Qube Solutions GmbH...
  • Page 141 The interrupt line is "active low". One of the two ground connections of PiXtend, which are located directly between the data lines on the terminal strip, must be further looped to the other bus participants. www.pixtend.com 141 / 146 Copyright by Qube Solutions GmbH...
  • Page 142: Real-Time-Clock

    UL / CSA or the chip manufacturer. Because the battery is not charged on PiXtend and is exclusively connected to the UL- certified DS1307 (Maxim Integrated / Dallas Inc.) RTC chip, there is no problem with acceptance. www.pixtend.com 142 / 146 Copyright by Qube Solutions GmbH...
  • Page 143: List Of Figures

    Figure 37: Scope of delivery: power supply from our online shop........53 Figure 38: Connect the cables to the adapter..............54 Figure 39: Supply terminal on PiXtend V2 -L-..............55 Figure 40: Connection of the power supply on PiXtend V2 -L-...........56 www.pixtend.com 143 / 146 Copyright by Qube Solutions GmbH...
  • Page 144 Figure 76: Principle circuit diagram: Connection of the analog voltage outputs....123 Figure 77: Jumper for switching between AO and CAN............124 Figure 78: Terminal bock - PWM/RC servo outputs............125 Figure 79: Principle circuit diagram: Connection of the PWM or servo outputs....127 www.pixtend.com 144 / 146 Copyright by Qube Solutions GmbH...
  • Page 145 Figure 84: Jumper for send / receive switching of the RS485 interface......137 Figure 85: Principle circuit diagram: Connection of the CAN interface......140 Figure 86: Jumper for switching between AO and CAN............141 www.pixtend.com 145 / 146 Copyright by Qube Solutions GmbH...
  • Page 146: Table Directory

    Table 24: Technical data - PWM outputs................126 Table 25: Technical data - RS232..................132 Table 26: Technical data - RS485..................135 Table 27: Technical data - CAN..................139 Table 28: Technical data - Real Time Clock...............142 www.pixtend.com 146 / 146 Copyright by Qube Solutions GmbH...

Table of Contents