Despite the earthly race for MHz, GB, nm, number of cores and pixels, much more interesting events occur in Cosmos. One of the most spectacular is the birth and death of stars. Thanks to the progress, a person can take part in the life of a new class of space objects - supernova short-lived stars. 1. Open the text file . File name: free phone number. Call the star! 2. We observe the birth, short life and death of a star at the address indicated in the second line of the file. 3. At the end of the text appears the last digit of the phone number from which the star managed to fight back.
Notes. 1. To increase the bandwidth of the call beats off - it is free. 2. The full number is not displayed. 3. Any SMS is shown as a full stop. Write any desire, all messages are burned in a star and may be fulfilled! Due to the delay in delivery, it is difficult to understand the authorship, so the number digit is not shown. But there will be a real starfall - a triple flash! SMS is charged as regular messages, but you can not enrich the cellular operator by sending them over the Internet. 4. In reality, when a real “Star” flies in Space, a person will see a flash simultaneously with the “hang up” signal on the phone. When watching a webcast, the video comes with a slight delay due to the low speed of the communication channel.
The idea arose several years ago and gradually grew to a working breadboard called the “Star”. A video of star flashes in space and the process of creating a layout are shown in the movie “ Light Your Star! " ')
For the first time this thought came to a man back in 1914. At that time there were no microcontrollers, Tsiolkovsky only developed theories of flights into space, and therefore Mayakovsky told about the idea in a poetic form: Listen up In principle, After all, if the stars are lit - does that mean someone needs it? So - someone wants them to be? So - someone calls these pearls pearl? And, straining in blizzards of afternoon dust, breaks in to god afraid of being late crying kisses his sinewy hand, asks - so that there must be a star!- swears - will not transfer this starless flour! And then walks alarming but calm outwardly. Says to someone: “After all now to you nothing? Not scary? Yes?!" Listen up After all, if the stars lit - does that mean someone needs it? So - it is necessary so every evening over the roofs lit at least one star ?!
And now, almost 100 years have passed, the dream of Mayakovsky is close to realization. A star is a device containing a cellular modem, a controller, and a flash — a bell indicator.
It can be placed anywhere and anyone can call the star. Like many modern people-stars, she behaves in an appropriate way: beats off calls and SMS from annoying admirers, flashing every time with joy.
The idea was sent to the competition described in the article “A million-dollar startup ”. In this competition, surely there were many inhabitants of the planet Habr, so it is interesting to find out how everything was with them. The official result with the list of winners is still not visible, although they promised until October 15. My result: another not won international competition. The phrase “Do not amuse yourself with illusions!” Was again confirmed. There is nothing to boast about, so this story is about another unsuccessful performance. “ Pulsed electrolysis at the Google Science Fair ” was done by my daughter, now it's my turn. As a rule, the competition is the result of some activity. To offer something, you need it to be something already. Therefore, it is necessary to study, study and study again, and then work, work and work - this is what one famous grandfather said. In general, this project of startups (I don’t like this foreign word, even Word turns red when it is written) two projects were sent: “Lamp & Ray Time” and “Light your Star”. The competition is American, so forgive me for my english. “ Lamp & Ray Time ” - the development of the idea of ​​“The Lamp of Time”. From the newcomer were presented photos of the time ray in Paris, work on a spacecraft and video of the monochromatic version of “The Lamps of Time” on the Moon. This is also an interesting direction, but not the topic of today's story.
In the project “Light your Star” it was proposed to place a star on a spaceship. As it should be, the application form was filled out, with links to the Executive Summary (project summary, if I understood correctly) and the presentation “ Light your Star ”. By immodest calculations, the implementation of this idea produced a good profit, which was supposed to be spent on the development of space programs. Figures for comparison: 1. The creation of the rover "Curiosity" has been spent about $ 2.5 billion. 2. The NASA contract with SpaceX provides for 12 flights to the ISS, with a total cost of $ 1.6 billion. 3. A380 liner costs about $ 390 million.
The idea of ​​the star is elementary and not expensive, so it can be implemented in one of the nearest expeditions visiting the ISS. The power station allows you to easily provide the star cosmic (solar, that is, stellar) energy. This little asterisk will unite romantics and realists, lyricists and physicists, and will also allow to collect money (which modern managers like) for the development and popularization of space research (which ordinary people like it).
Such a cosmic star will be convenient for the fulfillment of any dream. A wish is made, dialing is made, and then everything is as in antiquity. Result: “dreams come true” not only at Gazprom. Automating the execution of a dream will not wait for the arrival of the stargazing period. You can see the cherished flash in the nearest cloudless night. Not so romantic, but practical. It is very convenient to give a flash of a supernova to a loved one - the result of the focus is guaranteed. At the same time studying the trajectory of the spacecraft. For children, the idea is interesting in that it will contribute to the independent study of astronomy, since it was canceled at school, and there are few scientific and educational programs on television.
Anyone can try to test this idea right now. There is no familiar astronaut in orbit, Takushi Tanaka will not have time to change the firmware of his device, so there are no flashes from space. But with the help of an Internet broadcast, it will be possible to watch flashes from the layout location, and in the file that is shared, you can see the last digit of the number of the called phone. Since free resources are used, it is not known whether the experiment will last for a couple of days, but in a real incarnation the star should have a high survivability and reliability.
Collecting money for calls during testing on the layout will not be. SMS is paid, but you can not send them. Since the call instantly beats off, the system capacity must be extremely high, about 20 ... 30 people will be able to call per minute. With this option are checked in work with a large load: - mobile operator; - Google documents in multi-user access; - channel video; - cellular modem and controller.
It is interesting to see what the text will be as a result of the collective creativity of many people. Uncle Fyodor, the dog and the cat from Prostokvashino also jointly wrote a letter to father and mother. In our case there will be only numbers. And if you translate them into notes or a picture, as suggested in one interesting article ? Can someone print the text presented in the film about the project?
In the future, the star can be implemented on a smartphone as a program that instantly beats the call and produces a flash on the screen. Programmers can do this pretty quickly. The idea can be used in various games and controlled toys. For example, it will be interesting to put a star on the top of a city spruce on the New Year holiday. The device turns out to be cheap, calls to it are free - people have fun.
Interesting was the work on the implementation of the star layout. Directly the embodiment of ideas in iron took several evenings of work due to the fact that there were ready-made developments. The scheme is assembled on a slightly reworked board from the “ Lamp of Time ”.
The program for processing messages arriving via RS-232 is taken from the GPS clock , the processing of a phone number is from a cellular security alarm device (no description yet). Cellular modem “Fastrack M1306” is used from a long-forgotten development. Some money was put into the account: 300 rubles, which should be enough for a long time, since the tube does not rise.
Underwater rocks. Strongly worried about the behavior of the modem and the cellular operator in moments of heavy workload. When a person took the line when dialing, for the next caller, it will be busy. As a result, the exchange of the modem and operator with service SMS of the “You are such a subscriber called” type begins. The situation will increase the number of flashes of the star, but it makes the modem more and more inaccessible for calling people. It was possible to get out of this situation relatively easily. After a short conversation with the operator, the service “You have been called!” Was turned off and interfering SMS ceased to exist.
Next surprise: switching the active window on the computer. For the numbers to always be printed, the text box must be active. During the tests, there was a case when the antivirus program happily announced that several new updates had been installed. At the same time, the window of the notification service offered to protect itself and its family with the help of the new version and was set on top of all windows, becoming active. The focus from the text editor disappeared, and the keyboard began to idle. This point should be taken into account and should be deleted.
When typing numbers, a checkbox appears with the name of my account, which is also not at all interesting. A little imagination, Google's generosity, the fabulous spell “sim salabim akhalai makhalai” and here you are: checkbox “your last digit”. Sometimes, when the Internet is running, there is no connection with Google documents, but fortunately, it is automatically restored.
Most of the time was taken by two new (for me) directions: 1. Work with USB port. Entering into the computer the last digit of the telephone number of the caller is implemented by simulating pressing a USB keyboard. The keypad is controlled by a modem with a controller, which isolates the last digit of the number and “presses” the desired key. Before starting work, open a shared document, select a font with the same width of characters, set the cursor to the beginning of the text. We connect the telephone-controlled keyboard to the computer and go! During the experiments, I managed to name a couple of lines, but looking at the same number is not at all interesting, I want a change in the text - go for it! USB HID keyboard is better implemented on the same controller that controls the cellular modem. But by now I have a white spot with a black hole in this area, so the standard “Porto KP-01” numeric keypad was taken. Using a “crutch” in the form of a latch and an opto-assembly, the numeric keypad was connected to the controller board.
As a result, the work was done clumsily, in the future it is necessary to spend time on a detailed study of the USB protocol. For a real space star, this fragment of the scheme will not be needed; in the layout it is made in case of the absence or failure of the video broadcast channel. According to the result of the experiment, in the text document the last digit of the number is printed almost instantly after the call.
2. Putting video in public access. There is no experience in the organization of video broadcasting. After reading all sorts of different, I stopped at three options: Ustream, Bambuser and Ivideon. The first option did not like the advertising line on the image, flashing at random times and flashing a lot of different information around. The second is that when using the same camera, the image was not awful (most likely I just did not understand something). As a result, Ivideon chose as a simple and clear option. It did not go smoothly here either: when viewing through the Internet from another computer, the flashes on the screen lagged behind reality, and the delay was significant. The time machine turned out: the flash had already passed, and the image could be seen in many seconds. Moreover, this problem manifested itself for all three considered services and actually served as the reason for searching for the working version. Another problem: sometimes the camera is not available from the first request. After translating the system unit into a constantly vigorous state, the problem disappeared - no need to sleep during work. Began to read articles about video service. As it turned out, the founder of this project is a Russian developer, habrovets and an interesting writer. In addition, a young man that instills confidence in the country's intellectual future - all is not lost! As a result of reading articles and comments, I realized that in my case the delay in the image is due to a weak channel for returning to the Internet. The speed was only 0.5 Mbit / s. It turns out that the video from the camera is recorded on a computer, and it cannot be transmitted to the video service server at a viewing speed, that’s the whole secret of the “time machine”.
Began to think. The first is, naturally, the struggle for speed. I contacted the provider and identified the problem. While they were thinking about something, he decided to write a letter to the founder Ivideon through the habropochta. He should be well versed in his field, especially since a habrovets habrovets will always help! No, better this way: habrets habretsu will always help! And I had several proposals (except for increasing the channel width, of course): 1. Make an absolutely black background, in which there will be only a flashing dot. 2. To transfer not color, but black and white image. 3. Change server settings: - quality (HI, MID, LOW); - video format (MPEG-4 or H.264); - bitrate (0.5 ... 4 Mbit / s); - frame rate (2 ... 30 frames / s); - Disable encryption when transferring data over the Internet. 4. Reduce the size of the image from the camera to 640x480. 5. What else? Vladimir answered correctly and in detail on all points of the proposals and said that a new version of Ivideon Server is expected, in which there will be a lot of new things.
Meanwhile, the provider called. The guys from the technical support service have fooled something on their side and the speed has increased to 0.75 Mb / s. They also said that we have a good line and advised to enable AnnexM on our modem. After it was turned on, the speed increased slightly, to just 0.95 Mbit / s.
Since the result was unsatisfactory, the provider promised to change the modem, but not quickly. This “not quickly” has grown into a further technical impossibility due to the lack of free lines.
There is a theory that the universe is infinite and has no boundaries. In the second half of the 80s, a computer with a simple name “BK-0010” appeared, and it was completed with a large power supply unit, which had a black plastic case. It was here that the acquisition of the boundaries of the “Universe” occurred. The webcam for broadcasting video flashes on the Internet, and the “Big Dipper” constellation in the form of holes on the plate through which light from LEDs made its way perfectly fit into the case from the distant 80s. The blackness of the vacuum filled all the remaining free space.
Now power supplies make smaller and more difficult to place the Universe in them. In the layout there is only one constellation and a new star, but what did the one who created everything have to do?
The experiment used a webcam “Defender GLory 1330HD”, such a ball on the stand. To indicate that the camera is on, a blue LED is used, which highlights the object with a bluish tinge. In addition, the camera is afraid of the dark, so at dusk, its built-in intelligence includes four white LEDs, which, along with blue, “flood” the artificial night sky with its bright light. Black night does not work. I had to trepan the skull of the camera and turn off the intracranial LED formations.
Deep night has come. In the sky became visible stars , migrated to the layout. And of course, one new one has been added!
It remains only to fix the supernova, located just above the Dipper's dipper, and connect it to the galactic control scheme. Now people can manage this supernova. In the layout, the star froze in one place. In reality, it is better to place the star on the ISS, as the most interesting object in the near space. As a result, the solution of the problem of flashing the LED will rise to unprecedented cosmic heights.
During the experiments, a new candidate for live video broadcast appeared. “Google+” provides an opportunity to organize a direct video call on the Youtube channel. I tried , but the delays between real flashes and in the image via the Internet were also significant and reached up to 20 seconds. Changed the settings for the slow Internet (voice activation), the delay is preserved .
I realized that it would not be possible to organize a live video, and I’ll have to limit myself to a demonstration of the last digit of a phone number in a Google document, which is not quite full. And here comes the answer from Vladimir with a new modified version of Ivideon Server. Still great when communication occurs in their native language. Thank you so much Vladimir for your help and wish success with his project! In my example, I felt what work and time are behind the changes in the thousandth position in the version build number and what real user support is. Watching a video is more interesting than seeing only a set of random numbers in the text. And with the ISP will have to think something. Fortunately, now there are a large number of alternatives.
Ideas for the further implementation of the project “Light your star!” Created a project site. The site displays and automatically calculates the funds received on the project account. Absolutely transparent system of income and expenditure of funds. Anyone can see how much was collected and what space projects were spent. The star is installed on the ISS, as one of the options. To begin with, the experiment can be performed directly from the station, the Dome module allows it. The phone number is published in the media and the Internet. Despite all the tricks, when you call, the cellular channel “engages” for a short time and makes the star inaccessible. To solve this problem, it is possible to organize a flash through the project website or install a multi-channel phone to increase bandwidth. But the maximum frequency should be limited by the visibility of individual flashes. The site publishes the current location of the star, the trajectory of the movement and the calculation of the location at any time of the day. The points at which the stars were flashed are plotted on the orbital trajectory of the spacecraft. It will be interesting to see which countries produced more outbreaks. Since countries have different sizes, you can use an indicator, such as the number of flashes per kilometer of flight. Optional, but desirable part: on the site you can see the video from the ISS. In this case, the flash is seen against the background of the Earth. Thus, a person will be able to see the flash of a star not only above his head, but also above any point of the planet (within the ship's orbit), send hello to a friend, conduct flash mobs and other actions. When calling a star, the tube is “lifted” and “hang up”. The cost of a call is small, for example, $ 1. Each bell produces a star flash, visible from Earth. The call time and the last digit of the caller's number are recorded on the website and the author of the call can verify this. When sending any SMS, a triple flash is made, the last digit of the number and the flash time are also recorded on the website. The cost of an SMS, for example 3 dollars, which is also available to many people. If you send an e-mail address in the SMS text, then an automatic letter with a certificate will be sent to the box where you can express gratitude for your contribution to the development of Space and confirm that in honor of this contribution an outbreak was made at an altitude of XXX km above the Earth’s surface such a place, and had the following coordinates ... Man would be nice. In this case, the cost can be made 5 dollars. For people who have left their email inbox, it is possible to organize a voting system about the directions of new space projects for which money can be spent. Those who pay the costs have the right to choose what they will do. You can make it possible not only to make a flash in the sky, but also to “light your name” in the SMS on the project website. In this case, the cost of the message will be already $ 7. Another option: pre-order time or place flash via the Internet or SMS. In any case: 1, 3, 5 or 7 dollars will be easy for people, and everyone will be able to contribute to the development of space research.
One of the problems for providing live broadcast from the ISS is the lack of a complete radio coverage area. We have all heard the phrase “the spacecraft is out of the range of the ground tracking systems”. To increase the coverage area, the network of ground stations is increased and the ships of the “Marine Space Fleet” are launched into the oceans. “ , ”. . 10 . , . , . , .
1. 1 Fixed the program. Now the last digit of a phone number with more than 11 digits is displayed correctly.
Appendix 2. The first conclusions. 1. There are a lot of inquisitive people, and it pleases. After 2,700 article views, 100 calls were made (one line of text is exactly one hundred numbers). Some probably called several times, I did not count my test calls. 2. The video broadcast channel is holding on confidently. The cellular modem seems to work too, at least there are no reviews that do not work. Google disappoint, unfortunately. On the computer, where the layout is connected and the document is open in the author's mode, everything works great, the numbers appear immediately after the star flash (LED). The number of other readers does not exceed the number 49. On a computer that is in read mode (that is, everyone reading this document), the message appears: It looks like this file is very popular! Too many users are working on it, so some tools may not be available. Try again later. Skip. At the same time, if the numbers in the author's document have already appeared, then the readers do not. They will appear only after updating the page. The caption "It looks like this file is very popular! Too many users are working on it ... ” closes the file name with the phone number, so the star’s phone is duplicated in the second line of the document.
Supplement 3. November 1, 12, from 10:00 pm to 9:20 am on November 2 at 11:20 am there was no Internet connection with interruptions. In the age of continuous automation, the provider has no means of instantly detecting problems that have appeared. This is another identified bug. Everything had to be solved by personal attendance and phone calls. If the device stood on the ISS, then everything would work fine. With this test, the cellular modem continued to fight off calls, and flash video and text with phone numbers were not available. On November 4, from 2:00 to 10:00, there was also no Internet connection. Calls were fought off, but the text and video at the specified moment were absent.
Supplement 4. On the night of November 7-8, an interesting failure occurred in Google documents. The cursor has independently moved to the beginning of the text and the numbers began to “fill up” before the words “Flash video”. I had to manually move the typed 5555566 sequence to the morning to the end of the text.
Addition 5. The end of the experiment. 11/14/12 at 10:20 the experiment was completed. It was launched on October 31 at 17:14. During this time, the star received 946 calls and 111 SMS. The greatest intensity of the messages was observed in the first two days.
The equipment worked without complaints. Internet connection was lost several times due to problems with the provider. The video feed channel from Ivideon showed itself perfectly. Google , . : Google , . .