1098 views|17 replies

584

Posts

0

Resources
The OP
 

MCU Random Talk [Copy link]

 

What is the use of microcontroller?

Suddenly, I had an idea: Isn’t the execution of a single-chip microcomputer equivalent to permutations and combinations? !

Each material, whether you choose to use it or not, is equivalent to 0 and 1, and using one or several is equivalent to a truth table.

For example, if this device consists of four functional units, then the options are 15 plus 1, where 1 is standby or shutdown.

This post is from 51mcu

Latest reply

The microcontroller has powerful logic functions. It is a trigger mechanism designed by you and can realize a lot of trigger mechanisms.   Details Published on 2024-1-6 10:14
 

584

Posts

0

Resources
2
 

In addition to the basic function options, there are also settings to control the strength and duration of the effect.

In the past, these actuators were connected to band knobs or key switches.

For band knobs, the relationship between function options and contacts can only be one-to-one, while there are two types of piano key switches.

One is like the band knob, one button one function, and the other is based on the number of buttons equipped on the execution unit.

Then, you have to press the button according to the truth table to select the function you want. For example, I want function 9. How do I do it?

Just press the leftmost and rightmost keys. The physical keys can be changed into electronic switches, such as relays, transistors or thyristors.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
3
 

However, if you just replace the mechanical switch with an electronic component, you still have to control it manually.

For some periodic specified actions, you can use a mechanical timer to control them.

However, mechanical timers have two major limitations: travel and energy storage, and cannot be executed in an infinite loop.

More often than not, the controller of a device is not a person or a machine, but information. Information processing can only be done through electronic circuits.

From sensing to execution, you can use a variety of converters to achieve the process, but key control does not require a converter.

But whether it is key control or electronic control, they are all real electronic technologies. What flows in the circuit is only energy, not data.

This post is from 51mcu
 
 
 

6841

Posts

11

Resources
4
 

Did ENAIC also implement it in the same way as the OP?

This post is from 51mcu
 
 
 

6075

Posts

6

Resources
5
 

Aren't many early controls also 0 and 1 controls? To put it bluntly, the microcontroller is also a collection of miniaturized ones. When we convert our programs into machine language, there are still only 0 and 1.

This post is from 51mcu
 
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 

7462

Posts

2

Resources
6
 

0 and 1 are just a format, a binary format. If only it were that simple, it would be great.

This post is from 51mcu
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

2870

Posts

4

Resources
7
 

The original poster learned about the jacquard machine and the "jacquard program", as well as the card machine used for statistics in the early United States. This is more similar, the CPU is a state machine.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
8
 

What can a single chip microcomputer do?

This is a post from a microcontroller forum, which triggered me to post this.

What a microcontroller can do depends on how it can be controlled and what it can output.

The microcontroller receives program code instructions and outputs information rather than power.
The output of the microcontroller is code, the material of the code is pulse, the pulse is the signal, and the code is the information.
Information is intention rather than force, so the microcontroller and all digital circuits have extremely limited load carrying capacity.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
9
 

The world's first transistor was invented in 1947.

Computers were invented in 16XX, but real computers with programming languages didn't come out until 18XX.

Punched cardboard is the "daily task list and memo" of those automated machines. However, these machines are not computers after all. They can only read but not remember. If you pull out the cardboard, there will be no hope.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
10
 

To use an analogy, an egg-boiling timer and an alarm clock are both timers, but the egg-boiling timer is a one-time timer.

The alarm clock is different. As long as the energy is not exhausted, it will ring at a fixed time every day. There is no need to adjust it every day like a boiling egg timer.

Another strength of the microcontroller is that it can provide remote control and feedback, issuing commands and reporting situations through the Internet.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
11
 

Whether it is an occasional task or a routine one, the microcontroller can handle it with ease and fulfill its mission.

Of course, there is no omnipotent device in the world. It's very simple. If you write an instruction to let the microcontroller commit suicide or create a spark, it will not be able to execute it because it was not designed with this in mind when you built it.

By the way, there is an active device called a programmable single junction transistor, PUT. In fact, it is just a variant of a thyristor and has nothing to do with programming language. Of course, it is absolutely possible for you to have it controlled by a microcontroller.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
12
 

In the last century, there was a rather horrifying topic, head replacement, which part of a person (or animal) represents himself? It is the head.

The bearer of consciousness is the brain, a single-chip microcomputer, which has the basic hardware required to perform computer functions, equivalent to the head of a human (or animal).

Some people say that microcontrollers do not have O/I interfaces. That is strange. Without interfaces, where can we connect the various terminals responsible for executing instructions? !

This post is from 51mcu

Comments

The brain is the most important part of the human body and comes from the brain.   Details Published on 2023-12-28 11:51
 
 
 

4771

Posts

12

Resources
13
 
I think this is the predecessor of the state machine. There are only so many limited possibilities, and you can just jump back and forth in it. It is very stable and reliable.
This post is from 51mcu
 
 
 

4771

Posts

12

Resources
14
 
MrCU204 posted on 2023-12-28 09:41 In the last century, there was a rather horrifying topic, head replacement. Which part of a person (or animal) represents himself? It is the head. The carrier of consciousness is the brain. ...

The brain is the most important part of the human body and comes from the brain.

This post is from 51mcu
 
 
 

584

Posts

0

Resources
15
 

apple, book, cat, dog, fish, he, she, it, how, what,

All words have a specific meaning. Does every word in a programming language have a meaning? How can you write an essay if you can't remember the words?!

This post is from 51mcu
 
 
 

584

Posts

0

Resources
16
 

<Mission>

<Command>

Turn on the LED in the 3rd layer, 5th row, 7th column of light cube No. 2.

</command>

</task>

This post is from 51mcu
 
 
 

584

Posts

0

Resources
17
 

Another thing that puzzles me is that

Since the microcontroller needs to be driven by a program, how can it realize automatic control of the system? !

What sensors can do is convert non-electrical parameters into electrical quantities. They cannot type codes like humans.

This post is from 51mcu
 
 
 

76

Posts

0

Resources
18
 

The microcontroller has powerful logic functions. It is a trigger mechanism designed by you and can realize a lot of trigger mechanisms.

This post is from 51mcu
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list