Pymate-Core-Tour: Difference between revisions
| Line 13: | Line 13: | ||
== Programming == | == Programming == | ||
The '''USB-C''' connector is used to program the Core in Python | The '''USB-C''' connector is used to program and monitor the Pymate.IO Core in Python. This connection is also used read and store files. | ||
[[File:Pymate-Core-USB.jpg|480px]] | [[File:Pymate-Core-USB.jpg|480px]] | ||
The USB connector fits an USB-to-Serial connection used to display the messages printed by the running script | The USB connector fits an USB-to-Serial connection used to display the messages printed by the running script. | ||
{{underline| | Like any Python script, the error description and call stack is printed out on the standard output (so the USB-to-Serial line) when it occurs. | ||
{{underline|Powering via USB-C:}}<br /> | |||
The Core board can be powered via the USB-C. This make the microcontroller running without the high power features. | |||
This is quite convenient for programming the board without getting it fully powered (9-28V DC). | |||
Notice that board can also be connected via USB while powered via the VIN connector. | |||
== User Interface == | == User Interface == | ||
Revision as of 01:12, 25 April 2026
Abstract
The Core board is the heart beating your automation.
It fits a microcontroller running the user script written in Python.
The user script can interacts with the inputs and outputs (named IOs) and exchange data over the various buses.
The Core is delivered with the libraries facilitating its use.
Programming
The USB-C connector is used to program and monitor the Pymate.IO Core in Python. This connection is also used read and store files.
The USB connector fits an USB-to-Serial connection used to display the messages printed by the running script.
Like any Python script, the error description and call stack is printed out on the standard output (so the USB-to-Serial line) when it occurs.
Powering via USB-C:
The Core board can be powered via the USB-C. This make the microcontroller running without the high power features.
This is quite convenient for programming the board without getting it fully powered (9-28V DC).
Notice that board can also be connected via USB while powered via the VIN connector.