Super-brain hacker

Chapter 204 Robot

"Do you know the modulation technology?" ...Mark asked Lin Hong.

Lin Hong nodded.

modulation technology is a technology that converts baseband signals into transmission signals. After quantifying the analog signal, it uses the binary digital signal "..." or '0' to make on-off modulation of the optical carrier and pulse coding.

Lin Hong had been exposed to this aspect when he studied radio before. Recently, he has studied infrared wireless transmission and has a very deep understanding of this area.

"Radio control uses pulse modulation technology. A remote control system includes the transmitting part and the receiving part.

Mark picked up the remote control in his hand, pointed to a chip in the lower left corner and said, "This is the crystal of the transmitter, which is responsible for converting the received control signal into a high-frequency signal to transmit it. There is a high-frequency oscillation circuit here. When we hit the direction on it, the pin of the integrated circuit inside will be connected and the circuit will be closed. At this time, a fixed sequence of electrical pulses will be generated.

Here, Mark took out a toy car from another box, then turned on the power, and pressed the steering lever in the remote control. The car immediately rushed forward.

"When ** is used as a rocker, the pulse sequence emitted is different. For example, the forward signal, the previous paragraph of the fixed sequence used for synchronization, and the old pulse will follow, so that after the receiver receives it, it will know that this is a forward signal. If followed by a pulse, then it is a backward signal..."

"Can you understand what I said?" Finally, Mark stopped and asked Lin Hong.

"Well, I basically understand. I have studied infrared wireless transmission before, and the principle is similar. Relatively speaking, this type of modulation and demodulation is much simpler. I think there should be a filter in the receiver, which will filter out all radios that are not in the corresponding frequency band to avoid interference. After all, there are many other radio signals in the air.

"You're right!" When Mark saw that Lin Hong was able to draw inferences, his eyes suddenly lit up, "Have you studied infrared wireless transmission?"

"Mark, STONE is a professional and master in the field of infrared wireless transmission!" Arthur came over at this time. He happened to hear his uncle's last words and immediately interrupted, "He invented an infrared wireless transmission protocol, which is much more efficient than the agreements of those commercial companies. If the current hardware hadn't supported it, it could theoretically reach 4MBIT per second..."

Then, Arthur introduced the SAM Association's story at school in detail, and then looked at Mark with a proud face.

The reason why he does this is that his uncle usually shows off in front of him and always pretends to be a technical expert, but Arthur's field of expertise is not comparable to the computer network at all, and he said that he didn't understand.

And now, he finally has a project worth bragging about. Naturally, he will not miss the good opportunity to show off in front of Mark.

"Really?" Mark was very happy when he heard the words.

"Of course it's true!" Arthur was dissatisfied and said, "Do you suspect that I'm lying to you? Our association is now well-known all over the country!"

"No, it's not." Mark shook his head quickly and said, "I mean, STONE is really so good at this? How can you invent the agreement by yourself?

"Of course." Erser didn't expect that he asked this question, and he was a little stunned. "His agreement was even praised by Apple's founder Wozniak, and now he has applied for a patent."

"That's great!" Mark immediately walked quickly to Lin Hong and grabbed his hand. "STONE, I didn't expect you to be so accomplished in this area. I happened to have some problems here. Can you do me a favor?"

"What..."

Lin Hong quickly pulled out his hand and couldn't bear his enthusiasm.

"How can I help you?"

"Have you seen these toy cars?" Mark immediately explained, "They are connected through infrared sensors. I asked my friend to help me write a small communication program so that they can connect with each other, but this program seems to be a little problematic. Not only is the delay serious, but it will also miss some important information."

Mark's words surprised both Lin Hong and Arthur.

They looked at the seven or eight toy cars on the ground, but they didn't expect that they were still controlled by infrared wireless.

"Mark, when did you start playing this kind of advanced thing? Aren't all the things you do purely mechanical? Arthur asked first.

Indeed, the machines made by Mark in the past are all products of the pure industrial era, using gears or chains as transmission power, showing an alternative heavy metal aesthetics.

But today, Mark told him that he was using infrared sensors to connect many toy cars, which really surprised him.

"What is this for?" Lin Hong is also a little curious.

He just went to the Meixin remote control and didn't pay attention to the toy cars on the ground. Now he found that these toy cars! Unexpectedly, there is a circuit board connected with an infrared receiver and a transmitter.

"Hey hey, you'll know later." Mark smiled and didn't answer, but said, "STONE, while there's still time, can you try and help me see what's going on?"

"Let me try." Lin Hong agreed.

He is actually curious about what Mark wants to do with these cars.

Both he and Arthur entered Mark's bedroom and found that it was more messy, with all kinds of electronic components everywhere, and even electric welding machines in it. Of course, what interested Lin Hong and Arthur most was a brand-new notebook on the table.

"Wow!" Arthur immediately rushed over and looked at it in his new notebook.

"Oh, my God, it's the latest T3200sxc!"

Although the configuration of this notebook is far less than that of his desktop, it is the latest product after all. Its advantage lies in portability, which can be carried and exported at any time.

Mark said that he usually doesn't use this notebook at all, just when his friend comes to help him debug the program.

Under his instructions, Arthur quickly found the core code of the control system used in the toy car.

Lin Hong also took a look and did find a lot of problems, mainly because the recognition of the signal is too rough. With so many toy cars and using infrared for data transmission at the same time, there will naturally be problems.

"What function do you want to achieve?" Arthur casually asked, "I saw the code in it, and it was very easy to implement."

"It's relatively simple. My purpose is to require them to complete the most basic actions, with only one instruction. That is, if the car in front encounters obstacles, the car in the back will turn and walk for a period of time, and then adjust its posture forward..."

Mark explained in detail what he wanted to do with these cars.

It turned out that he had just placed those things in the field in order to act as obstacles. He wanted to use these cars to cross this complex terrain and let one of these cars reach the destination correctly.

"There is something wrong with your algorithm." Arthur said mercilessly, "In this case, all the cars will be messed up, and some cars may go straight back."

"I know, but don't worry about it, just make this function according to my requirements." Mark has been predicting this for a long time.

Although Arthur may be able to handle it, he is not as familiar with Lin Hong's infrared protocol at all. He has to temporarily check the essence and figure out the mechanism before he can repair it in a targeted way.

But time is no longer allowed. Mark has been urging him, as long as he stands up and gives up his seat to Lin Hong.

Lin Hong looked at it carefully for a while and summed up two points. The reason why the data is delayed is because of the problem of the data protocol used before, and the packet is often lost when decoding, the filter algorithm is not written well.

Due to time constraints, he has no time to change the protocol. As long as he helps the lost B Zhao fix it, and then immediately burn it into the ROM on the car board through the burner.

Mark simply tested it and found that it was indeed much better than before, and he was very happy.

"Hahaha, Orlando, you will never win this time!" Mark laughed happily. He laughed very much.

"My father is coming too?" Only then did Arthur know the news.

As soon as he finished his voice, he saw a truck driving into the warehouse. After stopping, his father jumped down from it.

"Orlando, you're finally here!" Mark immediately greeted him, "This time, let the lose be convinced!"

"Is it? Mark, don't be happy too early. I forgot to tell you that our laboratory has just made a very good breakthrough.

"Oh? Really?" Mark didn't care about it. "You said the same thing last time, what's the result? Hahaha!"

"Well, you two are not afraid that the two children will watch your jokes." At this time, Vina stepped forward and said, "Who will win? Let's compete quickly and go to the show later!"

"Vena is right. Hurry up and unload the robot."

Orlando didn't say anything more, but the man who came with him opened the back door of the truck, and then carried out a robot that looked very sci-fi.

After Lin Hong and Arthur saw it, they were immediately interested, because the appearance of this robot looked too much like a robot in a science fiction movie.

Except for the tracked feet, everything else is designed according to the human structure. The body, arms, head, and facial features are lifelike.

Lin Hong noticed that the robot's two arms stretched forward, holding a laptop on it.

"It's so cool!" Arthur marveled that the robot circled around the saddle, "Dad, is this the latest robot researched by the T Mobile Robot Laboratory?"