-
Landlord, there's a problem with the program, right?? Something is wrong with you?
Your P0 port is the control segment code, right? So why is it used again? I haven't looked closely at your other programs, so let's change them here. Since you don't have a wiring diagram, maybe I'm wrong, if there is any problem, I hope you can give a diagram, so that everyone can help you.
And what do dula and wela mean?
*Digital Display Program***
void display(uchar shi,uchar ge)dula=1;p0=led[bai];dula=0;
wela=1;p0=0xf7;wela=0;delay(48);
dula=1;p0=led[shi];dula=0;
wela=1;p0=0xef;wela=0;delay(48);
dula=1;p0=led[ge];dula=0;
wela=1;p0=0xdf;wela=0;delay(48);
In addition, the virtual machine group is on the product**, which is super cheap.
-
P0 port plus pull resistor try.
-
You are not not added pull resistor, resulting in only low level it!
-
There are two display modes of <> digital tube: static display and dynamic display.
Characteristics of static display mode: The so-called static display means that no matter how many digits of the digital tube, it is in the display state at the same time. When static digital tube display is used in single-chip microcomputer system, a latch needs to be added to each digital tube, and when a digital tube is required to display other content, only the value of the latch connected to it needs to be modified.
Characteristics of dynamic display mode: The so-called dynamic display means that only one digital tube is in the display state at any time, and each digital tube takes turns to display. When the digital tube is in dynamic display, all the bit lines are separated, and the line selection of each section of each digital tube is connected.
-
1. The segment codes of multiple digital tubes are connected together, and the bit codes are controlled separately.
2. Because the segment codes are connected together, if the digital tube is fully bright, the displayed data is the same, so in order to display different numbers, at any time, only one digital tube can be displayed, and the rest are not displayed.
3. Use software to make these digital tubes take turns to display the numbers we need.
4. As long as the update frequency is fast enough (>100Hz), these digital tubes will display the numbers we need at the same time with the naked eye.
-
An 8-digit digital tube can be seen as 8 small bulbs. For example, if you want to display 1, the upper and lower light bulbs on the right side can be lit. In a certain order, the 8 small bulbs are numbered, such as abcdefgh, and when different values are displayed, such as from 0 to 9, the number of the small bulb when the ten numbers are displayed is written down, which also forms the so-called "code".
In further applications, as long as the small bulb is lit according to a certain code according to the code written earlier, the corresponding number must be displayed.
Introduction: Digital tube is a semiconductor light-emitting device, and its basic unit is a light-emitting diode. The digital tube can be divided into seven segments of the digital tube and eight segments of the digital tube according to the number of segments, the eight-segment digital tube is one more light-emitting diode unit than the seven-segment digital tube, that is, there is one more decimal point, and the decimal point can more accurately represent the content that the digital tube wants to display; According to how many can be displayed, it can be divided into 1 bit, 2 bits, 3 bits, 4 bits, 5 digits, 6 bits, 7 digits and other digital tubes.
Structure: LED digital tube is composed of multiple light-emitting diodes encapsulated together"8"For type-shaped devices, the leads have been connected internally, and only their individual strokes need to be drawn out, and the common electrodes are required. The commonly used number of segments of LED digital tube is generally 7 segments, some add a decimal point, and another is similar to 3 digits"+1"Type.
LED digital tube is divided into two categories: common yin and common yang according to the different connection methods of LED, and it is very important to understand these characteristics of LED for programming, because different types of digital tubes, in addition to their hardware circuits, programming methods are also different.
Expansion: The digital tube is one of the types of display screens, which will make it glow by inputting relative current into its different pins, so that the display of numbers can display all parameters that can be represented by numbers, such as time, date, temperature, etc. Due to its cheap and simple use, it is widely used in the field of electrical appliances, especially household appliances, air conditioners, water heaters, refrigerators and so on.
The vast majority of water heaters use digital tubes, and other home appliances also use LCD screens and phosphor screens.
-
Summary. Good evening, dear! Regarding the garbled character fault of the digital tube display, please check the following reasons:
Wrong wire, poor contact of a wire, broken a device, abnormal power supply voltage if it is built with a digital circuit, with a digital tube clock, you should consider the breadboard and lead length problem, now the quality of the breadboard is worrisome, often poor contact, the digital tube is a current sensitive component, the lead is a little longer, it may cause a modulation effect. There is a change in brightness when it is scratched. In addition, the COMS circuit has a high impedance, and it is easy to introduce electromagnetic radiation interference if the lead wire is long.
Therefore, I recommend that you switch to the soldering method and try to truncate the leads.
The method of troubleshooting the garbled code of the digital tube display.
Good evening, dear! Regarding the digital tube display garbled fault, please check the following reasons: the wrong wire, a wire is not in good contact, a device is broken, the power supply voltage is abnormal If it is built with a digital circuit, the clock of the digital tube should be considered, the breadboard and the length of the lead wire should be considered, now the quality of the breadboard is worrisome, and the contact is often poor, and the digital tube is a current sensitive component, and the lead wire is slightly longer, which may cause a modulation effect.
There is a change in brightness when it is scratched. Moreover, the COMS circuit has a high impedance, and the long lead also allows for the introduction of electromagnetic radiation interference. Therefore, I recommend that you switch to the soldering method to connect the device and truncate the leads.
-
Summary. Hello I am glad to answer for you, if the digital tube is yang, the low level is effective, and the corresponding hexadecimal representation is: 0-0xc0, 1-0xf9, 2-0xa4, 3-0xb0, 4-0x99, 5-0x92, 6-0x82, 7-0xf8, 8-0x80, 9-0x90.
If the digital tube is common negative, the high level is valid, and the corresponding hexadecimal representation is 0-0x7f, 1-0x06, 2-0x5b, 3-0x4f, 4-0x66, 5-0x6d, 6-0x7d, 7-0x07, 8-7f, 9-0x6f.
Digital tube 1 9 display.
Hello I am happy to answer for you, if the digital tube is yang, then the low level of the slag is effective, and the corresponding hexadecimal system is expressed in an empty and quiet way, which is: 0-0xc0, 1-0xf9, 2-0xa4, 3-0xb0, 4-0x99, 5-0x92, 6-0x82, 7-0xf8, 8-0x80, 9-0x90. If the digital tube is common negative, the high level is valid, and the corresponding loss decimal representation is 0-0x7f, 1-0x06, 2-0x5b, 3-0x4f, 4-0x66, 5-0x6d, 6-0x7d, 7-0x07, 8-7f, 9-0x6f.
PLC digital tube display design Mitsubishi ladder diagram.
Extended information: x0 is manual automatic selection, when automatic is selected, the x1 conveyor roller under the manuscript cluster will run automatically, when manual is selected, the conveyor roller will run manually after pressing x2. Y0 is the conveyor roller run.
Method Step 1: Create a new project here using the Mitsubishi FX series, select the SFC program method Step 2: Set the name of the SFC block and determine the method Step 3:
Create a new ladder diagram, here you need to choose the ladder diagram method Step 2 method Step 1: Then there are two program blocks, here the two program blocks are almost respectful and you can modify the name to distinguish which is SFC and which is the ladder method Step 2: SFC and the ladder year diagram are still different methods Step 3:
This makes it possible to program (ladder diagram for manual mode, SFC for automated production, often a combination of both).
Digital tube showing PLC ladder diagram of Mitsubishi.
You send it to me.
You send it to me after you finish making it up, and you want Mitsubishi ladder step instructions or basic instructions.
Dear, this side is not helpful, this is just for you to answer and provide a way for you, if you operate, you have to operate it yourself.
You send me ladders.
I don't know what the electronic basis of the questioner is. >>>More
There is no such thing, and you need to draw the components by yourself. >>>More
<> this is a simple discrete component counter, but the output is not an LED digital tube, this is a glow digital tube, if you have a little electronic circuit foundation you can change it to LED, if you don't use a digital tube directly on the output end of 0 9 LED can also be displayed, which LED is bright is which number. >>>More
It depends on what the power supply voltage of your digital tube is, the commonly used small 7-segment digital tube is 2 LEDs in series in series, 20mA, so each section of the voltage is about, the driving current of 74HC573 can reach 35mA, the saturation voltage drop is, the saturation voltage drop and the LED working voltage add up, when the power supply voltage is 5V, the voltage will be higher, and when the current limiting resistance is not added, the current will increase to more than 35mA, so that the saturation voltage drop and LED voltage are increased, until the addition is equal to 5V. The temperature of the device increases. At this time, the sink current can not be determined, it should be beyond the normal range, and the current is related to various factors such as the size of the LED, the ambient temperature and heat dissipation, the manufacturer and batch number of the device. >>>More
1.Does the router hide the SSID wireless network name:
SSID is the broadcast name of the wireless network, which is the name of the wireless network we see when we search wirelessly with our mobile phones. For security reasons,There will be this function on the general router,If your Apple 5S can search for other wireless,But only the current wifi,You can check whether the router hides the SSID name。 >>>More