rs232

ZXNet echo conference «real.speccy»

From Kirill Frolov To All 7 February 2002

Immediately click on RESET, Vassili!

07 Feb 02 01:20, Kirill Frolov wrote to Vassili Klimov:

VK>>> Please post the schematic for the subject on BB51/BB53. As far as I remember, she was in
VK>>> some Online, and then somewhere else...
KF>>> Or maybe it’s not necessary?

Well, if it’s really necessary. Scheme from VMG.

(C) VIC, 1997, Kharkov, Ukraine

Serial port for Spectruma!!!

Description of an improvement that will allow you to connect to your computer any external device designed for a serial port. For example, a mouse, modem or printer. You can order a ready-made port board or software from me by calling the phone number given at the end of the article or writing to the addresses indicated there. So, the schematic diagram:

┌──┬──┬──┐ ┌──┬──┬────┐
A12>──1┤A0│DC│Q0╞15─────────┐ <─8┤D0│PT│ │ ┌──<+5V
A13>──2┤A1│ │Q1╞14───┐ │ <─7┤D1│ │ │ │
A14>──3┤A2│ │Q2╞13 │ │ <─6┤D2│ │ │ │
│ │ │Q3╞12 │ │ <─5┤D3│ │CLK0├9──┼─┐
│ │ │Q4╞11 │ │ <─4┤D4│ │G0 ├11─╡ │
A3>──4╡E1│ │Q5╞10 │ │ <─3┤D5│ │OUT0├10─┼─┼──>FR1
OIRQ>──5╡E2│ │Q6╞9 │ │ <─2┤D6│ ├────┤ │ │
A15>──6┤E3│D1│Q7╞7 │ │ <─1┤D7│ │CLK1├15─┼─╡
└──┴──┴──┘ │ │ ├──┤ │G1 ├14─╡ │
│ └────21╡CS│ │OUT1├13─┼─┼──>FR2
D1 - 1533ИД7 │ A8>──19┤A0│ ├────┤ │ │
D2 - 580ВИ53 │ A9>──20┤A1│ │CLK2├18─┼─╡
D3 - 580ВВ51(ИК51) │ ┌─22╡RD│ │G2 ├16─╡ │
D4 - К170УП2 │ WR>┼─23╡WR│D2│OUT2├17─┼─┼──>FR3
D5,D6 - К170АП2 │ │ └──┴──┴────┘ │ │
│ └──────────────────╡ │
1.75Mhz >──────────────┼───Ї───────────────────────┼─┘
┌─────────────────┘ │ ┌───────────────┘
│ ┌───┬─────┬───┐ │ ╔════╪══════════════════╗
D0>──┼─27┤D0 │УСАПП│ │ │ ║ │ ┌───┬──┬──┐ ║
D1>──┼─28┤D1 │COM2 │ │ │ ║ є1─┼─4┤X1 │ │Y1╞13──4Є
D2>──┼──1┤D2 │ │ │ │ ║ ║ ╞─3┤УП1│ ├──┤ ║
D3>──┼──2┤D3 │ │ │ │ ║ ║ │ ├───┤ │Y2╞12──5Є
D4>──┼──5┤D4 │ │ │ │ ║ ╟2─┼─5┤X2 │ ├──┤ ║
D5>──┼──6┤D5 │ │ │ │ ║ ║ ╞─2┤УП2│ │Y3╞11──6ґ
D6>──┼──7┤D6 │ │ │ │ ║ ║ │ ├───┤ ├──┤
D7>──┼──8┤D7 │ │ │ │ ║ ╟3─┼─6┤X3 │ │ ├15───<+5V
│ ├───┤ │ │ │ ║ ║ ╞─1┤УП3│D4│ ├8──┐
└─11╡CS │ │RxR├14 │ ║ ║ │ └───┴──┴──┘ ┴
WR>────10╡WR │ │TxR├15 │ ║ ╚══╪═══════════════╗ TXD
RD>────13╡RD │ ├───┤ │ ║ R1║┌─Ґ──────>2
A8>────12┤C/D│ │TxD├19─┼─1Є 1K║ ┌──┬──┬──┐ │ ║ RXD
├───┤ │RTS╞23─┼─3Ґ1───┼─2┤X1│ │ │ │ ╟1─────<3
FR1 ┌──25┤RxC│ │DTR╞24─┼─2Є │ ├──┤ │Y1╞7┘ ║ RTS
>────╨───9┤TxC│ ├───┤ │ ║ ╞─1┤C │D5│ │ ┌─Ґ──────<4
├───┤ │RxD├3──┼─4Є │ └──┴──┴──┘ │ ║ CTS
┌───21┤RES│ │CTS╞17─┼─6Є │ ┌──┬──┬──┐ │ ╟3─────<5
│ ┌─20┤CLK│ DD3 │DSR╞22─┼─5Ґ2───┼─2┤X1│ │Y1╞7┘ ║ DCD
│ │ └───┴─────┴───┘ │ ║ │ ├──┤ │ │ ╙2─────<8
│ └─────────────────────┘ ║ └─1┤C │ ├──┤ SG
┴ ║ ├──┤ │Y2╞6─┐ ┌─────>7
╙3─────3┤X2│D6│ │ │ ┴ DTR
└──┴──┴──┘ └───────>20
выв.4 D5 и D6 соединить с GND
Выв.5 D5 и D6 соединить с -12В
Выв.8 D5 и D6 соединить с +12В

Адреса портов контроллера:

#80F7, #81F7, #82F7, #83F7 - порты таймера
#90F7, #91F7 - порты интерфейса COM1

При работе с портом вначале необходимо запрограммировать тай-
мер на режим деления частоты (режим 3). При этом необходимо сле-
дить, чтобы результирующая частота не выходила за пределы допус-
тимых значений (максимальная частота на входах RxC/TxC УСАПП по
паспорту составляет 615 KHz).

Тип примененного разъема - DB-25P(standard external modem connector). For those who don’t know, DB-25P means a
male or male connector.

To connect COM2 you need to use 3 chips
(BB51, UP2, AP2). and inputs 9 and 25 of the USART must be supplied instead of the FR1 signal with the FR2 signal from the timer, and at input 11 the signal from the 13
output ID7. The TxD signal must use the free
half of D5.

For more information, please contact directly to
me.

┌───────────────────────────
│ (c) Vic at 10/29/96 │
│ Phone: (0572) 10-50-26 │
└──────────────────────────────

Now a little history...

It all started when a guy came to me with two 174UH4A boards, which we hooked up to the tape recorder port. Before this, there were a couple of articles in magazines and a connection diagram for some kind of gadget ordered from some cooperative, called “Modem
for ZX.”

Of course, nothing worked out for us, but the fact itself was enough for a long time. Afterwards there were several schemes that I saw, but due to
the lack of software and experience in programming, they were left without
attention. But in vain - there were some very good solutions there.

Then there was a short break,during which I tried to use pieces of AON circuits, but there were no results.
Then a modem circuit appeared in the Spectrofon magazine, for playing Steward using a modem. At the same time, we finally hooked up with Sinclair to
AONu. And as a result, I had the Spectrofon version, and my friend had the AON version. We found a program for Tape Modem and things went in full swing. We spoke for the first time using a computer, and not just any computer, but a Speccy. We downloaded files, albeit at a speed of
1800 baud, but then it was very cool. I still remember when we were broadcasting Satisfaction, ZX-FORMAT'1... I even tried to write software for this type of modem, but in the end I realized that it didn't have any special prospects.

The idea of ​​communicating with pussies and at
higher speed became more and more attractive. So a standard had to be chosen, and that standard was HAYES. Therefore, I began to work in this direction, read literature, asked people, and in the summer of 96 I got my first modem - Faylin 1200 without protocols. Nowadays this is of course funny (for Kharkov), but for reference it was not entirely bad, even very good. And so I began developing an interface for connecting the modem, fortunately by this time I had become relatively good at understanding electronics. And finally everything was assembled and turned on and, asalways, nothing worked the first time.

After wasting two days, everything worked so well that I was even surprised how it could not have worked before. This significant date
is September 7, 1996.

In the evening of the same day, I first contacted the pisish BBS and everything
that I had read and heard about the BBS suddenly appeared before my eyes, and, as they say, I felt the steepness of the phenomenon. At this time I was using some kind of terminal written under BB51, but I doubt that the author wrote it for a really working modem, since there were several glitches with which it was absolutely impossible to work with. I corrected it, improved it a little, added exchange protocols
and thoroughly enjoyed my work. But the question arose about improving the quality, and here the graphics expansion scheme to 512x192 mode came in handy. It was a real thrill to work, especially when I saw the BBS screensavers in 85 characters per line mode, that is, without breaking lines - as it SHOULD BE. After that I added
ANSI support, the YMODEM protocol, a bunch of modes and I still use it to this day.

Also, an interface scheme has now been developed that provides
connection of any ISA card to a sinclair, that is, a multi-
modem, an internal modem, etc. It is also absolutely easy to connect a screw, a mouse, or normal flops. Also, at the time when I had just released the diagram of myinterface, I learned about another
Kharkov development, which is really not worth attention at all
if only for the fact that the modem ports are accessible using the #FFFD mask. This
development was notorious under the name "Shepelevskaya
scheme"...


* Originally in NETMAIL
* Crossposted in REAL.SPECCY
* Crossposted in HARDWARE.ZX