background image

              

PiXtend V2 -L-                Hardware Manual

6.2.3.2 I²C on 5V level

PiXtend uses only the address 0x68 (hex) on the I²C bus of the Raspberry Pi through the 
integrated real time clock (RTC).
Further 127 devices* can therefore be connected to the bus system. The bus has a 5 V 
voltage level on PiXtend (pin header, see Figure 47).

Applications

EEPROM, flash (memory)

Sensors (ultrasound, temperature, air pressure, CO

2

 etc.)

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                               

Copyright by Qube Solutions GmbH

                   

74 / 146

Figure 47: Pin header - I²C on 5 V level

Summary of Contents for PiXtend V2 -L-

Page 1: ...ty Instructions Scope of Delivery Factory settings Installation Commissioning Technical Data Connection Notes Qube Solutions GmbH Arbachtalstr 6 D 72800 Eningen Germany https www pixtend com info pixt...

Page 2: ...ardware Manual Version History Version Date Description Editor 1 00 06 08 18 Document created TG 1 01 09 08 18 Small corrections of spelling and formatting TG www pixtend com Copyright by Qube Solutio...

Page 3: ...tance 14 3 Scope of Delivery 15 3 1 PiXtend V2 L Extension Board 16 3 2 Housing Parts 17 3 2 1 DIN rail housing 17 3 2 2 Stainless Steel Hood 18 3 3 ePLC Module 19 3 3 1 ePLC Basic 19 3 3 2 ePLC Pro 2...

Page 4: ...d V2 L Microcontroller 81 6 4 Digital inputs and outputs 88 6 4 1 Digital inputs 88 6 4 2 Digital outputs 93 6 4 3 Relay outputs 98 6 4 4 GPIOs as digital inputs and outputs 103 6 5 Analog Inputs Outp...

Page 5: ...es of the following types PiXtend V2 L Extension Board QS Artikelnummer 620 PiXtend V2 L ePLC Basic QS Artikelnummer 621 PiXtend V2 L ePLC Pro QS Artikelnummer 622 The documents for the predecessor se...

Page 6: ...s de AVR ATmega and the associated logo are registered trademarks of Atmel Corporation www atmel com or Microchip Technology Corporation www microchip com Debian and Raspbian are protected trademarks...

Page 7: ...nformation to avoid malfunctions and accidental misuse Warning This symbol indicates a warning and can result in damage to property if not observed Danger This symbol indicates a high hazard which can...

Page 8: ...tion High Voltage This symbol indicates a warning of dangerous electrical voltages Non observance can result in damage to property and or personal injury including death Warning ESD Endangered Compone...

Page 9: ...ol actuators The logic programming of inputs and outputs can be done among other things with the software CODESYS V3 from the company 3S Smart Software Solutions GmbH Qube Solutions also provides comp...

Page 10: ...nge no jumper is set All analog inputs are configured for a 0 10 V range no jumper is set CAN AO Jumper is set to AO analog outputs active CAN inactive RS485 A M Jumper is set to A automatic send rece...

Page 11: ...compliance with the information contained in the manuals and safety data sheets will lead to the loss of certification and approval for the European Economic Area WEEE Registration No DE 15868016 The...

Page 12: ...of the batteries accumulators to us must be sufficient postage in all cases Returns of batteries accumulators should be addressed to Qube Solutions GmbH Arbachtalstra e 6 D 72800 Eningen GERMANY Batt...

Page 13: ...areas The permissible operating temperature is between 0 C and 50 C 1 PiXtend the Raspberry Pi as well as all cables connectors and power supplies must be kept away from liquids The PiXtend modules m...

Page 14: ...ns GmbH Arbachtalstr 6 D 72800 Eningen GERMANY How to reach us Tel 49 0 7121 8806920 Fax 49 0 7121 2848662 info pixtend com www pixtend com 2 9 Assistance A lot of information tips and tricks can be f...

Page 15: ...n be damaged by electrostatic discharge 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 co...

Page 16: ...t completely assembled 1 4 Screw cross slot M2 5 x 6 mm 2 1 Ribbon cable 40 pole 3 24 Jumper 2 jumpers already used on assembly standard black 4 1 Safety data sheet multilingual 5 Table 1 Scope of del...

Page 17: ...105 x 25 5 mm 1 2 Side panel 2 2 Locking element 3 1 Earth clamp 4 4 Screw for side part cross slot long 5 2 Screw for locking element cross slot short 6 Table 2 Scope of delivery DIN rail housing ar...

Page 18: ...on print two parts 241 x 102 x 35 2 mm 1 6 Screw cross slot M2 5 x 6 mm 2 2 Screw cross slot M2 5 x 20 mm 3 2 Spacer with external thread M2 5 x 15 mm 4 Table 3 Scope of delivery Stainless Steel Hood...

Page 19: ...consisting of PiXtend V2 L Raspberry Pi microSD card fully assembled ready 1 1 Adapter microSD to SD 2 24 Jumper 2 jumpers already used on assembly standard black 3 1 Safety data sheet multilingual 4...

Page 20: ...berry Pi microSD card DIN rail housing stainless steel hood fully assembled ready 1 1 Adapter microSD to SD 2 24 Jumper 2 jumpers already used on assembly standard black 3 1 Safety data sheet multilin...

Page 21: ...ctory Note Please observe the assembly and safety instructions which are marked with warning signs in the further course of the assembly instructions Note Care must be taken when handling electronic m...

Page 22: ...r PH1 optional torque wrench with Phillips bit PH1 adjustment 0 4 Nm 4 1 2 Assembly The combination of Raspberry Pi and PiXtend V2 L is quickly done A pre assembled 40 pin flat ribbon cable is include...

Page 23: ...ct between soldering points and electronic components on the Raspberry Pi and PiXtend circuit boards Now the Raspberry Pi can be turned up and placed on the four spacers of your PiXtend V2 L board The...

Page 24: ...ware Manual Tighten the small screws with feeling If you have a torque wrench use a tightening torque of 0 4 Nm www pixtend com Copyright by Qube Solutions GmbH 24 146 Figure 8 Screw the Raspberry Pi...

Page 25: ...l housing 4 2 1 Tools The following tools are required for assembling the DIN rail housing Phillips screwdriver PH1 possibly a normal hammer or rubber hammer When installing the stainless steel hood w...

Page 26: ...be more suitable than the other The earthing claw is inserted in the center of the aluminum profile and pressed into the recess with your thumb The side of the claw which only has one contact tab poi...

Page 27: ...re carefully tightened and screwed as straight as possible 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 t...

Page 28: ...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 Copyright by Qube Solutions GmbH 28...

Page 29: ...file Then they are fixed with the small screws 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 www pix...

Page 30: ...cond side part can be mounted and fixed with the remaining two screws Do not be surprised at the fact that the board is still slightly beyond the profile This small overhang is covered by the side par...

Page 31: ...ted to the grounding claw 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 Stain...

Page 32: ...igure 17 and then pressed flat this causes the locking element to engage During disassembly the entire unit is pushed upwards The locking element springs in and the device detaches itself from the DIN...

Page 33: ...h voltages should the analog inputs AI0 AI3 and the digital inputs DI0 DI15 be configured Remove or insert the jumpers accordingly The switch 5V_PI should be set to ON The power supply for Raspberry P...

Page 34: ...steel housing consists of two parts The large lower part of the hood is twisted so that it can be guided over the Raspberry Pi and placed on the six spacers on the PiXtend V2 L board Figure 20 The se...

Page 35: ...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 www pixtend com Copyright by Qube Solutions GmbH 35 146 Figure 20 Lower h...

Page 36: ...plied If you have a torque wrench use a tightening torque of 0 4 Nm 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 an...

Page 37: ...y Pi Press the ribbon cable against the 40 pin connector to obtain the following result Also make sure that the ribbon cable does not touch the lower part of the hood and that there is a gap of at lea...

Page 38: ...slot provided long holes grooves of the lower hood Two of the four M2 5 x 6 mm screws with which Raspberry Pi and PiXtend have been screwed so far fix the upper cover onto the previously installed 15...

Page 39: ...d The long screws must reach through the holes of the 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 tor...

Page 40: ...ive earth PE protective earth Cables and devices with dangerous voltages must only be connected by trained and legally qualified personnel The stainless steel hood has a special connection for the pro...

Page 41: ...in sleeves with snap in nose which snaps into the hood and protects against unintentional loosening pulling off Check the flat plug for a tight fit The outer conductors are to be protected all pole v...

Page 42: ...steps Then you create an SD card from one of the provided SD card images with the Basic Image C Python Node RED OpenPLC or CODESYS Control Demo for your Raspberry Pi If you have a PiXtend V2 L Extens...

Page 43: ...d PiXtend V2 L can not communicate The term SPI_EN is called SPI Serial Peripheral Interface Enable Switch PI_5V This switch is used to decide whether or not the 5 V supply of PiXtend V2 L and Raspber...

Page 44: ...alfunctions overheating of components or their defect If you want to supply the Raspberry Pi with its own separate power supply set the PI_5V switch to OFF However for the sake of simplicity we recomm...

Page 45: ...he analog input is in measuring range 0 10 V factory setting If a jumper is plugged in the range of the input changes to 0 5 V The reduction of the voltage range can make sense if only small signals u...

Page 46: ...h can lead to unexpected behavior Check the correct jumper setting before a signal is connected to the inputs If no jumper is plugged in the analog input is in the 24 V range factory setting If a jump...

Page 47: ...the side with the inscription A as shown in Fig 32 This is the recommended setting for send receive switching of the RS485 interface Only insert this jumper if absolutely necessary for your applicatio...

Page 48: ...terminating resistor is not active By inserting the jumper between the middle pin and the pin with the label ON the termination is activated Whenever PiXtend represents the first or last node of a bu...

Page 49: ...used in parallel a preselection is required In the factory settings the analog outputs are selected the jumper is connected to the middle pin and the pin labeled AO Fig 35 If you want to use CAN chang...

Page 50: ...inux Tools including the PiXtend C library pxdev PiXtend Python Library V2 with examples Node RED OpenPLC CODESYS Control Demo with CODESYS V3 5 Runtime Extension for the Raspberry Pi PiXtend Always u...

Page 51: ...e from our download area in which the SD card image is located must be opened and unpacked Store the image file at an easy to reach place i e the desktop Start the Win32DiskImager program with Adminis...

Page 52: ...or you are prompted to format the media on these dialogs always click on the Cancel button and close any windows that may have appeared This is no error situation You get these messages because Micro...

Page 53: ...fer to section 5 4 Connection of alternative power supplies from page 53 of this document if you want to use power supplies other than those described below The exact requirements for a power supply c...

Page 54: ...ins the following components Plug in power supply fixed output voltage 24 V DC 1 04 A Adapter from female socket to terminal blocks Connection leads red and blue 0 75 mm 10 cm length The adapter is pl...

Page 55: ...ction cables can be connected to your PiXtend V2 L Connect the red wire to one of the terminals labeled VCC and the blue wire to GND see Fig 39 The terminal block for the supply voltage POWER SUPPLY I...

Page 56: ...ore using the power supply for the first time The power supply can now be plugged into a 115 or 230 V AC socket The green LED with the designation 5V starts to light up and signals the presence of the...

Page 57: ...ore applying voltage to power supplies or your PiXtend V2 L module Note Please ensure that the power supply complies with the legal requirements of your country before purchase In case of doubt ask th...

Page 58: ...nly permitted by authorized personnel The following figure shows a 60 W DIN rail power supply which can be used for PiXtend V2 L Figure 41 shows in addition to the regular connection of the supply vol...

Page 59: ...a GND connection which is used when an additional power supply e g for other voltages is to be used to supply the digital outputs With the illustrated power supply figure 41 the voltage can still be s...

Page 60: ...bbon cable correctly inserted Check the tight fit on both sides on PiXtend and on the Raspberry Pi Problem The digital outputs do not work In the 1 or true state there is no voltage at the output or t...

Page 61: ...red as an output and set to logical 1 TRUE see Fig 42 The GPIO24 is the signal which is transmitted via the SPI_EN switch and activates the data transmission If the problem is not resolved please note...

Page 62: ...ponent for correct operation only one program at a time is allowed to communicate with the micro controller In C programs the Input and Output structure variables must be declared globally or locally...

Page 63: ...16x digital inputs P 88 12x digital outputs P 93 6x PWM Servo outputs P 125 4x Relays P 98 4x GPIOs usable as input or output P 103 with DHT sensors P 129 Analog I Os 4x analog voltage inputs P 110 2...

Page 64: ...mm Extension Board ePLC Basic ePLC Pro Weight ca 248 g ca 299 g ca 790 g Extension Board ePLC Basic ePLC Pro Current consumption max 1 2 A at 12 V DC max 0 6 A at 24 V DC without loads at digital out...

Page 65: ...prevents further heating by means of built in mechanisms the computing power is limited However the above mentioned load case of 100 on all cores is not realistic or is not a practical application of...

Page 66: ...teel hood Raspberry Pi 3 B original without heat sink or other modifications Results Load on CPU0 at 25 C Load on CPU0 trig calculations Max permissible ambient temperature 75 17 25 Million per second...

Page 67: ...r the case that such a high computing power was necessary The results obtained with CODESYS can also be transferred to other programs programming systems C Python OpenPLC We introduce CODESYS as this...

Page 68: ...DC voltage The majority of the circuit parts on PiXtend V2 L are supplied with 5 V part with 3 3 V The 3 3 V are taken from the Raspberry Pi Via the 40 pin flat ribbon cable connection the 5 V supply...

Page 69: ...tput current self resetting Cooling ja passive heat sink circuit board Reverse polarity protection ja up to 30 V EMC Surge Burst Protection ja Transil diode bidirectional Isolation nein Status display...

Page 70: ...The internal voltage regulator of PiXtend has an energy reserve This ensures an uninterrupted power supply for voltage drops at the supply input of 10 milliseconds The energy reserve is designed to e...

Page 71: ...s connected to the external power supply via the VCC and adjacent GND ports The Raspberry Pi connects to a second power supply 5 1V 2 5A minimum via the microUSB socket Warning If the PI_5V switch is...

Page 72: ...ed via the flat band cable connection The following connections of the Raspberry Pi B 2 B 3 B 3 B are not used on PiXtend V2 L and are therefore available for other applications GPIO27 GPIO25 GPIO5 GP...

Page 73: ...es of the GPIOs are always used in this manual and in other documents of the company Qube Solutions Warning The flat band cable connection between Raspberry Pi and PiXtend V2 L must never be inserted...

Page 74: ...pin header see Figure 47 Applications EEPROM flash memory Sensors ultrasound temperature air pressure CO2 etc Data connection to integrated circuits such as microcontrollers FPGAs ASICs port expander...

Page 75: ...I C clock line clock 5V Supply voltage 5 1 V 5 The GND and 5 V connector which is also located on the four pin connector must be connected to external devices on the I C bus Warning The I C lines and...

Page 76: ...s used the permissible load on the RPi USB ports is reduced to 1x 500 mA without display 2x 500 mA Warning The connection has no fuse protection overloads and short circuits can lead to the breakdown...

Page 77: ...he Raspberry Pi are fed from an internal capacitor After the power supply has been restored and the PiXtend system is restarted the previously backed up data is provided by the microcontroller and can...

Page 78: ...ys released via the actuating push button Connection data Value Comment cable cross section min max 0 2 mm 1 5 mm for rigid and flexible lines cable cross section with with wire end ferrule min max 0...

Page 79: ...ut the mentioned housing parts the spacers ensure a secure stand and prevent the bending of the printed circuit board when inserting and loosening cables In operation PiXtend must be installed in a ho...

Page 80: ...side Lead free RoHS II compliant yes Holes X direction Y direction For Raspberry Pi model B 2 B 3 B for the assembly 7 5 mm 7 5 mm 65 5 mm 65 5 mm 5 mm 5 mm 120 5 mm 120 5 mm 181 5 mm 190 5 mm 231 mm...

Page 81: ...GPIOs as input output or for temperature and humidity sensors DHT11 22 AM2302 Signal processing and data processing Watchdog functionality and voltage monitoring brownout detection data protection lay...

Page 82: ...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 Copyright by Qube Solutions GmbH 82...

Page 83: ...roller 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...

Page 84: ...ry Pi GPIO23 pin 16 is configured as an input the microcontroller is in the normal operating state 2 If the GPIO23 is configured as an output the state of the controller depends on the output level of...

Page 85: ...matically In addition the GPIO24 Pin 18 must be configured as an output and switched to HIGH 3 3 V In the PiXtend test programs under Linux or with CODESYS the GPIO24 is already set automatically to e...

Page 86: ...Atmel5 Note The approval and guarantee of the assembly will be lost if own firmware is loaded 5 http www atmel com Images Atmel 2521 AVR Hardware Design Considerations_ApplicationNote_AVR042 pdf www p...

Page 87: ...P 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 Copy...

Page 88: ...s light barriers Outputs of other control units Outputs of integrated circuits TTL level CMOS level Two different voltage ranges can be set one jumper per input In the 24 V range the inputs correspond...

Page 89: ...current 5 6 mA Reverse polarity protection yes Up to 30 V Isolation no Status display LED orange Description 0 15 on PCB DI0 DI15 on hood Permissible cable length 30 m Table 13 Technical data digital...

Page 90: ...polarity protection yes Up to 9 V Isolation no Status display LED orange Description 0 15 on PCB DI0 DI15 on hood Permissible cable length 30 m Table 14 Technical data digital inputs 5V area Warning...

Page 91: ...s the selection between two voltage ranges adaptation of the switching level The pin strips on which the jumpers can be inserted are located behind the connection terminals of the digital inputs on Pi...

Page 92: ...L must be connected to the 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...

Page 93: ...lve digital outputs are short circuit and overload proof The outputs correspond to protected and short circuit proof outputs as in the PLC standard IEC 61131 2 These are so called high side switches w...

Page 94: ...must be provided externally EMC Surge Burst Protection yes Transildiode bidirektional Isolation no Status display LED green Description VCC DOx x Permissible cable length 30 m Table 15 Technical data...

Page 95: ...Maximum switching capacity 2 5 W 6 W 12 W at 5 V DC at 12 V DC at 24 V DC ON resistance 350 m At logical 1 and nominal load Short circuit protection Current limit Overload protection yes yes yes ther...

Page 96: ...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 ww...

Page 97: ...V This can be achieved for example by a free running diode 1N4004 as shown in fig 62 Inductive loads are DC motors relays magnetic coils etc The ground connections GND of external power supply units...

Page 98: ...eeds Direct operation of DC or AC drives Fans blowers heaters and lighting Large loads with less frequent switching cycles The universal relay can be used to switch everything which requires a maximum...

Page 99: ...for inductive loads a free running diode must be provided externally Contact Resistance 100 m Response time 10 ms excl bounce Fall time 5 ms excl bounce Power consumption 0 25 W per active relay Mech...

Page 100: ...sing must prevent direct contact with energized components cables and metal parts We offer matching housing parts for the assembly on a DIN rail The PiXtend stainless steel hood must be securely conne...

Page 101: ...rking may occur when the load is switched off which could interfere with other devices and damage the relay contacts Inductive loads are motors relays magnetic coils power supplies with transformers e...

Page 102: ...ection must always be used In the case of inductive loads a so called snubber network RC element is to be used externally which intercepts and attenuates voltage peaks during switch off Inductive load...

Page 103: ...ol units or microprocessors Connection of temperature and humidity sensors DHT11 DHT22 AM2302 Unlike other inputs and outputs on PiXtend V2 L the GPIOs only have basic protection devices Therefore onl...

Page 104: ...5 V DC Maximum input voltage 5 5 V minimum 0 5 V PullUp resistor yes can be activated by software per channel 35 k Reverse polarity protection no Isolation no Status display no Permissible cable leng...

Page 105: ...humidity sensor DHT11 DHT22 AM2302 is to be connected to the GPIOs a pull up resistor must be connected to the data line SDA of the sensor as shown in Fig 61 For cable lengths greater than 2 m we reco...

Page 106: ...load 3 k 1 k for min 4 5 V output voltage for 5V TTL high level Load types ohmic Short circuit current 15 mA Rated switching capacity 10 mW Short circuit protection yes Short circuit against GND Isol...

Page 107: ...nd tolerate at least 20 mA It is therefore possible to connect a green LED directly between a GPIO output and GND If the outputs are to be connected to TTL inputs of other devices make sure that the i...

Page 108: ...d 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 pix...

Page 109: ...xternal shunt voltage at the resistor Read out of PT100 1000 sensors with external pre amplifier Connect to the analog outputs of other control units The inputs are robust and can withstand overvoltag...

Page 110: ...can always stay in the 10 V range no jumper and thus enjoy the greater flexibility and robustness of the inputs In the 5 V range jumper plugged in however the same resolution is available for a small...

Page 111: ...iplexer Conversion time 2 s averaging 10 values 20 s Digital resolution 10 bit Smallest digital step LSB 9 77 mV Maximum measurement error at 25 C 1 0 1 V of the value range at default config Temperat...

Page 112: ...nversion time 2 s averaging 10 values 20 s Digital resolution 10 Bit Smallest digital step LSB 4 88 mV Maximum measurement error at 25 C 1 0 05 V of the value range at default config Temperature coeff...

Page 113: ...ugged of the analog voltage inputs If you insert the jumper the software must react accordingly adjust the conversion factor In CODESYS for example the jumper position can be conveniently set via PiXt...

Page 114: ...sitive resistor LDR or the evaluation of a rotary potentiometer If the 5 V range is used one of the two 5V power supplies of PiXtend V2 L can be used for the supply of sensors or voltage dividers Curr...

Page 115: ...ed in the direct vicinity of large pulsed currents e g drives or other sources of interferences If PiXtend is used in a metal housing or control box the shield must be placed on a grounded and bare me...

Page 116: ...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 us...

Page 117: ...ith multiplexer Conversion time 2 s averaging 10 values 20 s Digital resolution 10 bit Smallest digital step LSB 24 4 uA Maximum measurement error at 25 C 1 0 2 mA of the value range at default config...

Page 118: ...ents When using alternating currents the input filters must be observed Only measurements in the positive range are possible Although negative currents can be created they can not be evaluated Warning...

Page 119: ...d V2 L 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 l...

Page 120: ...if such defects are avoided it is not recommended to let the input currents rise permanently or in normal operation above 20 mA Currents greater than 20 5 mA can not be evaluated in the software The...

Page 121: ...of sine rectangle and triangle voltages etc Connect to analog inputs of other control units and power amplifiers Control analog displays The two outputs are short circuit proof and can drive a current...

Page 122: ...the potentiometer setting Temperature coefficient 0 025 per C in the range 0 50 C ambient temperature Data format 16 bit integer 32 bit float raw value right aligned output value in V Short circuit pr...

Page 123: ...utputs The fine tuning of the analog outputs is carried out during the production of Qube Solutions However after a certain time it may be useful to repeat this trimming Each channel has its own poten...

Page 124: ...tion diagram can be found in the analog inputs on page 115 in this document The Digital to Analog Converter DAC for the AOs is connected to the Raspberry Pi via SPI Since the analog outputs AO and the...

Page 125: ...s and the PiXtend power supply On these special outputs either pulse width modulated PWM signals with adjustable frequency and duty cycle can be output or RC servos can be connected directly Applicati...

Page 126: ...inal output current 2 mA Nominal load resistance 3 k for min 4 5 V output voltage Analog filtering Cut off frequency 830 kHz 1st order lowpass Load types ohmic Short circuit current 15 mA Rated switch...

Page 127: ...Mode the duty cycle can be freely configured for each channel The frequency is configured together for both channels 16 bit PWMs common PWMYA PWMYB In Universal Mode the frequency and the duty cycle...

Page 128: ...ufacturer must be observed Warning An external power supply or a rechargeable battery usually 4 7 V DC is required to operate model building services The 5V of PiXtend V2 L Raspberry Pi must not be us...

Page 129: ...which can be obtained from electronics dealers or directly from sales platforms such as Ebay or Amazon from the Far East The price range is 3 15 per sensor The sensors are designed for indoor use The...

Page 130: ...any more CAN differential serial interface bus system fieldbus known from the automotive sector and from CANopen J1939 in the automation area RS232 and RS485 share the UART interface of the Raspberry...

Page 131: ...transfer or Linux terminal Data exchange with other control devices measuring instruments scales and microcontrollers Service access for telephone systems Connection to analog modems and other electr...

Page 132: ...hort circuit against GND Isolation no Input impedance 5 k from RX to GND Status display no Permissible cable length 3 m 30 m unshielded cables shielded cables Table 25 Technical data RS232 Warning If...

Page 133: ...nection or the application of shielding can be found in section 6 5 1 1 Voltage inputs from page 110 in this document With standard settings for the UART interface under Raspbian Linux the RS232 inter...

Page 134: ...uch more The RS485 transceiver on PiXtend is short circuit proof and robust against interference Through a jumper directly next to the terminal block can be a 120 terminating resistor can be optionall...

Page 135: ...ants on the bus Maximum number of participants on the bus theoretically 32 Differential output voltage Min 1 5 V max 8 V with maximum load 27 without load minimum differential input voltage 0 2 V inpu...

Page 136: ...be connected at the ends of the line structure first and last bus node If PiXtend is one of these bus ends the jumper must be set to ON In series with the 120 resistor is a 1 nF capacitor This preven...

Page 137: ...Sending receiving is automatically switched over without having to pay any attention to the software or the bus driver Particularly suitable for Modbus RTU Recommended mode for the RS485 interface on...

Page 138: ...control units microcontrollers measuring instruments and much more Data connection to control units microcontrollers in the automotive sector The CAN transceiver on PiXtend is short circuit proof and...

Page 139: ...ically 112 Differential output voltage min 1 5 V max 3 V at 50 load without load minimum differential input voltage 1 V input threshold Maximum voltages 42 V to CANH or CANL to GND Short circuit curre...

Page 140: ...ends the jumper must be set to ON The CAN controller is connected to the Raspberry Pi via SPI Since the analog outputs AO and the CAN controller share a SPI chip select CS1 you must first switch to th...

Page 141: ...GPIO of the Raspberry Pi is important The interrupt line is connected to the GPIO4 If the GPIO is configured as an input it can be queried in the software or by the kernel module used The interrupt l...

Page 142: ...us Eigenschaft Wert Kommentar Property Value Comment Type of RTC time and date Seconds minutes hours day of month month day of week year and year 12 and 24 hour format Data connection I C bus max 100...

Page 143: ...32 Figure 19 Raspberry Pi lifted from PiXtend flat ribbon cable remains connected 34 Figure 20 Lower hood part placed 35 Figure 21 Raspberry Pi with two spacers screwed 35 Figure 22 Assemble the lower...

Page 144: ...on of the digital inputs 91 Figure 60 Principle circuit diagram GND connection 92 Figure 61 Terminal block digital outputs 93 Figure 62 Principle circuit diagram Connection of the digital outputs 97 F...

Page 145: ...onnection of the RS232 interface 133 Figure 83 Principle circuit diagram Connection of the RS485 interface 136 Figure 84 Jumper for send receive switching of the RS485 interface 137 Figure 85 Principl...

Page 146: ...l blocks 78 Table 12 Technical data printed circuit board PCB 80 Table 13 Technical data digital inputs 24V area 89 Table 14 Technical data digital inputs 5V area 90 Table 15 Technical data DO supply...

Reviews: