Many claimed that they were building a ternary computer, however, as far as I know, no one completed the project. The Triador project does not give empty promises!
I am building a very simple but functional and at the same time uncompromisingly ternary calculator based on a balanced ternary number system. The entire computer will be built only on the basis of ternary multiplexers, which are assembled from analog keys. Follow the mini-series about building my calculator on YouTube:
![](https://habrastorage.org/getpro/habr/post_images/a30/5de/04d/a305de04dc4982bc2d76ac343cd3e1fb.jpg)
To begin with, a story from my childhood
22 , , 2020 . , 22 . , , , . , , , , : ยซ, , ?ยป : " ". , ( , ), . , . , 22 .
( ), 22 , , . 22 1970 -70. , , , .
, - . , , , . , , ! . , , ! :
![](https://habrastorage.org/webt/f3/xu/nm/f3xunmbq1vcxhrem4rgeojcvlrm.jpeg)
, !
s1e1: -
, -, , :
![](https://habrastorage.org/getpro/habr/post_images/724/503/b19/724503b1982f46a07e1432fa95d8d7ab.jpg)
? , . , , , . -, :
![](https://habrastorage.org/getpro/habr/post_images/200/2ef/41f/2002ef41f7d2f4e04ed628f67bf403a6.png)
- , "" : -5, 0 +5 .
""? , , +5 , , -5 , , 0 , . 0 , 0 . .
- :
![](https://habrastorage.org/getpro/habr/post_images/8d1/219/d4f/8d1219d4f47f34b31006184a371ce6c5.png)
, : .
:
s1e2:
โ , . , ; , , " ". , , .
, 0 9, , . , , 7204 " , , ". , 0, 1 2, , .
![](https://habrastorage.org/webt/cz/e-/ee/cze-eepro8zhxk1hf8bnzxiakkm.jpeg)
โ ! . , .
โ , . .
, . , ! 0, 1 -1. , '-' 1, , N, O P. , PONP " 27, , , ".
, , () . , , , ; , -5 NPP: -9 + 3 + 1.
:
s1e3:
: . , , .
, S,N,O,P C. , , - โ -!
![](https://habrastorage.org/webt/_c/ln/4p/_cln4pdoyjcu_0tuiemom5mh_ko.jpeg)
S () , ,
. S C N, O P.
- :
![](https://habrastorage.org/webt/15/7p/ir/157pirgfdmulwi-xioei1xcelqa.png)
, โ , . , .
, , Shaos. dg403, , , :
![](https://habrastorage.org/webt/4a/mb/ad/4ambad_bocdk6_0khdqve6grzjs.png)
, :
![](https://habrastorage.org/webt/ha/q3/fy/haq3fy6hvr_aavfye1qdxvwxpve.jpeg)
13 : , S,N,O,P C, . , dg403 ( !), , ( ).
!
s1e4:
, โ , . :
![](https://habrastorage.org/webt/d-/zt/zx/d-ztzxtsrfxn3k3knlrhs8uutcm.png)
, :
![](https://habrastorage.org/webt/op/7y/b4/op7yb4ddok5w3bvzsgcgp8tcgv8.jpeg)
. : A,B,C Q. , A,B C , Q . , C , Q A:
![](https://habrastorage.org/webt/pv/wn/gg/pvwnggzxrvqcxsyb-b0axsxo4qy.png)
C , Q B, A:
![](https://habrastorage.org/webt/fj/ku/t1/fjkut1nbfjgjwjwhovsb0gqb2tk.png)
, C ? , Q , , , C . A B , , :
![](https://habrastorage.org/webt/2k/wp/rv/2kwprvpnoywk70ie3hrc2vuhrds.png)
C, , , . , , . , .
. .
, , D--. gated D-latch. , : D () E (enable). Q D E=1, E=0.
![](https://habrastorage.org/getpro/habr/post_images/f19/4f3/f2a/f194f3f2a5e42832aed2ecd55cb340e1.gif)
(flip-flop) (gated D-latch) :
![](https://habrastorage.org/getpro/habr/post_images/0a9/33d/8ae/0a933d8ae91280022abbafcca2ab3a1d.svg)
Master-slave edge-triggered D flip-flop.
, ? , --!
![](https://habrastorage.org/webt/vf/q2/tw/vfq2twzdu6mjhqaamolgxjtbjl0.png)
, PO ON. , . -5 A, , . , , . .
, , , :
s1e5: random-access memory
:
![](https://habrastorage.org/webt/lw/he/2q/lwhe2qotbi-ibauqurve1cxsxao.jpeg)
:
![](https://habrastorage.org/webt/b3/sg/nk/b3sgnkn_9xrvj5usyzcpovaglt8.png)
, A , Q , . , .
, 13 , . ? , 1--13:
![](https://habrastorage.org/webt/0t/e-/a2/0te-a2klrdklwa_hr-g4ddvhmww.png)
, โ 3, 13, .
, 27 , 13. , , . 1:13 โ 1:27:
![](https://habrastorage.org/webt/a-/2o/vo/a-2ovo7bhbxbteqrtvtxdlahumq.png)
, 1:13. ? , , , . , , . , . A Q.
โ . , . , . โ 1:13. . 151 !
![](https://habrastorage.org/webt/m1/vb/w8/m1vbw8cspt-3wbmewr7_nwscszg.png)
, :
, . , - .
If you liked it, then to brighten up the expectation of the next season, you can try your hand at programming the Triador now, I specially prepared an emulator for this .
Happy Cosmonautics Day and see you on the air again!