TMCM-1141 Hardware Manual (Rev. 1.06 / 2015-JAN-09)
13
3.2.3.2 Analog Input IN_0
The eight pin connector of the TMCM-1141 provides one dedicated analog input IN_0.
This dedicated analog input offers a full scale input range of 0… +10V (0..+10.56V nom.) with a resolution
of the internal analog-to-digital converter of the microcontroller of 12 bit (0… 4095).
The input is protected against higher voltages up-to +24 V using voltage resistor dividers together with
limiting diodes against voltages below 0 V (GND) and above +3.3 V DC (see figure below).
+3.3V
IN_0
22k
ADC input
(microcontroller)
10k
10nF
GND
GND
GND
Figure 3.7 General purpose inputs (simplified input circuit)
With TMCL firmware the analog value of this input may be read using command GIO 0, 1. The
command will return the raw value of the 12bit analog-to-digital converter between 0 .. 4095. It is also
possible to read the digital value of this input using TMCL command GIO 0, 0. The trip point (between
0 and 1) will be at approx. +5V input voltage (half the analog input range).
3.2.3.3 Outputs OUT_0, OUT_1
The eight pin connector of the TMCM-1141 offers two general purpose outputs OUT_0 and OUT_1. These
two outputs are open-drain outputs and can sink up to 100 mA each. The outputs of the N-channel
MOSFET transistors are connected to freewheeling diodes each for protection against voltage spikes
especially from inductive loads (relais etc.) above supply voltage (see figure below).
OUT_0 and OUT_1 should not be connected to any voltage above supply voltage of the module due to
the internal freewheeling diodes.
VDD
microcontroller
10k
since V1.3
GND
GND
Figure 3.8 General purpose outputs
www.trinamic.com