Pymate-16ADI16DO-Tour: Difference between revisions
m (Changements mineurs de relecture) |
|||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{PYMATE-HEADER}} | ||
==Abstract== | ==Abstract== | ||
| Line 18: | Line 19: | ||
The '''16ADI16DO''' only fits on the Pymate Bus connector. | The '''16ADI16DO''' only fits on the Pymate Bus connector. | ||
Just slide the expansion onto the Core Pymate Bus. | Just link the two plastic profiles with delivered linking clip (not represented), slide the expansion onto the Core Pymate Bus. Done ! | ||
[[File:Pymate-16ADI16DO-connecting.png]] | [[File:Pymate-16ADI16DO-connecting.png]] | ||
| Line 51: | Line 52: | ||
== Configuring Board_ID == | == Configuring Board_ID == | ||
The '''board_id''' is the unique identifier of the expansion board on the CAN bus. The expansion can have an ID from 1 to 127 (7 bits). | The '''board_id''' is the unique identifier of the expansion board on the CAN bus.<br />The expansion can have an ID from 1 to 127 (7 bits). | ||
The '''default board_id''' of 16ADI16DO expansion '''is 1'''. | |||
{{dbox-orange|The ID 0 is reserved to the CORE board}} | {{dbox-orange|The ID 0 is reserved to the CORE board.}} | ||
The CAN ID can be configured with the User button. | The CAN ID can be configured with the User button. | ||
| Line 62: | Line 65: | ||
[[File:Pymate-16ADI16DO-button.png|480px]] | [[File:Pymate-16ADI16DO-button.png|480px]] | ||
Press the user button and keep-it down at least one second to start the '''board_id''' setting. | |||
Once started, the procedure is interrupted when the count of LED2 blinks correspond to the suited board_id. | |||
The steps describes how to set board_id to 4: | |||
* Press the user button and keep-it down one second. | |||
* The Led2 blink n=1 time THEN wait 2 sec. Keep the button down to go next step. | |||
* The Led2 blink n=2 times THEN wait 2 sec. Keep the button down to go next step. | |||
* The Led2 blink n=3 times THEN wait 2 sec. Keep the button down to go next step. | |||
* The Led2 blink n=4 times THEN wait 2 sec. Release the button to keeps and store the value 4 as board_id. | |||
Once configuration written down, the LED1 is lit and board get restarted (which light-off LED1). | |||
=== Configuration File === | === Configuration File === | ||
The '''board_id''' is stored onto the {{fname|pymate.ini}} configuration file of the expansion board. | The '''board_id''' is stored onto the {{fname|pymate.ini}} configuration file of the expansion board. | ||
This file also contains additional configuration parameters like {{can_baudrate}} (1 Mbs by default) and {{out_reset}} resetting the output at expansion startup. | This file also contains additional configuration parameters like {{fname|can_baudrate}} (1 Mbs by default) and {{fname|out_reset}} resetting the output at expansion startup. | ||
{{underline|Remark:}} Accessing the configuration file requires special technique due to the lack of USB port on the Pymate Expansion. | {{underline|Remark:}} | ||
* Accessing the configuration file requires special technique due to the lack of USB port on the Pymate Expansion. | |||
* That information can be shared with advanced user upon condition. | |||
== User LEDs == | == User LEDs == | ||
| Line 109: | Line 127: | ||
== Analog Inputs == | == Analog Inputs == | ||
Each of the digital input can by | Each of the digital input can be reconfigured by user script to act like a '''analog input'''. | ||
When activated as analog, the input can read the DC voltage level between 0 to 10V. | When activated as analog, the input can read the DC voltage level between 0 to 10V. | ||
| Line 116: | Line 134: | ||
{{underline|'''Warning:'''}} <br /> | {{underline|'''Warning:'''}} <br /> | ||
* 10V DC is the | * Input impedance is around 100kOhms. A low impedance (<= 500 Ohms) signal should be connected to any input to avoid degrading accuracy of measurement. | ||
* 0-10V DC is the full range for analog input ready. Applying higher voltage (24V) is allowed without degrade or destroy the board. However, reading will not overtake 10V. | |||
* '''Never''' apply AC voltage to an input! | * '''Never''' apply AC voltage to an input! | ||
=== Examples === | === Examples === | ||
See the example section for more details about wiring and scripting such feature. | See the example section for more details about wiring and scripting such feature. | ||
{{PYMATE-TRAILER}} | |||
Latest revision as of 10:54, 13 July 2026
Abstract
The 16ADI16DO board is an expansion adding 16 Digital Input & 16 digital output.
This board is programmed with a custom firmware making it ready to use with the Pymate Core.
Just slide the expansion on the Pymate Core bus and it is ready to use.
The Pymate bus design made it possible to daisy chain several expansion board, adding more and more IO to the core.
Thanks to the Core libraries, no software update is required to get instant benefit of the expansion board.
Connecting
The 16ADI16DO only fits on the Pymate Bus connector.
Just link the two plastic profiles with delivered linking clip (not represented), slide the expansion onto the Core Pymate Bus. Done !
The 16ADI16DO communicates with the core board via the CAN bus.
See the Pymate Bus documentation for more details.
Pymate Input bus
The Pymate male bus is used to connects the expansion board onto the Core.
Pymate Output bus
The Pymate bus is replicated on the other side of the board. That female connector can be used to daisy chain expansions.
Powering
The 16ADI16DO expansion is be powered through VIN.
VIN can receives from 9 to 28V DC.
The POWER LED is fully lit only when the power comes from VIN connector.
Configuring Board_ID
The board_id is the unique identifier of the expansion board on the CAN bus.
The expansion can have an ID from 1 to 127 (7 bits).
The default board_id of 16ADI16DO expansion is 1.
The CAN ID can be configured with the User button.
Configuration procedure
The configuration switch is used to modify the value of the board_id.
Press the user button and keep-it down at least one second to start the board_id setting.
Once started, the procedure is interrupted when the count of LED2 blinks correspond to the suited board_id.
The steps describes how to set board_id to 4:
- Press the user button and keep-it down one second.
- The Led2 blink n=1 time THEN wait 2 sec. Keep the button down to go next step.
- The Led2 blink n=2 times THEN wait 2 sec. Keep the button down to go next step.
- The Led2 blink n=3 times THEN wait 2 sec. Keep the button down to go next step.
- The Led2 blink n=4 times THEN wait 2 sec. Release the button to keeps and store the value 4 as board_id.
Once configuration written down, the LED1 is lit and board get restarted (which light-off LED1).
Configuration File
The board_id is stored onto the pymate.ini configuration file of the expansion board.
This file also contains additional configuration parameters like can_baudrate (1 Mbs by default) and out_reset resetting the output at expansion startup.
Remark:
- Accessing the configuration file requires special technique due to the lack of USB port on the Pymate Expansion.
- That information can be shared with advanced user upon condition.
User LEDs
The 16ADI16DO expansion also expose two User LEDs free for use remotely.
Some place have been made available for custom labels.
Examples
See the example section for more details about wiring and scripting such features.
Input/Output
Inputs
The 16ADI16DO expansion offers 16 digital inputs, each being 24V tolerant.
The digital inputs uses a Schmitt Trigger circuitry to enforce state stability.
The input detects a HIGH state from 8V DC then the voltage must drop below 5V to activates the LOW state.
Each input is fitted with an indicator LED reflecting the actual state of the digital input.
Outputs
The 16 digital outputs are PNP transistors connecting supply voltage (VIN) to the positive lead of the LOAD.
The maximum current is 250mA per channel, quite enough for activating most of the devices (like relay).
Each output is fitted with an indicator LED, a convenient indicator of the output state.
Examples
See the example section for more details about wiring and scripting such features.
Analog Inputs
Each of the digital input can be reconfigured by user script to act like a analog input.
When activated as analog, the input can read the DC voltage level between 0 to 10V.
Warning:
- Input impedance is around 100kOhms. A low impedance (<= 500 Ohms) signal should be connected to any input to avoid degrading accuracy of measurement.
- 0-10V DC is the full range for analog input ready. Applying higher voltage (24V) is allowed without degrade or destroy the board. However, reading will not overtake 10V.
- Never apply AC voltage to an input!
Examples
See the example section for more details about wiring and scripting such feature.
PymateIO all right reserved © 2026 - Written by MCHobby for PymateIO

