Double ternary multiplexer TRIMUX
=================================

IC1,IC2: DG403 (DIP16)
C1,C2,C3,C4: 0.1uF (tantalum)
JP1,JP2: right-angle 5-pin headers
JP3: right-angle 3-pin header

Connector JP1:
1) S1 - select input of the 1st ternary multiplexer
2) N1 - connected to C1 (common signal of the 1st ternary multiplexer) 
   if S1=N ("negative" or -5V)
3) O1 - connected to C1 (common signal of the 1st ternary multiplexer) 
   if S1=O ("zero" or 0V)
4) P1 - connected to C1 (common signal of the 1st ternary multiplexer) 
   if S1=P ("positive" or +5V)
5) C1 - common signal of the 1st ternary multiplexer

Connector JP2:
1) S2 - select input of the 2nd ternary multiplexer
2) N2 - connected to C2 (common signal of the 2nd ternary multiplexer) 
   if S2=N ("negative" or -5V)
3) O2 - connected to C2 (common signal of the 2nd ternary multiplexer) 
   if S2=O ("zero" or 0V)
4) P2 - connected to C2 (common signal of the 2nd ternary multiplexer) 
   if S2=P ("positive" or +5V)
5) C2 - common signal of the 2nd ternary multiplexer

Connector JP3:
1) V-NEG - negative voltage (typically -5V)
2) GND - ground wire
3) V-POS - positive voltage (typically +5V)

Ternary signal may be connected to positive voltage (+1 or P), negative 
voltage (-1 or N) or ground (0 or O). By connecting logic voltage pins 
of DG403 (Vl and GND) to upper or lower part of full range of analog 
voltage (between V- and V+) we may get two different types of basic 
ternary elements - E12 (Vl=Ground, GND=Negative) and 
E21 (Vl=Positive, GND=Ground). Each DG403 may have two E12 or 
two E21 elements. One E12 and one E21 may be connected together 
to create ternary multiplexer (MUX) or universal ternary element.
So two DG403 may create two universal ternary elements 
(ternary multiplexers/demultiplexers).

As you can see on lower part of the scheme.jpg in order to get 
ternary inverter we need to connect N2 to +5V, O2 to 0V and P2 to -5V 
and after that S2 will be input of ternary inverter and C2 will be 
output.

See http://www.trimux.com and http://www.ternary.info for more details.

Eagle design (trimux.sch and trimux.brd) and image of schematics 
released under GPL v3 ( http://www.gnu.org/licenses/gpl.txt )

Copyright (c) 2010, Alexander A. Shabarshin <ashabarshin@gmail.com>
