Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
  • Women in Engineering

Random Number Generator Using 7 Segment Display

By Ashutosh Bhatt

It is very simple and easy to construct project which will display random numbers from 0 to 7 on a 7 segment display. This random number generator circuit can serve as an alternative that can be used to replace the traditional dice while playing games such as snake ladder, monopoly etc. It uses NE555 which is a well known multivibrator IC. Here 555 timer IC is wired as an astable oscillator which provide a clock pulse to CD4017 IC.CD4017 which is a medium speed Johnson Counter that works at 10MHz and has 10 decoded outputs. CD4017 ICs are widely used in frequency dividers, binary counters, divide by N counters and register design applications and  CD4511 which is a BCD to 7 segment decoder.

[[wysiwyg_imageupload:8570:]]

Fig. 1: Prototype Of Random Number Generator Using 7 Segment Display


 

This random number generator circuit is based on three IC’s namely NE555, CD4017 and CD4511 with few more components.

In this circuit, NE555 astable generates a clock for the circuit, which provides an oscillating wave to the output pin 3 of IC1. You can vary the speed of oscillation with the help of VR1. The frequency of oscillation of 555 timer can be calculated by-

f=1.44/(R1+2*(VR1)*C1)

 CD4017 is a CMOS counter/ divider IC. It takes the clock signal from t from pin3 of IC1

and turns on the 10 output in sequence, each time when it receives clock input pulses.

CD4511 is a CMOS BCD to seven segment latch/decoder. This IC provides the functions of a 4-bit storage latch, an 8421 BCD-to-seven segment decoder, and an output drive capability. It also provide you the of facility lamp test . It is used to check that all segments of 7 segment are working properly or not. For testing, momentarily make the pin low, in short used to test the display.

Blanking input  is use to turn off or vary the brightness of the display. Latch enable (LE) is used to store BCD codes.  CD4511 is used in various application like in clock, watches,

computer, calculators etc.

When 555 timer output from pin 3 is applied to CD4017 decade counter pin 14 provides

 a clock for the working of IC2. Here, after receiving the clock input, CD4017 starts its

 counter from zero.   

It advances one by one each time pin 14 goes high. For instance, first we get output from pin3

(Q0) then from pin 2 ( Q1) , so on. As we are get continuous pulses from NE555, when switch is pressed pin 14 goes high, we see the corresponding number on 7 segment display. From the circuit diagram, you can see that we have connected pin 5 (Q6 output) to reset pin 15 so, we will receive numeric number from 0 to 7.

We are getting binary output from CD4017 that can be converted into numeric value with the help of CD4511 IC and a 7 segment common cathode display. We have connected the resistor R5 to R11 between CD4511 output and 7 segment display because, each LED segment requires its own voltage drop. If you don’t connect a resistor, it will destroy that section. Also remember that IC 4511 is used only for common cathode display.

 You can also use LED’s at the output if you don’t have CD4511 and 7 segment display.

Circuit Diagrams

Circuit-Diagram-Random-Number-Generator-7-Segment-Display

Project Components

  • 555 Timer IC
  • Capacitor
  • Diode 1N4001
  • Potentiometer
  • Resistor

Project Video


Filed Under: 555 Timers, Electronic Projects
Tagged With: 555 timer circuit, cd 4017, display, ic, seven segment
 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Adjustable 0 to 30V 2A DC Power Supply Circuit (Part 1/13)
  • Adjustable +/- 1.25V to +/-22V 1A Power Supply Circuit (Part 2/13)
  • Adjustable 0 to 15V 1A Mini Power Supply (Part 3/13)
  • Constant 12V Power Supply for LED Circuits (Part 4/13)
  • Constant +/-9V DC Symmetrical Power Supply Circuit (Part 5/13)
  • Making a Circuit Breaker (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

“ee

“ee

“ee

“ee

“ee

“ee

Recent Articles

  • STMicroelectronics and MACOM announce successful RF GaN-on-Si prototypes
  • Infineon expands its CoolSiC portfolio
  • STMicroelectronics and AWS collaborate for secure IoT connections
  • Pet feeding system using WhatsApp (protocol bridging with MQTT)
  • STMicroelectronics launches new MDmesh MOSFETs

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd ldr led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics Research robot samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • DIY test leads - source for lead ends?
  • hardcore floquet bloch scattering problem help
  • Limiting variable DC power source
  • P-Channel MOSFET always on
  • Space Vector PWM Help Needed

RSS Electro-Tech-Online.com Discussions

  • XOR Gate Circuit From Diodes
  • How to get lots of PCBs made cheap?
  • How do I test amplifier speaker output polarity?
  • 3.3V microcontroller vs 5V relay
  • What is this part on my solar controller
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
  • Women in Engineering