Revolution Pi Compact FAQ
- 1 Would it be possible to switch off the watchdog timer for the digital outputs of the RevPi Compact Module?
- 2 The digital outputs of the RevPi Compact Module cause a peak when switching on, what can I do?
- 3 What is the XXX chip used to multiplex analogue to digital conversions (item 2)?
- 4 How can I access the Digital Inputs / Outputs from Codesys?
- 5 I want to count rising edges with the Revolution Pi Compact module, is that possible?
- 6 What is the sampling rate or cycle time of the analogue inputs?
- 7 I want to read out an analog PNP sensor with Python – how can I do that?
- 8 Can the digital inputs work as counters?
- 9 Can the digital outputs be used for PWM?
- 10 I want to connect RS-485 to PLC by I/O RS-485 at Pin P and N (not USB), what do I have to do?
- 11 There are two different supply voltages – device and IO channels. Is there a sequence to be observed?
- 12 I want to set a GPIO pin high and I don't use piControl. Why does the pin always go low?
- 13 There is an undocumented interface on the Revolution Pi Compact, can this be?
- 14 Can the Revolution Pi Compact be expanded, e.g. with I/O modules?
- 15 Can the Revolution Pi Compact handle measurements of negative Voltages?
- 16 Verwandte Artikel
Would it be possible to switch off the watchdog timer for the digital outputs of the RevPi Compact Module?
Unfortunately, it is impossible to deactivate the watchdog without hardware modifications.
The digital outputs of the RevPi Compact Module cause a peak when switching on, what can I do?
What was the solution?
There is a workaround that fixes this behaviour on reboot, see here:
What is the XXX chip used to multiplex analogue to digital conversions (item 2)?
I have found the following from various specs, etc:
DAC is a Dual channel DAC082S085 chip connected to SPI0 of the Raspberry Pi
ADC is multiplexed from an XXX chip (I assume on SPI1)
Digital I/O is via the GPIO pins (GPIO00 - GPIO27).
Answer:
The multiplexer: DG408LE
the selection of the analog input is done via GPIO6, GPIO12 and GPIO13
GPIO | DG408LE |
---|---|
GPIO6 | A0 |
GPIO12 | A1 |
GPIO13 | A2 |
How can I access the Digital Inputs / Outputs from Codesys?
There is a tutorial which describes the "blinking lights" using Codesys
I want to count rising edges with the Revolution Pi Compact module, is that possible?
Yes, look here:
What is the sampling rate or cycle time of the analogue inputs?
There is a discussion in the forum here, but it is in German
https://revolutionpi.de/forum/viewtopic.php?f=47&t=2945#p10564
Finally, the sampling rate is one second with piControl.
Higher sampling rates are possible without piControl
General information about the analogue inputs and outputs:
Tutorials on the topic with and without piControl
https://revolutionpi.com/tutorials/ein-ausgaenge-steuern-mit-picontrol-compact/
https://revolutionpi.com/tutorials/ein-ausgaenge-steuern-ohne-picontrol-compact/
I want to read out an analog PNP sensor with Python – how can I do that?
Have a look at this tutorial:
Have a look at the BitMirror example:
The original discussion is here:
Can the digital inputs work as counters?
No, this is not an integrated function of the Revolution Pi Compact.
Can the digital outputs be used for PWM?
No, this is not an integrated function of the Revolution Pi Compact.
I want to connect RS-485 to PLC by I/O RS-485 at Pin P and N (not USB), what do I have to do?
Have a look at our tutorial
https://revolution.kunbus.com/tutorials/serielle-geraete-anschliessen-compact/
There are two different supply voltages – device and IO channels. Is there a sequence to be observed?
No, the sequence is not relevant. However, external devices should only be connected in a de-energized state and checked for correct wiring before commissioning to avoid destruction.
Digital Inputs and Outputs (Compact) - Industrial Raspberry Pi
I want to set a GPIO pin high and I don't use piControl. Why does the pin always go low?
The digital outputs are equipped with a watchdog. A watchdog is a component that monitors the functioning of other components in a system. In this case, the digital outputs must be rewritten at least every 9 milliseconds. If this does not happen, the watchdog sets the digital outputs to “low” to establish a safe state! As the system might have crashed.
There is an undocumented interface on the Revolution Pi Compact, can this be?
The HDMI interface is present but is not considered a warranted capability; therefore we do not warrant or support the HDMI interface.
Can the Revolution Pi Compact be expanded, e.g. with I/O modules?
No, the Revolution Pi Compact is not expandable.
Can the Revolution Pi Compact handle measurements of negative Voltages?
No, the range is 0 - 10 V.
8 x analog Inputs |
2 x analog Outputs |
https://revolution.kunbus.com/revpi-compact/