Write documentation
This commit is contained in:
17
doc/source/usage/calibration.rst
Normal file
17
doc/source/usage/calibration.rst
Normal file
@@ -0,0 +1,17 @@
|
||||
.. _usage_calibration:
|
||||
|
||||
Calibration
|
||||
===========
|
||||
|
||||
In order to provide higher measurement accuracy, the PT1000 measurement can be calibrated. The calibration only calibrates the internal :ref:`hw_analog_fe` and not the PT1000 Sensor element itself.
|
||||
The Sensor element must be conform with the standard PT1000 norms.
|
||||
|
||||
Tests have shown, that a calibration is most likely not necessary, because the resolution of the 12 bit analog measurement is far worse than the reistance reading error produced by the :ref:`hw_analog_fe`.
|
||||
Calibration might only be necessary if no precission reistors in the frontend hardware are used.
|
||||
|
||||
Calibration can be performed the following ways:
|
||||
|
||||
Command Line Calibration
|
||||
------------------------
|
||||
|
||||
Use the :ref:`command_line` to invoke the :ref:`shell_command_calibrate` command.
|
60
doc/source/usage/command-line.rst
Normal file
60
doc/source/usage/command-line.rst
Normal file
@@ -0,0 +1,60 @@
|
||||
.. _command_line:
|
||||
|
||||
Command Line Interface
|
||||
======================
|
||||
|
||||
This section describes the command line interface located on the UART interface.
|
||||
The command line interface is implemented using a "shellmatta" shell module <https://git.shimatta.net/shimatta/shellmatta>
|
||||
|
||||
Hardware Settings
|
||||
-----------------
|
||||
|
||||
General Settings
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
The UART is configured for the following settings:
|
||||
|
||||
- 115200 Baud
|
||||
- 1 Stopbit
|
||||
- No parity
|
||||
- 8 data bits
|
||||
|
||||
|
||||
Setup in Debug Build
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If the Reflow controller is build in **debug** mode, the UART is located on the internal spring contact connector, which is also used for the SWD interface.
|
||||
|
||||
Setup in Release Build
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
In case of a **release** build, the UART is externally accessible on the DIGIO Header. The voltage level is 3.3 Volt LVCMOS. The inputs are ESD protected. Overvoltage is interally clamped and may dammage the clamping diodes!
|
||||
|
||||
- DIGIO2: Reflow Controller's TX
|
||||
- DIGIO3: Reflow Controller's RX
|
||||
|
||||
|
||||
Shell Commands
|
||||
--------------
|
||||
|
||||
The following shell commands are available.
|
||||
|
||||
- `safety-flags <safety-flags_>`_ (alias: flags)
|
||||
- `calibrate`_ (alias: cal)
|
||||
|
||||
safety-flags
|
||||
~~~~~~~~~~~~
|
||||
|
||||
The ``safety-flags`` (``flags``) command displays the status of all safety flags and analog monitors. See: :ref:`safety_flags`
|
||||
|
||||
|
||||
.. _shell_command_calibrate:
|
||||
|
||||
calibrate
|
||||
~~~~~~~~~
|
||||
|
||||
The ``calibrate`` (``cal``) command is used to calibrate the :ref:`hw_analog_fe`, in order to ensure correct resistance measurement.
|
||||
Calibration is most likely not necessary! See the :ref:`usage_calibration` page.
|
||||
|
||||
The command will guide you through the calibration process and will ask for two reference resistors with ``1000 Ohm`` and ``2000 Ohm`` values.
|
||||
Calibration can be aborted using ``CTRL + C``.
|
12
doc/source/usage/index.rst
Normal file
12
doc/source/usage/index.rst
Normal file
@@ -0,0 +1,12 @@
|
||||
.. _usage:
|
||||
|
||||
Reflow Controller Usage Guide
|
||||
=============================
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
command-line
|
||||
calibration
|
||||
|
||||
|
Reference in New Issue
Block a user