📜 ⬆️ ⬇️

Creating gsmrozetka.ru

Briefly about us. We are a compact development team. We write on anything, we solder everything that can be soldered. Own, small laboratory for carrying out hellish experiments.
A sufficient number of friends, acquaintances, customers who support us. And confronting
we have various tasks. Sometimes these tasks generate, in addition to the main product, also a secondary one.

Today I will tell not about the main thing, but about the product that we accidentally created. Born he
thanks to this chain:

Removed statistics from a special technology (did and did) ->
Jokes about remote control of a 50-ton trawl (we want, but so far there is no time) ->
Returning to the earth with the thought that this is fun, to manage something ->
Familiar, with his constant trips to the country and the inclusion of the heater to something
there is not frozen and not burst. Comrade wanted a simple piece of iron. To stuck it and
it all worked. So that, without going to the country, he could turn on and off his boiler.
')
Offhand. We had an extension cord. There was a cell phone.
Image and video hosting by TinyPic

And I wanted something like this:
Image and video hosting by TinyPic

Well, or, as an option, in the most extreme case - like this:
Image and video hosting by TinyPic


The idea was like that. We take the extension cord, open it, push the smart brain inside, close it.

Let's go to the store. Bought extension cords. They are all so different. And inside, on average, the same.
Lousy. There is little space. Wiring is in disarray. And sometimes - also poorly soldered.

The extender must be of a quality assembly (so that we do not have to repair it first),
there should be a lot of space in it for the brain to fit in. Well, zhelezyachnik, put the requirement
by the presence on the extension of individual switches on each outlet.

He motivated it with all sorts of tricky words, but all I remember is a separate one.
tire on each outlet.

Having ditched a dozen extenders, we chose the base and below it will be in the photos.

In order to remotely manage something, we need to do the following:
- Provide a channel for transmitting commands
- Install something that will turn the load on and off

We took as a basis one of our glands (satellite monitoring of transport) threw out
See superfluous (gps module) added relyushki and altered power supply, because
it is very rare to have 220 volts in the vehicle’s electrical network (I’ve only seen this on the RDK-250,
but he is still a monster). I corrected the program, added management via SMS. And that's all.

Put aside the keyboard. Take a soldering iron. :)

Image and video hosting by TinyPic
Great extension cord. We analyze it.

Image and video hosting by TinyPic
Just a little inside, right? And this is the best extension cord we have prepared.

To me, the programmer, the concept of a draft program is known for a very long time. And everything is simple - did not go
rolled back or erased. Earned - unreleased. And what are the drafts of those who solder? Like these ones:
Image and video hosting by TinyPic
In the picture, by the way, you can see those relyushki about which I wrote above. and that
cute shiny bun in the bottom of the extension is modern, inexpensive,
gsm-gprs modem. The thing is useful to us because it can accept-send sms.nu and, also, if necessary, connect to the Internet via gprs.

The need to connect to the Internet is. Sometimes someone wants to add to the possibilities.
something new, I write code, I send a special secret SMS to the extension number, it
connects to the internet, connects to our update server and downloads a new one
firmware. Then he reprograms himself. On the other hand, if no new features you
No need - you will never know about such an opportunity.

In general, having estimated the sizes, having drawn the shemka and the printed circuit board - we make the first prototype of the printed circuit
fees. In the modern world - everything is done via the Internet. You send the drawing to the office, which
makes payments, agree everything, they invoice, you pay it, wait a week and
Your handbag, right in the lab, brought ready-made scarves. Here they are, greenbacks, on the photo.
Image and video hosting by TinyPic

On one outlet goes two scarves. Like so safer - corrects me, my zhelezyachnik. On one
low-voltage, but the high-frequency part (processor, memory, watch — everything is like everyone else’s), to another
board, food, and relyushki. On one of the boards, we will also install a symbol holder, so that you can stick
Simcard of your favorite operator.

Image and video hosting by TinyPic
We solder one of the boards. Install the power converter, relay.

Image and video hosting by TinyPic
The second one is on its way - there is a processor, a simholder and some small things on it

Image and video hosting by TinyPic
and collect them in a sandwich :)

Image and video hosting by TinyPic
Further, everything is completely simple, we throw out the “native” switches, and add our special ones. With bright
backlit. And the ability to taxi this backlight programmatically.

After that, fill in the extension with a fresh firmware (I wrote a simple OS for all of our
glands and now just reassemble it for various needs. oc takes about 30kbytes, can
all that is written above + if necessary, satellite navigation + protection of the borders of our homeland
humanoid robots). We shove everything that turned out in the case, add street magic,
and all gsmrozetka ready.

Here, according to the canons is hot, there should be a photo of the resulting device, but I will not insert it.
Because externally, from the purchased extension cord, our piece of iron differs only in a narrow gap
Simholder in the board. So we will save you traffic.

ps
somehow I will write about the creation of the same piece of iron, but sharpened to the server rack. in the case of U1.
here is a secret photo of the beginning of work on its prototype
Image and video hosting by TinyPic

Source: https://habr.com/ru/post/54683/


All Articles