Counters consist of basic counting units and control doors that count the number of pulses in the digital system to implement measurement, counting, and control functions, and a frequency-divided functional instrument. The counter is different from the carry system, divided into binary counters and decimal counter; divided into an addition counter, subtractor counter, and reversible counter (also known as the two-way counter, can also be subjected to additional counting, or subtraction count). It can display the working status of the product, used to indicate how many folded page works have been completed. The counter is widely used in the digital system, and if counting the command address in the controller of the electronic computer.
1. Based on 51 single-chip microphone belt counter
With DC motor, button and LCD, etc., the 52-series single-chip microcomputer is used to achieve basic functions of analog conveyor belt products.
1. Use the independent button to control the start or stop of the conveyor belt, the motor does not operate after the power is electrically connected, the single-chip control drive, the relay control motor starts to operate, and the button controls the motor to stop operation.
2. Use the photoelectric sensor to detect the number of products through which the laser head is irradiated with the laser head to the photosensitive module, and the photosensitive module receives this infrared ray and enlarges it and rectifies high level signals. When someone or physical block is blocked, the receiving tube does not receive an infrared signal, and the amplifier will output a low level. This is an external count pulse signal. This counting pulse signal is sent to the AT89C52 single-chip microcomputer for counting control, and the display driver completes the final display process after extension.
3. Display the transfer belt with the LCD through the number of products, the LCD displays the preset value and the current value.
4. Preset the final value with the matrix keyboard, when the count reaches the final value, the conveyor stop, the matrix keyboard can be preset the count value, reset and other functions.
Solution link: https://www.cirmall.com/circuit/12117
2. Real digital experience ---- Website Visitor Counter
Website Visitor Counter Introduction:
For any webmaster, you can see the number of visitors counter every day, it is very exciting, and it is quite a sense of accomplishment. Usually we used the counter is software mode, that is, in the page embedded a statistical code, it is seen, but not. Today, let's make a counter that can touch the counter.
The core of the counter is an ATTINY25 microcontroller, which is sent to the website access via the Usb interface and the upper machine program running on the PC, and then it is displayed by the MAX7219 to drive an eight-digit digital tube, which is really seen, touched .
Scenario Link: https://www.cirmall.com/circuit/1435
3. Interests that are essential: Counters are also praised?
This is a simple counter made in the past few days, and this counter has not been seen in the Circuit City. This small production is shared by the Circuit City Platform today.
There should be someone here to ask such a simple production here? Hey, this is a praise of the Running Men in South Korea!
The hardware contains a button, an Arduino motherboard + a 1.2-inch 7-segment digital tube
Scenario: https://www.cirmall.com/circuit/2795
4. Infrared counter and time display based on STM32 single-chip microcomputer
This design introduction is based on the STM32 single-chip infrared counter design, using PCF8563 to drive the clock chip, TM1637 drives the digital tube.
STM32 Digital Tube Show Infrared Counter Features:
2 infrared count detection units, detect the entry and exit of your fingers, the count +1 (count -1), more than 30 continue count, more than 9999 is no longer added.
3 function buttons, the three running states of the device are set by button 1.
Button 1:
1 No long press or not short press 1
2 No long press is also short, execute mode 2
3 long press to enter mode 3
3 working modes:
Mode 1: When static, the display time, count changes, and the count. 1 minute after no change.
Mode 2: The number has been displayed.
Mode 3: Set the current time (time format: hh: MM, 18: 48, 18:48, 24 hours) At this time, the short press button 1 adjusts which time you need to set, then press End Settings Time mode.
Buttons 2: plus 1
Buttons 3: minus 1
3 LED indicator:
A, the infrared count is over 10 lights.
B and 22:00 Time Lights are completely over.
Scenario: https://www.cirmall.com/circuit/3103
5.DIY a counter, accompany you, exercise your push-ups, you are the power to take!
I want to do a good body in the triangle by doing push-ups, but the action is not standard, the effect can be halved; I want to show my own arm in front of the goddess, and the small partner is trying, but I can't let the goddess give you a count. , Ask for someone to ask yourself, today teachers DIY a counter, you can automatically count when you do push-ups, so all the above problems are floating, the tutorial begins!
Step 1: Raw materials
Linkit One Development Board produced by Lianfa
Grove Arduino Base Shield (interface board)
Grove RGB LCD screen
Grove buzzer
Grove Infrared Distance Detector
Step 2: Install the Grove Development Board
As before, the Grover sensor can save a lot of things for us. With it, you can swim more sensor, now we will prove it to you.
The Linkit One development board is exactly the same as Arduino interface layout, so we can easily connect Grove Arduino Base Shield and Linkit One development boards, and its interaction logic is also very similar, there is no difficulty in playing. You only need to take the interface of the Linkit One header and press it. During the operation, we found that this step will be more difficult, but don't worry, if your interface is neat, as long as you make one press, it will definitely get it.
Step 3: Connect each sensor
Just have completed the installation of Grove Shield, now you need to connect the sensor to the board to activate their counting function.
First we have to get the RGB LCD screen, which is responsible for showing the number of push-ups we do. You just need to connect it to the i2C interface on the Linkit One.
Next, the infrared distance detector mentioned earlier before, it is an important sensor connected to each part. It can detect the distance, so it can determine if you have completed a standard push-up. Reminder: During the installation process, you need to adjust the screws on the top of the sensor so that you can set a suitable distance.
Finally, we need to connect to the buzzer and simply find a standard digital interface starting by D. In the movement buzzer prompts, so we don't have to keep staring at the screen to confirm whether you have made a standard push-up.
Scenario: https://www.cirmall.com/circuit/6853
6. Based on 51 single-chip infrared photovoltaic number counter
Features:
This system is composed of STC89C52 microcontroller core, LCD1602 display, infrared avoidance sensor, buttons, buzzers, and power components.
1. Press the key from the left, set the key, click / clear key, and reduce the keys. A single control is a reset button.
2. Control the chip use 51 single-chip microcomputer, the display device uses 1602 Liquid crystal;
3. Use two infrared optoelectronic sensors to detect their entry and out of people;
4. The count range is 0-9999;
5. Currently the current total number of people will be calculated by counting the number of people entering and going out;
6. Can set the number of people with the button to alarm value;
7. Once the total number of people is greater than or equal to the number of people set, the sound and light alarm is performed;
8. Clear counting by reset buttons;
9. This design applies to the statistics and management of people or number of vehicles in classrooms, supermarkets, parking lots, bus, banking, libraries, tourist attractions.
Scenario: https://www.cirmall.com/circuit/15204
7. Electronic design contest topic (multi-function counter, high power factor power supply, displacement measurement device, temperature automatic control system)
Electronic Design Contest Title: Multi-Function Counter - Huazhong University of Science and Technology
This design gives the basic principles and implementation schemes of multi-function counters with Cycloneii type FPGA EP2C8 as the core. The FPGA includes a frequency spectrum module, a test module, a DDS table module and a Niosii processor; the Nios nuclear regulation frequency word and the phasewind Control DDS table module and output sine wave with the film outside the high-speed DA DAC900. The film of the measured phase module is enlarged by TI's broadband op amp. The TL3116 is used to construct a hysteresis comparator shaping into the FPGA film, and the measured logic is built in the FPGA. Unit, use an equal accuracy measurement method to measure the results and send NIOS core processing, displayed on the LCD. After testing, the frequency test range reaches 1 Hz to 14 MHz, accurately 0.1 ppm, phase measurement range 0 ~ 360 ° accuracy 1 °, and signal sensitivity reaches 8mvrms.
Scenario: https://www.cirmall.com/circuit/6847
8.51 Single Chip Infrared Optoelectronic Counter Classroom Supermarket Shopping Mall (PCB + Source + Circuit Figure + Reference Document)
Product function description:
The system is composed of STC89C52 single-chip core, 4-bit common male digital tube display, infrared avoidance sensor, buttons, buzzers, and power.
1. Press the button from the left, set the key, click / clear key, and reduce the keys. A single control is a reset button.
2, via the 4-bit digital tube display value, using a triode driven digital tube display.
3, the button can set the upper limit alarm value of the count, the set parameters have power-down storage, after setting, the next power-on does not need to be reset.
4. Each of the infrared sensors should be once, the number of counts that the digital tube displayed will add 1.
5. The buzzer and indicator will send an audible alarm when counting to the set value.
6, with a clear function.
Scenario: https://www.cirmall.com/circuit/17890
Be
Source: Circuit City
Our other product: