Scaling pocket radio. Recipe. Part 3. ... Let's put it all in a small box.

@mp42b · 2018-12-10 12:56 · busy

301_IMG_1407.JPG

Finally, it's time to give our device a final look. Freely located on the surface of the desktop in the form of a test stand our details and modules will be placed in the box of a suitable size.

By the way, he himself. See how wonderful!

Once I made a pocket flashlight in the same case.

And now we will put a scaled pocket radio in it.

---

Это перевод поста, выполненный с помощью Google Translate.
Оригинал на русском опубликован здесь.

---

302_IMG_0242.JPG

I took it, yes, of course, again on tixer.ru, right here. Although I admit that a similar box, and even much cheaper, you can find at Ali. I did not look, if interested, you can try to search for it yourself.

Why is this box wonderful?

First of all - for its size.

The external dimensions of the case are 70x40x23 mm.

They turned out to be chosen in such a way that most of the modules of our device (almost all!) fit in well.

Of course, it is not as flat as your iPhone, but it fits comfortably in a jacket or jacket pocket.

Secondly, our box has a very simple design. No screws, bolts, washers, racks for mounting is not necessary. The back cover is closed with plastic latches, it opens easily and simply, without screwdrivers, just with a fingernail.

303_IMG_0283.JPG

The transparent rectangular plate in the previous photo is cut from a plastic cap from sour cream or yogurt and will subsequently be used as an insulator.

Thirdly, this box is magical and mysterious, the truth is true.

The magic is that all the modules are perfectly placed in it, but separately, and the riddle is how to put them all together, and so that they do not interfere with each other.

Or maybe just I did not play enough time in Sokoban and in volumetric Tetris as a child ...

But enough of lengthy reasoning, it's time to start assembling!

The process is iterative, we arm ourselves with a ruler, we use a caliper and we try on each of the modules to the case and to other components, trying to figure out their mutual arrangement. If at us it turns out, we mark the holes for the controls in the case, if not, we rearrange the components separately and together in the volume of the case (just like in Tetris) and we try again.

Thus, the modules, one after the other, find their position in the housing.

As a result of several measurements, we mark up future holes.

Then we arm ourselves with a drilling machine, drill bits of different diameters and small files, make holes, from time to time we make measurements again. By the way, if there is no drilling machine, you can use a drill on the little engine, or just a steel reamer, the plastic of the case is very soft, like oil, it is easily processed.

Also, when marking and drilling holes for the loudspeaker, you can use a round metal grate to drain water in the bathroom or in the kitchen sink with a suitable hole pattern as a template.

The box after drilling looks like this.

304_IMG_0467.JPG

Method of mounting a telescopic antenna:

- we place the first (thickest) link of the antenna in a couple of layers of heat shrinkage (diameter 5-6 mm), so that after heating them, the resulting diameter is slightly larger than the diameter of the hole in the housing. Thus, the layers of heat shrinkage will prevent the antenna web from falling out of the housing.

- we cut the edge of the heat shrinkage on the antenna so that the antenna placed in the case rests against the walls of the case with the edge of the heat shrinkage and the opposite side, the antenna itself must enter the case with some force.

- during the final assembly of the receiver, the side of the heat shrinkage is coated with instant glue, the antenna is inserted into the case and pressed with the glued side to the wall of the case. As the glue hardens - fixing the antenna in the case is provided.

- if you need to disassemble the structure, for example for repair, the heat shrinkage is simply cut longitudinally with a blade or a thin knife, the antenna is pulled out of it, the remains of the heat shrinkage are torn off from the housing wall. When reinstalling use fresh heat shrink.

305_IMG_0488_0418.JPG

In the course of fitting the modules to the case, we also adjust the length of the mounting connecting wires, trying not to leave too much.

In the box, the modules themselves are placed in layers, on two levels.

Since, due to the limited size of the communication between the levels in the box itself, it is difficult (I realized this only at the assembly stage), I had to use an additional connector. And at first I used a connector with a standard pitch of 2.54 mm between the contacts. As a result, the telescopic antenna was not located. I had to use a connector with a pitch of 2.0 mm.

The first layer looks like this.

306_IMG_1024.JPG

The MUTE mode switch (it is partially visible under the LED of the MP3 player and above the card connector) is soldered on both sides to the MP3-player's board using tinned copper wire with a diameter of 1 mm.

The first layer in the case is placed as follows.

307_IMG_1128.JPG

Between the first and second layer, you need to lay a transparent plastic insulating pad (cut out of yogurt packaging, was in the photo at the beginning).

The second layer is the radio receiver board itself with control buttons. To her to solder the second part of the connector.

308_IMG_0927.JPG

In order for the receiver control buttons to be located at the desired height in the case, the button connector X2 on the receiver board had to be raised by 3.5-4 mm. It was done this way: a 1.5 mm thick polystyrene pad was glued onto the button connector X2 on the board, and another connector was glued on top of it, the contacts of which were soldered to the bottom contacts.

In the original dimensions, the board of the radio did not fit into the case, I was mistaken when designing it by 2 mm, I did not take into account that the button stroke is only a millimeter. So I had to pick up the file again and cut off part of the receiver board and part of the control button board.

In the image below, the cut off areas are bounded by a red dotted line.

After that, instead of the cut printed conductors, two wire jumpers were added. In the lower figure, the wire jumpers are highlighted in green.

309_plata_cut_010.png

It took about half an hour to work with the file, and this is faster than rebuilding and soldering a printed circuit board.

I do not plan to do the next version of the radio receiver yet, but if it ever happens, I will begin with the development of a new printed circuit board. In this case, the elements R1, C2, C3, C4 will be chosen in the SMD version - some space on the board will be freed up. Switches I also try to pick a smaller size.

I will move the radio control buttons from the separate board to the main board, select them in the corner version. This eliminates the need for connector X2. In the vacated space, it will be possible to install an inter-level communication connector (it is now hanging in the air) with a pitch of 2.0 mm.

Ceramic transition SMD-capacitors, which are now soldered to the pins of the headphones jack, can also be placed on the main board. Also on the main board we can place the headphone jack itself.

At the same time, we can try to simplify the device, perhaps by giving up the additional fee of the player control buttons to control the player using the same buttons as the radio.

I hope after such changes the file is not needed during the assembly.

Although all this may be not realized, people says, if you want to make the gods laugh, tell them about your plans.

A radio receiver with the second layer looks like this.

310_IMG_0910.JPG

At some time I paid attention to the charger, more precisely to the battery charge current. It is regulated depending on the resistance of the current-limiting resistor in accordance with this table.

311_004_table_2.png

The initial charge current is set to 1 Ampere (resistor size 1.2 kΩ). I set the resistor to 2.7 kΩ, lowering the charge current by about two times.

But why?

The lower the battery charge current, the longer it will work.

Although to the full level with each charge will be charged more in time.

Sometime somewhere, I read that for lithium batteries, it is considered optimal to set the charge current in 1C - that is, no more than one value of battery power capacity. The power consumption of a BL-5C battery is stated at 1000 mAh (actually less), respectively, the maximum charging current is no more than one Ampere. I do not know how true this is, but I try to adhere to this rule.

312_IMG_1430_nadpis_eng.JPG

The battery itself, we will try to place on the back of the case.

To begin with, we will drill a hole in the case back for monitoring the indicators on the charger board.

Then we glue a transparent plastic round top into this hole, previously cut off from the burnt-out high-power lighting LED. Yes, yes, but why else save burnt-out powerful lighting LEDs? Only for such cases. The yellow phosphor from it, similar to jelly, cannot be used, but a transparent plastic flask is very useful.

313_IMG_0405.JPG

We got to the battery.

In almost every post, I draw the attention of dear readers to the fact that modern lithium-ion batteries are strongly discouraged from opening, soldering, heating, deforming, disassembling into components, flooding them with water or other liquids, shorting their contacts, and strike them with a hammer or use them bloated.

In general, batteries should be handled with care and caution.

And what do we see in the next photo? Rude violation of my own recommendations!

I soldered it.

Well, I did not have suitable springs for the contact group!

In justification, I can say that for each contact the process took place in two quick touches of the soldering iron tip. The heating temperature was controlled. The fingers holding the battery were not hot, and not even very warm, just warm. The battery cooled for half a minute.

I repeat once again - this is not good to do! So do not need to! This is a risk!

Moreover, the subsequent replacement will again have to be soldered.

But if suddenly it had to be done, it is better that the battery was at the same time pre-discharged through powerful resistors with a current of no more than 1 Ampere.

From the advantages - with the help of a soldered connector, we eliminate the situation of contact failure (or contact bounce) in the contact group during operation. But this, as we shall see, can be achieved in not such dangerous ways.

314_IMG_0348.JPG

We glue a polystyrene plate with the back side of the case cover, using instant glue.

315_IMG_0389.JPG

And this is what our entire power plant looks like.

Through the connector and the red and black wire the battery is connected to the charger and the power supply of the radio.

316_IMG_0387.JPG

Placing the battery in such a way is quite convenient, the battery seems to be created to fit the size of the back cover of this case. But so well only in two dimensions - in length and width. And in our three-dimensional world, an extra pair of millimeters in height, unfortunately, can become decisive. What unfortunately happened.

The BL-5C battery originally planned for powering the design did not allow the lid to be closed during final assembly.

(I have already tried everything, it did not work).

But there are no hopeless situations.

And here is the solution to the problem.

317_IMG_0790.JPG

This is Plan B, a fallback.

I had to, following the world's leading high-tech corporations, switch from a case lithium-ion battery to a non-replaceable Li-Po without a case. Which is a couple of millimeters thinner and has an energy capacity of a couple of hundred mAh less. And for our device, it is quite suitable.

Also, the manufacturer has already pulled a pair of wires out of it, it is very easy to solder the pin connector to them. And most importantly - it is not dangerous! Just do not make a short circuit when soldering.

The battery will be attached with using a transparent plastic plate, it can also be cut out of the lid of a sour cream jar or yogurt. Then plastic plate needs to be bent on the top and bottom side faces.

318_IMG_0781.JPG

With its "ears" this transparent compartment is glued with superglue to the back cover of the case, the main thing is not to touch with glue the battery itself, its wires and the round transparent display window.

As a result, our power plant will become so.

319_IMG_0854.JPG

The current consumption of the radio in a loud-speaking mode with an average volume level is 50-80 mA.
At the maximum volume level, in peak, it reaches 150 mA.
When using headphones, the maximum current consumption is 28 mA.
Quiescent current is 23 mA.

The current consumption of the MP3-player in a loud-speaking mode with an average volume level is 80-100 mA.
At the maximum volume level, in peak, it reaches 200 mA.
When using headphones, the maximum current consumption is 28 mA.
Quiescent current is 23 mA.

The output power of the amplifier with about 200-300 mW - enough for the sound in a s
#busy #handmade #mp42b #electronics #diy
Payout: 0.000 HBD
Votes: 17
More interactions (upvote, reblog, reply) coming soon.