14/10/2015 | Blog, Cheese paper projects, Communication interfaces, Converters, Elettronica, Projects
A picture is worth a thousand words, they say. So, two pictures are worth two thousand words, and three pic… oh, wait, I just heard my own conscience screaming “Hey, weirdo, what the heck are you trying to do?”.
In these pictures I show the last home baked PCB. It’s the MiniMax RS232 TTL Multiform Interface board. The pictures were taken to explain how to fit correctly the pin #7 from DB9 connector to the PCB with a single pin of a strip line 90 degrees connector. I hope no other words are necessary to explain what you can see clearly in the pictures. But, if you need any other explanations, please leave a comment below.
1) Detach a pin from a 90° stripline connector and remove the plastics.
2) Place the pin on the component side of the board
3) Better view of the layout of the DB9 connector and the placed pin.
4) On the component side, fit the pin so that it goes into the “tube” #7 of the DB9 connector
5) Another view of the fitted pin
6) If the pin is too long, just cut it
7) Start to solder DB9 connector to the PCB
8) Soldering completed. You all can do a better job than mine, don’t you?
02/10/2015 | Blog, Cheese paper projects, Communication interfaces, Elettronica, MiniMax Projects, Projects
RS232 to TTL multiform MiniMax interface (serial, TTL, 1-Wire)
Below we are going to describe a simple interface circuit for RS232 serial line; nothing new, in the web there are many similar schemes. In this circuit we tried to put together, with the bare minimum of components, various features as listed here:
– Interface signals TTL / C-MOS 0/5 volt with ability to power devices connected (a few mA)
– Interface 0-12 volt logic signals
– Selection of half-duplex and full-duplex
– Paralleling 2 or more RS232 ports
– 1-wire bus interface with ability to power devices connected
– Selection of echo tx to rx or echo suppression when in half-duplex
LEDs are used to show the logical high RX (green) and TX (red) signals. The components used are very common, they are not particularly critical, the circuit is feasible with the material that every electronic hobbyist has in the drawer. The operation of the circuit has been tested to a transmission rate of 250 kbaud for sections of short length. It has also been tested with the 1-wire network on a cable length of 100 meters with 8 (eight) DS18B20 sensors, powered by the same RS232 serial port. The auxiliary power supply is derived from the signals “DTR” and “RTS”, held at the high logic state.
Description of the circuit
As can be seen from the schematic, the circuit is very simple. The output stage, connected to the TX of RS 232, is composed of R3 (base current of Q3), DS8 (protection negative voltage), Q3 (output driver) and DZ3 (regulator output voltage limiter or voltage input). DZ3 may have different values of zener: when used with TTL levels should be 5.1 volts, when used with other logic levels can be 3.3 or 12 volts.
The resistor R5 is the resistance that brings power to output and must be calculated in relation to the zener DZ3, the milliampere available on the RS232 driver and the external devices that we want to power. The diodes DS1 and DS6 bring the voltage available on the signals “DTR” and “RTS” (when at high level) to the circuit composed of the capacitor C1, R5 and DZ3. The diode DZ2 polarizes Q1 and Q2 to the right voltage which activates a high logic level signal onto RX of RS232. R1 keeps the RX signal to zero volts when Q1 is off or when Q2 is enabled. When at side B is received a signal at the logical level zero, through R4 the current flows into the base of Q1 that starts to conduct and leads to a high level signal onto RX of RS232 port.
JP1 = ON, in this case the RX and TX are in common and it is the situation that occurs in the 1-wire bus, which is a half-duplex bus.
JP2 = ON, in this case when the TX port RS232 transmits, the signal via R2 activate Q2 conduction and blocking the echo of characters (if JP1 = ON)
The green LED1 displays the status of the high signal RX and red LED2 displays the status of TX.
Practical realization, assembly and construction
This is the schematic for the RS232 to TTL multiform MiniMax interface. You can download also the Eagle files, see at the end of the post in the download section. You can do it yourself or just ask’n’wait for a little help (we’re dealing with people of a tech company who soon will realize a purchasable kit at a very affordable price. Stay tuned for upcoming updates!)
RS232 TTL MiniMax multiform interface – Schematic – Please always refer to the downloadable PDF for further updates not reported in the pictures.
This is the PCB for the RS232 to TTL multiform MiniMax interface
RS232 TTL MiniMax multiform interface – PCB with components – Please always refer to the downloadable PDF for further updates not reported in the pictures.
And here the very prototype. Note that in this picture the DB9 connector J1 is soldered on bottom side / copper side of the board, but this is a weird prototype. Following the scheme, you’ll guess that the correct mounting way is to embed the PCB between the two rows of pins of the connector, making the pins corresponding to soldering places. The five-pins row obviously must be turned to copper side, and in top side it must be placed JP3 in order to connect itself to the pin 7 of the DB9 connector. You should (and PCB is designed to) use 1 x pin header strip (90° angle, 2.54mm pitch).
RS232 MiniMax Multiform Interface – The prototype
Editor’s note: original files are not available here. If you need any of them (schematic, pcb layout, BOM et cetera) please leave a comment with a valid email address and we will send it to you asap.
If you find something useful and you test it, use it, experiment with it, elaborate/upgrade it, please let us know;
If you find any inaccuracies or errors in the projects, documents and texts, they were probably made to give you the opportunity to report them to us and make us realize that we can make mistakes and we ignore many things.