Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Radio station on 144 MHz, or How to make something out of nothing... (part 2). Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Civil radio communications

Comments on the article Comments on the article

See the start here: "Radio station on 144 MHz..."

Block diagram of the river. stations:

where: BU - control unit; KN - buttons; IND - display unit; MF - frequency synthesizer; VCO - voltage controlled generator; TX - transmitter output stage; RX - receiver; MU - microphone amplifier; ULF - LF output amplifier.

Not an unimportant question: how to program the processor and, most importantly, with what? Of course, I mean the microcontroller. The following will concern only the AVR family from Atmel, although it also produces other microcontrollers (such as the 8051 Intel, which only have all sorts of DACs and other devices on the chip or the most powerful 16/32-bit RISC processors in FPGA performance, which are unrealistic to solder at home) .

First, you will need to know technical English, or at least a decent dictionary. To begin with, let's merge from the site (atmel.com, atmel.ru), the datashits section (datasheets are free, except for paper ones), the volume is 1,4 MB) a description of the cheapest microcontroller AT90S1200, the price for it in Novosibirsk is 120 rubles (probably then AT90S8515 price will be 851 rubles :), just kidding, they promised within 200 rubles). The processor purchased the cheapest one on purpose, in order to debug the core of the program in hardware, multiple corrections in the program and, accordingly, rewriting of FLASH are needed, and the number of cycles is still limited. Although, it wasn't worth the hassle. Descriptions in PDF format. The viewer can be merged on most sites or from a company, called Adobe Acrobat Reader, version 4.0 weighs 5 MB. The program is free. Let's read, think, and merge descriptions from more capacious microcontrollers, for example AT90S8515.

Characteristics of microcontrollers:

microcontroller FLASH volume SRAM volume EEPROM volume Ports
AT90S1200 1 KB 0 bytes 64 bytes 7+8 bit
AT90S2313 2 KB 128 bytes 128 bytes 7+8 bit
AT90S4414 4 KB 256 bytes 256 bytes 4 x 8 bits
AT90S8515 8 KB 512 bytes 512 bytes 4 x 8 bits

Yes, FLASH holds guaranteed 1 write cycles, EEPROM 000 write cycles.

Then let's merge the description of assembler commands (mnemonics) (Instruction_set, size 1,2 MB), i.e. which team does what. This description should be handy.

Then we will merge the program for virtual process simulation (AVR Studio, volume 3 MB), it has a built-in assembler, compiler. Universal thing. It is highly recommended to study the examples of programming and building systems that are on the manufacturer's website and in the Appnotes directory after installing AVR Studio. The program is free.

Then we will merge the program - the programmer, in order to sew the program into the FLASH memory of the processor and the data into the EEPROM. Atmel.com (atmel.ru also has one) has an ISP program. But, for some reason, she didn’t want to work :(, I had to use the AVReal program (I took it from chat.ru/~avreal/av114r6.zip, 30 kilobytes, as I understand it, it’s free). But she also couldn’t work normally with my copy processor (everything is not like that of people. Although everything is sewn / read correctly. The programmer consists of 5 wires and a connector, the circuit is in the archive with the program. Oh, eagle! No need to hot pull the connectors, you will burn the LPT port, turn off the power though Hint: what if powered from a computer, there are 5 volts, and 12 volts, and even a bipolar.

Atmel produces a CD-ROM with programs, datasheets and a bunch of examples and other descriptions, it costs about 200 rubles, but I just heard it, I never saw it myself. Well, the Atmel Russian site has information on this CD-ROM, but it's kind of muddy.

Here. How to program? First we erase FLASH, then we write a new my_programm.hex and my_data.hex into it, you don’t need to erase the EEPROM, just write the data there, it will be erased before that. Then we will start verification.

Now let's think about the hardware, what to hang on which leg. The scheme is not given, it is simple - too lazy to draw, and it is a shame to scan a drawing by hand on a piece of paper. Here is a description of the findings.

1 RESET, processor reset, goes to the programmer, you can hang a 10 microfarad electrolytic capacitor to ground
2 D0, “TX” button, diode cathode is also soldered here
3 D1, “UP” button, the diode cathode is also soldered here
4 XT2, Quartz resonator
5 XT1, Quartz resonator or external clock
6 INT0/D2, interrupt input, keyboard diode anodes are connected here
7 D3, “DOWN” button, the diode cathode is also soldered here
8 D4, “SCAN” button, diode cathode is also soldered here
9 D5, “MEM” button, the diode cathode is also soldered here
10 GND, ground
11 D6, squelch input
12 AIN0 / B0, I have not used it, you can hang something, then
13 AIN1/B1, display clock
14 B2, synthesizer recording signal
15 B3, synth clock
16 B4, synthesizer and display data
17 MOSI / B5, programmer connection, I do not use
18 MISO / B6, programmer connection, I have not used
19 SCK / B7, programmer connection, I have not used
20 V+, supply voltage

The buttons are grounded. The quartz resonator with binding capacitors and wires for ISP are connected according to the diagrams given in the company documentation. Clock pulses can be taken from the generator in the synthesizer, but consider the operating frequency of the AVR, they work either up to 4 MHz or up to 12 MHz. By the way, the data and strobing buses of the indicator and the synthesizer can be combined, because. information is rewritten into the internal register of the synthesizer using a special output. Those. if there are not enough port pins, we hang everything in a heap, output information to the synthesizer, snap it in, and then shove the data onto the display.

Well, the most crucial moment has come: writing a program, language - assembler. So: we will display the data on the indicator, display the data on the display and fall asleep by turning off the clock generator. This is so that the processor does not create unnecessary noise when scanning the keyboard / indicator. When we press the button, the low level through the diode will go to the interrupt input, the processor will wake up and start executing the external interrupt processing procedure. In it, let's see which button is pressed and do something, for example, increase the frequency by one step. Then we will output the new data to the synthesizer and to the display. That's it, let's return control to the main program, it will again put the processor to sleep. Do not forget that when switching from reception to transmission, you need to change the synthesizer division factor to a value equal to the intermediate frequency (I have an IF of 10,7 MHz), you can not touch the indication and you can not put the processor to sleep. Read the source for more details, the bare minimum was written and debugged in just two days. The program is debugged on a computer (AVR Studio, if you have any questions about it, write, we'll think about it).

Interface. The program currently supports: only the “step up”, “step down” buttons at a step of 25 kHz. In the future: enable/disable repeater spacing, both -600 kHz and +600 kHz; indication of frequency reduction/increase in transmission with diversity; scanning up or down in frequency, through memory channels (selection by the “UP”, “DOWN” button, stop by opening the squelch); writing / reading memory cells; valkoder, switching grids. But, I'm afraid, everything will not fit in 1 kilobyte. Well, quite already for coolness: direct frequency dialing on a 10-button keyboard.

source with comments

It was the first option. And here is the second one. Connect the synthesizer to the LPT port instead of the processor. Do you need a diagram? What is hard to come up with? Okay, I had this when debugging the synthesizer:

LPT leg Where in the synthesizer
2.D0 data
3.D1 strobe
4.D2 overwrite pulse

I did not agree on anything, all the levels turned out to be TTL. Well, a small program in assembler that outputs data and goes to DOS. You can go further, draw a virtual control panel and send a noise suppressor signal to the LPT to stop scanning, but I didn’t pursue such a goal. But it's quite realistic, take DOS, Windows, OS / 2, * NUX and write under it, you can even use the audio path of a sound card as a microphone / output amplifier. What the hell is not joking, you look and the Russian WinRadio will appear, but I will not do this (yet).

It is still desirable to screen and set the quartz to odd (such as 3,698 MHz), otherwise a bunch of lesions will appear during scanning, because the processor is active during scanning. There is such an idea: the receiver and the IF - the low-frequency path on the one hand, on the other hand the VCO and the output stage of the transmitter (I have a KT610, 200 mW), and the processor and display with buttons on the front panel p. stations. It’s just not clear where to put the synthesizer, on the one hand, long wires are not needed, and on the other hand, interference from its quartz. There is such an idea: to place the synthesizer near the VCO, and heat the quartz in a metal box with foam filling. And shove all this into a case from a Chinese radio, or an automobile CIB-shnoy river. stations.

Indication with sequential input of information on three 561IR2. IRs are glued to the indicator, all connections are wired. An indicator with a common plus with all elements lit (`888) consumes 60 mA when powered by 5 volts. The indicator itself is connected to power through a +5 volt current-limiting resistor, but if desired (or insufficient brightness), you can hang it at +9 or even +12 volts. Keep an eye on the output currents of the microcircuits (5 mA per output), although RA9UCN (Vladimir, Mariinsk) swears that everything works, but I somehow feel uneasy about the triple overload in its design. For reference: RA9UWD (Igor, Yaya) powered the indicators from 6 volts and heated the IRs to 70 degrees, nothing burned out. IRs are powered by +5 volts. If power consumption is critical, you can modify the program so that after 5 - 6 seconds after changing the readings, the indication is extinguished. To ignite the element, you need to output a logical “0”, in order not to ignite - a logical “1” and probing. 8 pulses per digit, since the indicators are 7-bit, we will hang the remaining digit of the older microcircuit on “`”, the remaining two free ones can be used to indicate the spacing (there are a lot of luminous dots on this Chinese indicator, they indicated the range in the radio tape recorder). To be honest, 2 IR-ok are enough for indication: the apostrophe (144/145) is hung on the free output of the highest digit, the last digit is “5” or “0”, through diodes it is hung on the free output of the middle microcircuit. Or you can indicate the channel number, there are only 80 of them. Well, if it’s completely strained with IR2. If the indicator's common output sits on ground - it doesn't matter, we will invert the data stream, it is possible to change the character generator in hardware, but it's easier in the program (one hell, it is stored in EEPROM). After displaying information on the indicator, you can forget about it. Output speed - up to 2 MHz, faster 561IR2 start to fail. One comrade promises to give an LCD with a controller, but I'll put it on.

Speaking of power: a synthesizer, a control unit - 5 volts (KREN5, you can hang it on each unit, now it is available in a small-sized version, well, just like KT209); receiver, microphone amplifier (half K157UL ?, dynamic microphone), VCO - 9 volts (bourgeois ROLL); transmitter output stage (on one transistor :), ULF (K174UN14) - 13,8 volts.

A little note on the end. The first transistor after the VCO can be powered from +9 volts, and the next stages from +12 volts. Frequency modulation (or slightly phase), transistors, of course, operate in mode C.

Buttons any 4 pieces, bourgeois small-sized from the same Chinese radio tape recorder are well suited. You can use a mechanical shaft-encoder, there are free-rotating, and there are switches with a clearly limited angle of rotation of the handle. These are at cheap CBS stations. Perhaps then I will put an optical shaft encoder from the mouse.

And, despite the assurances of RA9UWD (Yaya, Igor), the use of simple (not thermally compensated) quartz in the synthesizer did not lead to a noticeable frequency shift at room temperature (about +20 degrees C). Of course, if you bring a hot soldering iron to a quartz resonator, then the frequency ran away by 100 - 120 hertz (10 MHz quartz was torn out of a dead HDD controller) at a frequency of 145 MHz. By the way, Alinco-DJ191 runs away in the same way if you go outside from a warm apartment (about +20 degrees C) (-35 degrees C). This is not very noticeable by ear when working with a voice. If stability is needed more (digital work), then you can put quartz heated in vacuum, which is used in the Mayak synthesizer, but you will have to recalculate the division coefficients (there is quartz at 2 MHz). Or look at how it was done in the Angara, there is thermal compensation and super power stabilization.

I took SMD resistors and blocking capacitances from the controller from a dead CD-ROM. The inscriptions can be deciphered, or you can measure it with a C-shka. Resistor in the power supply circuit of the microcircuit (output?) Set sure! It is needed to eliminate the thyristor effect. The microcircuit is used in standard inclusion, SMD execution. If the conclusion? hang the LED, then when step-by-step tracing of the debugging program, it was clear that the data was falling out of the synthesizer register. On the first run, there is “0”, and on subsequent runs, the previous information is expelled.

VCO from "Mayak" in a metal case filled with foam. RA9UWD (Yaya, Igor) will make his own VCO, he wants to put a single-chip synthesizer and a control unit on the AVR into the quartz mobile Viola (maybe we will publish it too). It is better to make two VCOs to reduce phase noise (see the description of 1015PL2, the tuning slope of 1 MHz per volt is declared there). Each VCO is tuned within 2 MHz: 144 - 146 MHz and 133,3 - 135,3 MHz. For example in Alinco-DJ191 one VCO covers 174 - 130 = 44 MHz!! Yes, plus the first IF 21 MHz, total 21 + 44 = 65 MHz i.e. 20 MHz per volt or am I missing something? Yes, even 20 MHz with 3 volts of power is already a lot. On the “Mayakovsky” GUNs, the voltage dangles before our eyes (measured with a digital C-shock), but what about Alina then? I don't understand why at all :) it still works.

Scheme VCO from "Mayak":

Radio station on 144 MHz. Scheme
(click to enlarge)

The VCOs themselves are assembled on transistors VT1 and VT2 (generator with a common gate), through C11 and C12 they are loaded on R10. From which the signal is fed through the buffer to VT4 to the output amplifiers VT6 (the signal goes to the receiver and the output stage of the power amplifier) ​​and VT7 (the signal goes to the input of the synthesizer chip). VCO switching is done on transistors VT3 and VT5, i.e. one is for receiving, the other for transmitting. Details: C1, C2, C4, C6, C13, C18, C19, C20, C21 - 1500 pF, C3, C5 - 3,6 pF, C7, C9 - 3,3 pF, C8, C10 - 15 pF, C11, C12 - 1 pF, C14, C15 - 12 pF, C16 - 22 pF, C17 - 10 pF. R1, R7, R8, R10, R13, R16, R18 - 15 kOhm R2 - 56 Ohm, R3, R4 - 2,2 kOhm, R5, R6, R12, R20 - 470 Ohm, R9 - 150 Ohm, R11 - 1 kOhm , R14 - 10 kOhm, R15 - 3,9 kOhm, R17 - 4,7 kOhm, R19 - 180 Ohm, R21 - 330 Ohm. Varicaps - KV109, VT1, VT2, VT4 - KP307, VT3, VT5 - KT315, VT6, VT7 - KT399.

For example, the VCO circuit from Alinco-DJ191 (VCO - voltage controlled oscilator, voltage controlled oscillator) is given:

Radio station on 144 MHz. Scheme
(click to enlarge)

On Q301, the generator itself, Q302 is a buffer amplifier, the role of Q303 is unclear to me, it obviously pulls the VCO to another range by shunting L303 through C307 to ground. Because capacitance C307 (0,001 uF) at RF is blocking.

Printed circuit boards were made like breadboards: one block - one board. Fiberglass - one-sided. Well, I'm too lazy to redraw them, scan them ... In addition, there is an idea to combine the boards of the control unit and the synthesizer.

Author: Sergey Gimaev, RW9UAO; Publication: N. Bolshakov, rf.atnn.ru

See other articles Section Civil radio communications.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

Russians buy more gadgets than Americans and Europeans 31.01.2012

Of the 10 countries surveyed by Accenture, Russia has the lowest average annual income, while spending on gadgets is one of the highest. According to a study by the American consulting company Accenture, in Russia, buyers spend an average of 3,6% of their annual income on consumer electronics. In the US, for example, this figure is 1,8%, in Germany and France - 2%.

The data is based on a survey of 10 thousand buyers from 10 countries: Japan, Russia, USA, Sweden, Germany, France, India, South Africa, Brazil and China. At the same time, the authors emphasize that the study everywhere reflects the average situation in the country, with the exception of Russia, China, India and South Africa, where the survey was conducted mainly among the urban population. As the survey showed, spending a larger percentage of income on gadgets is typical for all developing countries. Most of all, they like to do this in China, where an average of 4,5% of annual income is spent on electronics.

The smallest percentage of the annual budget for gadgets is allocated by the Japanese - only 1,3%. It is worth noting that at the same time, of all the countries surveyed in Russia, the researchers found the smallest average annual income - $ 27,75 thousand. In terms of the Russian currency, this means a salary of about 69 thousand rubles. per month. In Japan, which spends the least on gadgets, by comparison, researchers calculated an average annual income of $79.

As for plans to purchase new gadgets for the next 12 months, the most desirable purchase in Russia, as well as in other countries, is a smartphone: up to 28% of respondents intend to buy it. At the same time, analysts note that Russia showed the highest level of growth in smartphone ownership among other countries - the number of their owners increased by 34% over the year. It is noteworthy that Russia and Brazil stand out against the background of other countries with a special love for netbooks: in Russia, 22% of respondents aged 18-34 plan to purchase them, and 15% - over the age of 35. For comparison, in the US this figure does not exceed 10%, in Germany - 6%.

As for tablet computers, their purchase is included in the plans of 23% of consumers surveyed in Russia aged 18-34 and 16% - over 35 years old. Most people dream about "pills" in Brazil - up to 30% of respondents plan to buy them, and least of all - in Japan, where such a purchase is planned by no more than 4% of respondents. It is also worth noting that in Russia the highest percentage of respondents using the tablet mainly for work is 8%. The lowest percentage of such users is in Japan, only 1%

Other interesting news:

▪ Network standard with 800 Gbps data rate

▪ Seismology of crimes

▪ Shuttle DS57U compact system based on Broadwell

▪ Air line for drones

▪ Battery house

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Intercoms. Article selection

▪ article Ecobioprotective technique. Basics of safe life

▪ article What is the United Nations? Detailed answer

▪ article Automatic lathe operator. Standard instruction on labor protection

▪ article Popular about biogas. Encyclopedia of radio electronics and electrical engineering

▪ article Resettable fuse Phoenix. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024