Geek magazine hacker daily blog

As device Z-Wave become

1 year ago
In this article we will tell how Z-Wave devices are created. From the point of view of circuit engineering and programming development of Z-Wave of the device not strongly differs from development of the device based on Arduino, AVR or PIC. However there are in Z-Wave nuances. About them the speech under a cat will also go.

Read more »


Circuit engineering of the charger for the on-line UPS. Part 5

1 year ago
Part 1
Part 2
Part 3
Part 4.1
Part 4.2

Prolog


And again hello … In total with last New year and with other coming holidays! Time to pull out a muzzle from Russian salad at last to start parts of our cycle in which circuit engineering of power nodes will be described came.

My good mood
After the analysis of article devoted to a code under STM32 I understood — in vain spent time, level of readers and many commentators as I understood sufficient for independent writing of a code therefore I do not see sense in further analyses. All moments with a code will be limited to the description of algorithm and the detailed flowchart, everyone will be able to write an applet under the MK and though under an arduina. The truth you should not be upset that who wanted to repeat this device in original state — you can always receive a firmware in the form of .hex at me in a pm, and also order already stitched microcontroller at the price of cost of a stone and a postage. On it good news ended...

Now about this part — it will be devoted to the DC-DC transformer 310B-> 48B. That is we consider not all battery charger, namely the transformer. The rectifier and KKM will be separate part since functionally they at me are executed by the separate module on a separate payment.
Topology on which this transformer is constructed (or the power supply unit) — "the slanting bridge". Initially I wanted to leave option of the complete bridge without changes against pry. option, but rather large number of companions passed an opinion on complexity of the N-bridge, its high cost and low recurrence at such capacities. I thought and decided to apply my once favourite topology which appreciated its high recurrence. On topology of "the slanting bridge", by the way, many welding inverters with currents to 200-250A are constructed. Considering that at this stage on work I project an automatic welding semiautomatic device, in addition it is twice interesting to drive such solution.

And so — went....

Read more »


Comparison of compilers for development on microcontrollers with ARM Cortex-M kernel

1 year ago

In this article we will test 3 the compiler for Kinetis microcontrollers with ARM Cortex-M4 kernel.
Let's start the tests CoreMark, Whetstone, Dhrystone.
We investigate shrinking algorithms with the minimum consumption of OZU and we will find out as different compilers influence their high-speed performance.
And we will even try to learn as far as Kinetis on high-speed performance lags behind Intel Core I7.




The previous articles about development on Kinetis microcontrollers:

Read more »


We do the "eternal" mass air flow sensor on ATiny13

1 year ago


This project appeared because of unwillingness to buy the part which was in the use about 30 (thirty) years for absolutely rather big sum of 3000 — 5000 rub. It is possible to tell that it will be first attempt at writing in circuit engineering and programming of microcontrollers. If it is interesting — continuation under a cat.

Carefully the photo is a lot of!

Read more »


Exhibition of achievements of "Internet of things". Innolabs VIS CAST and Kraftway Smart Video Camera

1 year ago

Photo: Yulia Lunina
All 2015 the subject of "The Internet of things" did not descend from pages of the blog Intel on GeekTimes — actually, it became the main here. As the technology is rather new, posts on IoT generally were training. However it is not necessary to refer IoT to category "eternally perspective" — and it was proved once again by the Intel company, having carried out in the middle of December review of devices which are ready to become components of "The Internet of things" already now.
Several domestic developers took part in action. We already wrote about some of them, say, to the device for monitoring of health from "FRUKT MD" the whole post was devoted. This time we will tell about two more interesting, in our opinion, projects: to system of wireless broadcast of a voice of VIS CAST and "smart" video camera of Kraftway Smart Video Camera.

Read more »


Implementation of a program code for the indication module on ILI9341 + STM32. Part 4.2

1 year ago
Part 1
Part 2
Part 3
Part 4.1

Prolog


Opinions were different in an occasion of analysis of a code and its need in general. I tried to implement a method of "golden ratio" therefore in this article:
a) at the end of article the source code to experts will be attached further not to read
b) I will give algorithm of work and I will sort it
c) I will explain how to use SPL libraries
d) in volume of article I will tell how to use a certain periphery, I will show implementation of work with it in a code
e) separate point I will describe work with ILI9341 since the subject is quite chewed, I will just tell about the main thing — as is considered to implement initialization function (on the Internet saw only a code with the phrase: "there is a working initialization, copy and do not ponder that it") and to start it through hardware SPI.

You will not see too detailed analysis of a code here, everything will be moderately, otherwise I should write the book of pages so in 200-250. Therefore study datashita and other documentation (links will be) before starting writing of the program. Those who the first time will sit down at MK — be not afraid if there are questions I will prompt to you and I will help so you will master this code.

Read more »


As we made analog of Oculus Rift

1 year ago
2015 was pretty rough in respect of events and announcements of devices of virtual and augmented reality from large producers, such as Oculus Rift, HTC Vive, Sony of PS4, Microsoft Holo Lens, etc.
Expecting rough interest in this area, at the end of 2014 me it was decided to begin to investigate this direction.
As a result, within a year to us, small command without external support and financing, one of the first succeeded to develop a solution which allows to start applications and games for Oculus Rift DK2 together with the latests version of Oculus Runtime.



But at first we will talk a little about sad things …

Read more »


Indication of output parameters and implementation of protection of loading in the UPS. Part 4.1

1 year ago
Part 1
Part 2
Part 3

Prolog


All good afternoon and it is the last part of a cycle devoted not to power part of the device. Perhaps you will think that I purposely tighten power modules, but it not so. Just I would like to finish at first with all collateral modules which are "decorative" from part, but without which our UPS turns into a pile of badly working iron with unclear assignment.
Therefore in given to article implementation of measurement of tension, currents in nodes, and also temperature monitoring and protection against an overheat will be in detail considered. And of course — indication, where to us without it! Without it it is rather problematic to understand what is created with our device, how correctly it works and whether works in general.
Some more statements before the beginning:

1) In industrial option the payment was divorced in 4 layers for implementation of high-quality trace of a payment, with galvanic isolation and the minimum noise, but I will provide in this article two types of trace and both for "radio fans"! One type — the double-sided board, other option — one-sided. I can note at once that even these options possess more than sufficient noise properties for reliable work, and galvanic isolation was cleaned for the purpose of production reduction in cost since this node is not responsible and in case of its fault the device will continue to work and signal about the happened accident.
Of course before laying out them in article I made a prototype, strenuously drove it and evaluated more than suitable survivability. Also checked a possibility of production of these payments by means of LUTA and photoresist — the step of 0.3 mm is reached without problems.

2) All who will want to repeat this block or the UPS entirely I is ready to send the programmed STM32 microcontroller if its presence frightens off you. The price will be: MK cost + transfer, it is exclusive with the purpose to help, but not to earn.

It seems, entered some clarity, then went to understand the scheme …

General circuit engineering and description of functions of the module


Already the general scheme of the module about which the speech will go today redrew it especially for this article on modules that it was simpler to beginners to understand the general principle of work and what "piece" what is responsible in final functionality for:

Figure 1 — the Schematic circuit of the block of indication and management on STM32F103RBT6

Read more »


New materials promise to reduce the price of production of LEDs many times

1 year, 1 month ago
image
The analysis of corrosion resistance of different materials is carried out in supercritical solution of ammonia. At the left — a sapphire crystal prior to experiment. In the center — corrosion reaction to supercritical ammonium - sodium solution. As it became clear – the image on the right – under the influence of ammonium chloride carbide of silicon remains stable.

It is known that reactors for which creation, according to researchers, there are more suitable materials are involved in production of LEDs.

Now there were many new methods of receipt of nitride of the gallium (GaN) necessary for production of LEDs. One of the most perspective methods (ammonotermalny) assumes existence of the reactor filled with liquid ammonia. In fact, it is the same hydrothermal algorithm which is used at receipt of quartz in which instead of water — ammonia.

Nevertheless, high temperature in the ammonotermalny reactor in combination with pressure by 2500 times exceeding atmospheric and also the corrosion caused by supercritical solution do not strengthen structure of the camera of the reactor at all, and, so call into question into production efficiency of materials for LEDs. Trying to find a solution, the research associate of University Aalto the post-doctoral candidate Sami Suikonen, the research associate of Siddkh Pimputkar and group of researchers of University of California, Santa Barbara, headed by the Nobel Prize laureate on physics Syudzi Nakamura systematically analyzed reaction of 35 metals, 2 metalloids and 17 ceramic materials to three different supercritical liquid structures heated to 572 degrees Celsius.

Read more »


Design low-power DC-DC for the organization of power supply on duty. Part 3

1 year, 1 month ago
Part 1
Part 2

Prolog


The previous two articles at me turned out to interest a large number of readers — and it is an occasion to continue a cycle of articles and to try even more. Many of you already press for circuit engineering, well — it is time! It will be rather simple article, in it there will be a heap of standard solutions and several feints ears of cunning circuitry solutions.
The truth if you did not forget — my task not simply to issue result for monkey thoughtless repetition, and to explain for what each part and to explain as in general all this works. Therefore in this article you will definitely not see anything wonder-working we disperse.

Task which needs to be solved


For anybody not a secret that there is such concept as galvanic isolation. It is circuitry acceptance by means of which we electrically isolate different parts of our scheme. Most often in practice there is a need to isolate in this way to untie high-voltage input part (there where we have mains voltage) and low-voltage part (output where at us we will allow +15 V).
All this is necessary in order that in use the power supply unit (the DC-DC transformers) of the user just eby should high tension which can appear on an output at any fault killed. The situation when any power transistor punches" in the scheme is possible, it will organize KZ, that is will pass current from an input on an output at once. In the scheme where there is no galvanic isolation on an output instead of + 15B it will turn out + 310B, I think a difference everything it is clear.

Remember! In all subsequent schemes there will be high tension! You should work very carefully if you decide to repeat.

Read more »