element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
The Learning Circuit
  • Challenges & Projects
  • element14 presents
  • The Learning Circuit
  • More
  • Cancel
The Learning Circuit
Documents Electronic Dice Kit -- The Learning Circuit 49
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join The Learning Circuit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 25 Mar 2019 6:51 PM Date Created
  • Last Updated Last Updated: 12 Jun 2019 7:24 AM
  • Views 2919 views
  • Likes 6 likes
  • Comments 7 comments
Related
Recommended

Electronic Dice Kit -- The Learning Circuit 49

image
Electronic Dice Kit

The Learning Circuit | element14 presents |  Project Videos | VCP Biography: Karen

 

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

In the previous episode, Karen did an overview of integrated circuits or ICs. This week, Karen chose an electronics kit that contains two ICs, a phase locked loop, and a ripple binary counter. A phase locked loop takes one external input and one internal input, comparing the frequencies of their signal and turns that difference into a voltage that goes back to adjust the internal signal. This process continues until both external and internal signals are equal. This process generates an output signal that slowly changes then stabilizes. In today’s kit, an electronic dice kit, that signal from the phase locked loop IC is used as the clock input signal of the second IC, the binary counter.

 

The binary counter IC is a 7-stage ripple counter, with each stage generating a binary digit.

 

Once you understand how to count in binary, you can see that each digit is created as a square wave signal. In the end, the ripple counter IC outputs a signal that randomly flashes the 7 LEDs ending in a die roll of a typically 6-sided die.

 

Bill of Material:

 

Part

Hobby Project Kit, Electronic Dice, Single, Simulated Random Dice Roll

Velleman1Buy NowBuy Now
9V BatteryEnergizer1Buy NowBuy Now
  • element14 presesents
  • phase detector
  • loop filter
  • binary
  • e14presents_makerkaren
  • 6-sided
  • d6
  • vco
  • the learning circuit
  • integrated circuits
  • ics
  • ripple counter
  • phase locked loop
  • dice
  • binary counter
  • thelearningcircuit
  • voltage controlled oscillator
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • jc2048
    jc2048 over 6 years ago +4
    I'm sorry to have to say this, after all your hard work researching PLLs and explaining them to us, but from the circuit diagram it looks like the designer just used the VCO [voltage-controlled oscillator…
  • DAB
    DAB over 6 years ago in reply to makerkaren +1
    HI Karen, What I find most useful are the voltage and current values plus the timing for the gate operations. Next would be logic tables followed by clock pulse edges. The voltage and current provides…
  • shabaz
    shabaz over 6 years ago +1
    It's fun trying to think of ways to implement dice : ) Here's my attempt (as a teenager), it was published in some magazine at a time of less scrutiny. IC1 is 40106, and IC2 is 4029. The LEDs are in this…
Parents
  • shabaz
    shabaz over 6 years ago

    It's fun trying to think of ways to implement dice : )

    Here's my attempt (as a teenager), it was published in some magazine at a time of less scrutiny. IC1 is 40106, and IC2 is 4029.

    The LEDs are in this orientation:

    D3            D4

    D1    D7    D2

    D5            D6

     

    It's not a great circuit (one current limiting resistor across the entire circuit, to save on parts : )

    So there will be some dimming of LEDs slightly depending on the dice value.

    Also a less crude circuit would add decoupling capacitors across both ICs.

    On the other hand this circuit uses a lot less parts than the Velleman kit! That has a surprising amount of diodes in the video.

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 6 years ago in reply to shabaz

    So there will be some dimming of LEDs slightly depending on the dice value.

    You might find it messing up the randomness, too, if you did a statistical analysis. The changing of the supply voltage to the two chips, as the display changes, probably affects the timing of the RC oscillator on a cycle-by-cycle basis as well.

     

    On the other hand this circuit uses a lot less parts than the Velleman kit! That has a surprising amount of diodes in the video.

    It gives them the normal diagonal two or three symbol. Your teenage self cheated and had the two or three horizontally across the middle!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • jc2048
    jc2048 over 6 years ago in reply to shabaz

    So there will be some dimming of LEDs slightly depending on the dice value.

    You might find it messing up the randomness, too, if you did a statistical analysis. The changing of the supply voltage to the two chips, as the display changes, probably affects the timing of the RC oscillator on a cycle-by-cycle basis as well.

     

    On the other hand this circuit uses a lot less parts than the Velleman kit! That has a surprising amount of diodes in the video.

    It gives them the normal diagonal two or three symbol. Your teenage self cheated and had the two or three horizontally across the middle!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube