Circuit-Projects.com New Projects
Loading the search box...
Microcontroller

PIC Based Electronic Dice Project

PIC Based Electronic Dice Project

Overview

Different PIC microcontrollers can be used such as PIC16F84, PIC12F675, PIC16F690, or hard TTL logic, to build this electronic dice on prototyping breadboard.

Explanation

For a LED die using PIC16F84, it uses 4 hours of code and few bits on a breadboard. The code is written and assembled using the Microchip MPLAP IDE V5.70. It can be revised to make it smaller by acquiring the 8-pin 12F675 to build the die but still using the 16F84 code with a little modification and development. No external components are needed since the device has an internal 4MHz oscillator which results in minimum part die. Also, power switch is not needed since the PIC sleeps between throws and just a few micro Amps is used in this state.

The device is initialized when the die first starts after power is applied and then goes to sleep until the SW1 roll button is pressed. The display is blank while the button is pressed. The LEDs will spin for about 5 seconds on releasing the button which will then display the throw for 20 seconds at the end of which the LEDs fade down turning OFF at 2 seconds.

Rest of the project

Comments (0)

Write comment

smaller | bigger

busy
 
RSS
Get the latest projects to your e-mail box:
Subscribe to RSS Feed Follow us on Twitter
Contact | Privacy Policy | Advertising
Subscribe to RSS Feed