Description: A PIC microcontroller is utilized as a keypad driver, along with additional components for functionality. When the timer expires, the keypad is disabled, and an audible beep is activated. When the correct button is pressed, the score counter increments, and a new random number is generated. The random number generator is based on the inaccuracies of RC timing circuits. Two 555 timer ICs are employed: one configured as a fast astable oscillator and the other as a slower monostable timer, which remains active for a brief period when triggered. The outputs of both timers are combined using an AND gate and fed into the clock input of a counter IC. This setup allows the counter to rapidly increment for a short duration when the monostable is triggered, thereby producing a "random" number. The outputs corresponding to values 8 and 2 from the counter are ANDed together and connected to the reset pin, ensuring that when the counter reaches 10 (8+2), it resets to 0.
The circuit diagram indicates that the two small 8-pin ICs are the 555 timers, while the chip on the right is likely a 7-segment display decoder. The counter is located to the left of the decoder, and adjacent to it is a series of AND gates. The logic implemented sets the rows of the keypad high and checks the columns to identify any pressed keys. If no key is detected, it outputs %1111. It also verifies if the "random" pin is high, which indicates that a new random number is being generated; in this case, it outputs %1111 regardless of other conditions.
In the bottom-left section of the schematic, the logic for score increment detection is present. It checks if the current value is not %1111, meaning it only accepts a "correct button" result if a button is pressed. Upon a valid button press, it triggers a monostable timer (the adjacent 555 timer) to increment the score and initiate the random number generation process again. The timing delay is managed by another 555 monostable timer. A potentiometer adjusts the game speed, while a black push button serves as a master reset, clearing the score, restarting the main timer, and forcing a new random number generation.
For sound generation, two 555 timers (one operating at a fast rate and the other at a slower rate) are connected through an AND gate to produce a beeping sound for the "game over" notification. A switch is included to disable the sound, ensuring a quieter environment for others nearby.One PIC to act as a keypad driver though plus some primitive stuff to tie them together (when the time runs out disable the keypad and beep, when the correct button is pressed increment the score counter and regenerate). The random number generator is really bad. It relies on the inaccuracy of RC timing circuits! You have two 555 chips, one is set as a very fast astable (oscillator), the other as a much slower monostable (switches "on" for a while when the input is pulsed before switching itself off again). The output of both is ANDed and sent to the clock of a counter chip, so when the monostable`s input is triggered the counter counts up very quickly for a short space of time before the monostable switches off again and there`s your "random" number.
The `8` and `2` outputs of the counter are ANDed together and connected to the reset pin, so when the counter reaches 10 (8+2) it automatically resets to 0. Click for a circuit diagram. In the photo, the two small 8-pin chips are evidently the 555s, and I guess that the chip on the right is the 7-segment display decoder, the one to the left of that is the counter and the second left chip is a series of AND gates.
The logic is this; it sets the rows of the keypad high, then checks the columns until it finds one that`s connected, at which point it outputs the result. If no key is detected it outputs %1111. It also checks if the "random" pin is high (this signifies a new random number is being generated) and if so it outputs %1111 anyway.
In the bottom-left of the photo is the logic to detect when to increment the score (it checks if the current value isn`t %1111 - that is, it only accepts a "correct button" result if the button isn`t %1111, which indicates no button pressed). If all is hunky-dory it triggers a monostable to fire once (the 555 next to it) which increments the score, and triggers the random generator again.
The delay timing is, yep, another 555 monostable. The pot controls the speed of the game, the black push button is a master reset that clears the score, restarts the main timer and forces a new random number to be generated. Sound generation; two 555s (one very fast, one quite slow) through an AND gate give you a beep. beep. beep thing which would do for "game over". A switch to disable it retains the sanity of others in the room.
Generate sinusoidal pulse width modulation (SPWM) signals using the ECCP module in a PIC to produce a sine wave output for a DC-AC inverter. There have been inquiries regarding generating similar SPWM signals with other microcontrollers lacking the ECCP module,...
This circuit is simple to build and straightforward, but it requires the use of the CMOS type 555 timer designated as the 7555, as a standard 555 timer will not function properly due to the resistor values. A low leakage...
A circuit utilizing a standard digital quartz electronic watch, with its crystal soldered, forms a digital frequency meter as illustrated by the connected circuit. The test signal is applied to the E and F sides via components such as R6,...
A 555 timer (U1) is configured as an astable multivibrator (oscillator) with a duty cycle of 400:1 and a frequency of 40 Hz. When power is applied to the circuit, capacitor C1 (connected to pin 6 of U1) is discharged,...
A wide range auto turn OFF timer covering 1 minute to 20 hours in three ranges with S1. As soon as power is applied to the circuit, the IC1 [555] starts to oscillate and feeds clock pulses to the IC2...
This is a circuit for an audio frequency meter. This circuit utilizes a 555 IC configured as a monostable multivibrator (one-shot trigger). A monostable multivibrator can function as a frequency-to-voltage converter by producing a fixed pulse width, with the repetition...
This metal detector electronic project schematic circuit is designed using a simple 555 timer integrated circuit. The schematic circuit requires a few external electronic components.
The metal detector circuit utilizes the 555 timer IC in astable mode to generate a frequency...
The tone generated by a 555 oscillator can be activated by heat or light, which causes Q1 to conduct transistor Q2 (TIP 3055). Q2 (TIP 3055) functions as an audio amplifier and speaker driver.
The circuit utilizes a 555 timer configured...
Long delay times can be derived from a 555 timer with reasonably sized capacitors if an integrator circuit is used. The capacitor's charging time with an integrator circuit can be much longer than with a conventional 555-timer configuration.
The 555 timer...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more