{"id":160156,"date":"2025-04-01T16:40:17","date_gmt":"2025-04-01T11:10:17","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=160156"},"modified":"2025-05-02T15:51:29","modified_gmt":"2025-05-02T10:21:29","slug":"two-digit-counter","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/two-digit-counter","title":{"rendered":"Two Digit Counter"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"169\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/06\/efy-tested.jpg\" alt=\"efy tested Two Digit Counter\" class=\"wp-image-97958\" style=\"width:132px;height:auto\"\/><\/figure><\/div>\n\n\n<p>A two digit counter is an electronic device that counts from 00 to 99 and displays the count on two 7-segment displays.<\/p>\n\n\n\n<p>With each clock pulse, the displayed value increments, resetting to 00 after reaching 99. The first decade counter controls the units digit, while the second manages the tens. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">POC Video Tutorial<\/h2>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"Yp0UXjIdsVgRGSrCbafLM2AqQDotuHneFc94OTwmJ8xzkZ5\"><iframe loading=\"lazy\" title=\"Two-Digit Counter | Electronics For You\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/eQqiPq_TS48?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>This configuration is commonly used in digital clocks, event counters, and educational models to illustrate core digital electronics concepts.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"243\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/03\/Prototype-1.jpg\" alt=\"Two Digit Counter Circuit on a breadboard\" class=\"wp-image-160158\" srcset=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/03\/Prototype-1.jpg 600w, https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2025\/03\/Prototype-1-500x203.jpg 500w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Fig. 1: Author\u2019s prototype of Two Digit Counter Circuit on a breadboard<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>Two Digit Counter Circuit and Working<\/strong><\/h2>\n\n\n\n<p>The device is built around an <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/learn-electronics\/555-timer-working-specifications\">LM555 timer<\/a> (IC1), two <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/learn-electronics\/decade-counter-circuit-basics\">decade counter<\/a> ICs (CD4033: IC2 and IC3), two <a href=\"https:\/\/www.electronicsforu.com\/resources\/7-segment-display-pinout-understanding\">7-segment LTS543 displays<\/a> (DIS1 and DIS2), and a few other components. This two-digit counter effectively counts in decimal format (from 00 to 99).<\/p>\n\n\n\n<p>The LM555 timer (IC1) is configured as a monostable multivibrator that generates a pulse. This monostable output serves as the clock input for CD4033 (IC2). IC2 increments on every positive clock edge, providing an output to the 7-segment display. <\/p>\n\n\n\n<p>The LM555 timer prevents signal debouncing from the clock generated by switch S1 or a suitable sensor, ensuring a clean and precise clock pulse<\/p>\n\n\n\n<p>The CD4033 IC is a decade counter that counts from 0 to 9. It features an inbuilt BCD output, providing the binary representation of numbers 0 to 9 on its output pins. The two CD4033 ICs are connected in a cascading configuration to enable counting from 00 to 99.<\/p>\n\n\n\n<p>The first CD4033 IC (IC2) manages the one\u2019s place. The clock pulse from the LM555 timer is fed into the clock input of IC2, causing it to increment by one for every pulse. The second CD4033 IC (IC3) controls the tens place. The carry-out pin of IC2 triggers IC3. When IC2 reaches 9 and resets to 0, it generates a carry-out pulse that triggers IC3 to increment the tens digit by one.<\/p>\n\n\n\n<p>Each CD4033 IC provides BCD outputs corresponding to its count value (0-9). These outputs are fed to the 7-segment displays. The output of IC2 connects to the first 7-segment display (DIS1), which shows the current count for the one\u2019s place. The output of IC3 connects to the second 7-segment display (DIS2), which shows the current count for the tens place.<\/p>\n\n\n\n<p>When the device is powered on, pressing switch S2 momentarily triggers the LM555 timer, providing a clock pulse to IC2. Each pulse increments the count in the CD4033 ICs. IC2 increments the one\u2019s digit, and when it overflows (reaches 9), it generates a carry-out signal that increments the tens digit in IC3. As a result, the two 7-segment displays count sequentially from 00 to 99.<\/p>\n\n\n\n<div class=\"mepr_error\"><div class=\"locked-content\">\n<b>EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.<\/b><\/p>\n<p>Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.<\/p>\n<p><b>Good News: <\/b>You can register to our website for FREE! <a href=\"https:\/\/www.electronicsforu.com\/plans\/subscription-plans\" target=\"_blank\" rel=\"noopener\">CLICK HERE<\/a> to register now.<\/p>\n<p><b>Already a registered member? <\/b>If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)\n<\/div>\n<\/div><div>\n<div class=\"mp_wrapper mp_login_form\">\n                  <!-- mp-login-form-start -->     <form name=\"mepr_loginform\" id=\"mepr_loginform\" class=\"mepr-form\" action=\"https:\/\/www.electronicsforu.com\/login\" method=\"post\">\n            <div class=\"mp-form-row mepr_username\">\n        <div class=\"mp-form-label\">\n                              <label for=\"user_login\">Username<\/label>\n        <\/div>\n        <input type=\"text\" name=\"log\" id=\"user_login\" value=\"\" \/>\n      <\/div>\n      <div class=\"mp-form-row mepr_password\">\n        <div class=\"mp-form-label\">\n          <label for=\"user_pass\">Password<\/label>\n          <div class=\"mp-hide-pw\">\n            <input type=\"password\" name=\"pwd\" id=\"user_pass\" value=\"\" \/>\n            <button type=\"button\" class=\"button mp-hide-pw hide-if-no-js\" data-toggle=\"0\" aria-label=\"Show password\">\n              <span class=\"dashicons dashicons-visibility\" aria-hidden=\"true\"><\/span>\n            <\/button>\n          <\/div>\n        <\/div>\n      <\/div>\n            <div>\n        <label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> Remember Me<\/label>\n      <\/div>\n      <div class=\"mp-spacer\">&nbsp;<\/div>\n      <div class=\"submit\">\n        <input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button-primary mepr-share-button \" value=\"Log In\" \/>\n        <input type=\"hidden\" name=\"redirect_to\" value=\"\/wp-json\/wp\/v2\/posts\/160156\" \/>\n        <input type=\"hidden\" name=\"mepr_process_login_form\" value=\"true\" \/>\n        <input type=\"hidden\" name=\"mepr_is_login_page\" value=\"false\" \/>\n      <\/div>\n    <\/form>\n    <div class=\"mp-spacer\">&nbsp;<\/div>\n    <div class=\"mepr-login-actions\">\n      <a href=\"https:\/\/www.electronicsforu.com\/login?action=forgot_password\">Forgot Password<\/a>\n    <\/div>\n\n      \n    <!-- mp-login-form-end --> \n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A two digit counter is an electronic device that counts from 00 to 99 and displays the count on two 7-segment displays. With each clock pulse, the displayed value increments, resetting to 00 after reaching 99. The first decade counter controls the units digit, while the second manages the tens. POC Video Tutorial This configuration [&hellip;]<\/p>\n","protected":false},"author":106036,"featured_media":160158,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,3713,6071],"tags":[12683],"class_list":{"0":"post-160156","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-projects","8":"category-hardware-diy","9":"category-premium","10":"category-intermediate-projects","11":"tag-april-2025"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/160156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/users\/106036"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=160156"}],"version-history":[{"count":2,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/160156\/revisions"}],"predecessor-version":[{"id":162556,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/160156\/revisions\/162556"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/160158"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=160156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=160156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=160156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}