Design of 4-digit Count-Up with 7-Segment 5- Inch SM415001L

In daily life, we have encountered many 7segments uses. The 7-segment has been commonly used to display public information or the number of calculations (counters). A Control Decoder as a 7-segment driver, IC CMOS and TTL as the decoder controller, has also been widely marketed. Various methods are used to counter the final goal to find out the number of objects. In this research, the researchers performed a 4-digit count-up by using the CD4510B CMOS IC as a BCD Count-Up and CD4511B as a 5-inch BCD to 7-segment decoder SM415001L. The uses of CD4510B ICs as a BCD Up/Down counter can generate binary numbers, according to the results of the counter on pins Q1, Q2, Q3, and Q4. The IC CMOS CD4511B, which, according to the datasheet was intended for 7-segment common cathode, could also be used for 7-segment common anode drivers by adding logic inverting circuits using transistors BC547 and CD4511B CMOS IC, combined with a logic inverting circuit. The 7-segment 5Inch SM415001L could display Count-Up numbers from 0000 to 9999. Keywords— 7-segment, BCD, Decoder, IC TTL, IC CMOS, Counting, CD4510B, CD4511B.


INTRODUCTION
The 7-segment sizes vary, ranging from 0.56 inches to a large size 5 inches. Various kinds of articles related to the use of 7-segment as a viewer are discussed a lot, like the article entitled "A Novel 7-Segment Digital Clock Implementation on FPGA", which discusses the use of 7-segment as a clock viewer generated by the Field-programmable gate arrays (FPGA) system [1]. Counter research was further carried out by Tatsuya Saeki et al. entitled "Digital Cell Counting Devices Integrated with a Single-Cell Array" using CMOS sensors combined with microcavity arrays to count the number of new cells [2]. It was also conducted by Philip P. et al. in his article entitled "EcoCount: A New Digital Approach to Environmental Data Recording". In that study, the researchers conducted a digital counter, namely the voice recognition method, and the Microsoft Speech Programmers Interface (API) application to listen to what the user said. The API allowed the software to record the user's voice and identified keywords if it matched with what was being recorded, and then the counter process would be carried out [3]. Alain Crouzil et al., in a study entitled "Automatic vehicle counting system for traffic monitoring", researched with a focus on processing images captured on camera and counting by utilizing motion detection at the entry and the exit of the counting zones. The study focused on processing vehicle images to transmit counting signals [4]. The other research related to object calculation by utilizing image processing are carried out, such as parking area calculations [5], vehicle detection and vehicle number calculation with Feature-Based Classifier [6], vehicle detection for Unmanned Aerial Vehicle Images [7], and counters of motorbikes coming out of the parking lot [8]. Several other research that used 7-segment as displays are conventional 7-segment displays using diodes and transistors arranged in matrix [9], 7-segment display standards for Burmese numerals [10], introduction of 7 characters -segment [11,12,13], 7-segment character modification for Bangla [14], message writing with 7-segment [15], 7-segment control with PIC16F84 microcontroller [16], 7-segment control with AND logic gate, NAND, OR, NOT [17], 7-segment BCD Efficiency with MGDI (Modified Gate Diffusion Input Technique) [18], making six-digit clock with four-digit 7-segment module [19], and four 7-segment units to form a large 7-segment with a single decoder [20].
Control Decoder as a 7-segment driver has been widely marketed. The most commonly found of it are IC CMOS and TTL as the decoder controller. One example of a TTL decoder IC is 74LS247, with a maximum power supply voltage of 5.25 volts [21]. The most frequently used IC CMOS decoder and will be used in this study is the CD4511B, able to handle an 18-volt power supply voltage [22]. The reason for the use of IC CMOS CD4511B in this study is that each segment of the 7-segment common anode has 5 inches size with 2.5 volts [23]. The recommended voltage is 16 volts for one 7-segment [24].
Based on the literature study, a counter utilizing a 7segment 5 inch and CMOS CD4511B decoder has not been found. In this study, the researchers performed a 4-digit count-up by utilizing the CMOS IC CD4510B as a BCD Count-Up and the CD4511B as a BCD to 7-segment 5 Inch decoder B415001L. logic Low, the CD4510B would work as a count-down counter. Pin 9 was used to reset the IC CD4510B counter, which would be active if it got logic High. The IC CD4510B also supported parallel inputs, namely A1, A2, A3, and A4, and the activation of the parallel inputs was controlled by pin 1 (PE). If PE accepted High input, the input parcel would be active. Counter activation was determined by pin 5 (CI). If CI had logic Low, the Clock Input would be active, and if CI had logic High, the counter would stop working [25]. Figure 1 illustrates the 4-digit BCD Count-Up electronic circuit. The CMOS CD4510B IC serves as a Count-Up. The U/D has logic High, and the parallel input is deactivated by PE, given logic Low. Additionally, the clock input must be activated by giving logic Low to pin 5 (CI).  Figure 1 shows the Input Clock (Pin. 15), which is an active-high circuit, a Pull-down resistor installed with 10 KΩ. The purpose of installing a Pull-down resistor was to prevent the IC pin to float, i.e. always got logic Low [26]. In the Reset (Pin. 9), a highly active circuit, a pull-down resistor is installed. Table 1 and Table 2 present the test results of 4digit BCD Count-Up circuits with a 12 volts Direct Current (DC). Paul Nicholls wrote on the website "www. pfnicholls.com", reviewing the use and the limitations of the IC CMOS 4510 counters [27]. In this research, the Count-Up design was not much different from what he did. The difference was that the clock was made using a switch as an input, and the CO was used as the input clock (CI) of the CMOS IC CD4510B.     Table I and Table II show that the 4-digit BCD Count-Ip circuit can work as expected. The CD4510B CMOS IC output could perform at pins Q1, Q2, Q3, and Q4, which were binary combinations. When the counter reached 10, the Carry Out pin would output logic High and be used as an input clock on the next CD4510B IC. The BCD Count-Up testing was carried out by pressing up to 10000 times the input, and when the input reached 10000, the BCD 1 to BCD 4 showed binary zero.

III. DESIGN BCD TO 7-SEGMENT DECODER DRIVERS
The decoder driver from the BCD to 7-segment was designed using IC CMOS CD4511B, a common cathode 7-Journal of Robotics and Control (JRC) ISSN: 2715-5072 116 Muhammad Prayadi Sulistyanto1, Design of 4-digit Count-Up with 7-Segment 5-Inch SM415001L segment decoder. There were four BCD input pins, seven output pins, and three operating pins. The three operation pins were LT (lamp test), BL (blinking), and LE (latch enable). The LT was located on pin 3, used to check each 7-segment lamp segment. By giving a logic Low, the IC CD4511B output, namely QA-QG, generated logic High so that all segments of the 7-segment common cathode would light up. The BL was located on pin 4, used to turn off all the 7segment segments. If it received logic Low, the output QA-QG would issue logic Low, and in other words, the 7-segment common cathode would not turn on. The LE on pin 5 was used to lock the output QA -QG. When LE received high input, the output QA-QG would be maintained even though the BCD input changed.
In this research, the researchers utilized an IC CMOS CD4511B for the 7-segment 5-Inch SM415001L common anode [28]. A logic inverting driver was necessitated so that when IC CD4511B outputs logic High output, the 7-segment 5-Inch SM415001L turned on so that a transistor type BC547 was installed as a logic inverting driver.
The design of BCD to 7-segment Decoder Driver with logic inverting and 7-segment SM415001L can be seen in Figure 2 and the results of BCD to 7-segment Decoder Driver Testing with logic inverting and 7-segment SM415001L with a Vcc voltage of 12 volts is shown in table II.  Figure 2 shows that the utilization of the transistor BC547 with the current at the base foot (IB) is a maximum of 200mA [29] so that the resistor is mounted as a current limiter of 4700 Ω (ohms). The current flowing can be calculated following Ohm's law, which is the magnitude of the voltage divided by resistance [30], resulting in the current flowing to the base foot that is 2.55mA, and make the transistor BC547 active and the 7-segment light up.   Table III displays the test results of BCD to the 7-segment decoder and 7-segment 5-Inch SM415001L. It proves that the BCD to 7-segment decoder and the logic inverting driver can run well and that the 7-segment 5-Inch SM415001L can display the results of the decoder running properly, as expected.

IV.
RESULTS AND DISCUSSION Figure 3 shows the results of the implementation of the 4digit BCD Count-Up and BCD to the 7-segment Decoder Drivers. The pairing of the BC547 transistor was directly integrated with the 7-segment 5-Inch SM415001L and not on the PCB. The power supply was 12Vdc, 2 Amperes, and the 4-digit count up with 7-segment 5-Inch SM415001L can light up, as shown in Figure 4.

II. CONCLUSION
The conclusion drawn from the research is that the counter works satisfactorily. The suitability of IC using CMOS IC type makes it easy to choose power supply and is easily adjusted to the voltage needed by the 7-segment. The use of IC CD4510B as a BCD Up/Down counter can produce binary numbers according to the results of the counter on pins Q1, Q2, Q3, and Q4. The IC CMOS CD4511B, according to the datasheet, is intended for 7-segment common cathodes can also be used for 7-segment driver common anode by adding a logic inverting circuit that uses a BC547 transistor and a CD4511B CMOS IC, combined with a logic inverting circuit. The 7-segment 5-inch SM415001L can display countup numbers from 0000 to 9999