Friday, August 28, 2009

electronics dice using pic microcontroller circuit


Introduction To PIC Microcontroller Circuit

This PIC Microcontroller Circuit is a good project for those who have yet to have any practical hands-on of using a microcontroller in their electronic project. Once you are familiar with how a microcontroller works, you will be able to do any project using any brand of microcontroller. The price of microcontroller has dropped significantly as the demand for its use increases day by day. They are used in computers, home appliances, mobile phone, control circuitry...... In other words, the use of microcontroller will become more common in our daily lives.

In this project, we want to generate two random numbers between 1 and 6 everytime the Roll switch is pressed and to display the numbers on the 7 segment LED displays for a few seconds. Then we want to be able to press Roll again and get another pair of numbers.

If the Roll is not pressed for about a minute then we want to reduce the power consumption of the circuit. This is done by using the sleep mode available in the PIC IC to save power and hence a longer battery life. Pressing the switch for about a second should wake the PIC from sleep mode and be ready to roll the 2 dice again. A slide switch is built into the circuit so that the unit can be turned completely off when it is not in use. The PIC Microcontroller Circuit diagram is as shown below.

No comments:

Post a Comment