A Keypad Circuit That Will Convert From Decimal To BCD Decimal
11,399
When a keypad switch is pressed, this circuit reproduces its value in Binary Coded Decimal (BCD) format. A 12-keypad is used, but it can be expanded to 16 keys for Hexadecimal to BCD conversion. The circuit consists of two parts: a keypad module and a memory module. The keypad module alone produces a transient output that disappears when the switch is released. However, when the memory module is added, the output remains latched until it is replaced by the next keystroke. The circuit operates within a voltage range of 5 to 15 VDC. LEDs serve as a visual indication of the BCD value, though they are not essential for circuit operation. If desired, they, along with their associated resistors (R5, R6, R7, and R8), may be omitted. The memory module utilizes a CMOS 4081. At the beginning of each keystroke, Q1 takes one input pin from each gate low, momentarily resetting all four output pins to zero. Any inputs activated by the keypad will latch on through R1, R2, R3, and R4, displaying the new BCD number. It is important to note that outputs A, B, C, and D are directly connected to the output pins of the CMOS IC, and care must be taken to regulate the load imposed by the application on these outputs.
The circuit design effectively integrates a keypad input with a memory module to provide a stable BCD output. The keypad module, which consists of a matrix of switches, allows users to input numeric values. Each key corresponds to a specific binary value in BCD format. The transient nature of the output from the keypad module is addressed by the memory module, which employs a CMOS 4081 logic gate to latch the output.
Upon pressing a key, the associated logic level is sent to the memory module. The Q1 transistor momentarily pulls the input pins low, ensuring that the previous output state is cleared. This prevents any residual signals from previous keystrokes from affecting the current input. Following this reset, the corresponding signals from the keypad are allowed to latch through resistors R1, R2, R3, and R4, ensuring that the output remains stable until the next key is pressed.
The output pins A, B, C, and D provide the BCD representation of the pressed key. These outputs can be connected to various digital devices or microcontrollers for further processing. The design allows for flexibility in voltage supply, making it suitable for a range of applications. The optional LEDs provide immediate visual feedback on the current BCD output, enhancing usability, although they can be excluded for more compact designs.
Overall, this circuit exemplifies an efficient method for converting keypad inputs into a stable digital format, suitable for integration into larger electronic systems.When a keypad switch is pressed - this circuit will reproduce its value in Binary Coded Decimal from. I`ve used a 12-key pad. But it may be expanded to 16 keys - to provide Hexadecimal to BCD conversion. The circuit is constructed in two parts. There`s a keypad module - and a memory module. On its own - the keypad module only produces a transient output - that disappears the moment you release the switch. But add the memory module - and the output will remain latched - until it`s replaced by the next keystroke. The circuit will work at anything from 5 to 15 vdc. The LEDs are a visual indication of the BCD value. They are not necessary to the operation of the circuit. If you wish - you may leave them out - together with their associated resistors (R5, R6, R7 & R8). The memory module uses a Cmos 4081. At the start of every keystroke - Q1 takes one input pin from each gate low. This resets all four output pins to zero - momentarily. Then any inputs taken high by the keypad - will latch themselves on through R1, R2, R3 & R4. And the new BCD number will be displayed. Note that A, B, C & D are connected directly to the output pins of the Cmos IC. You will need to regulate the load your application places on these outputs. 🔗 External reference
Alternating positive and negative voltage pulses from the secondary winding of a high-frequency transformer (T) are full-wave rectified by high-frequency switching diodes (V1, V2). The output is then filtered through inductors (L1) and capacitors (C2, C3, C4) which form...
The circuit principle involves the use of an LC oscillator, which typically experiences significant frequency drift. Surface Acoustic Wave (SAW) devices have emerged as a solution to this issue, offering frequency stability comparable to that of crystal oscillators. SAW...
The circuit is designed to power a CCTV camera, provide lighting inside a nestbox, and charge batteries using a photovoltaic (PV) solar panel. It includes a circuit diagram for a solar-powered wireless CCTV camera with battery backup. D1 is...
Developed as an interface between the General Instruments AY-3-8500-1 TV game chip and the antenna terminal of a TV set. Adjust capacitor C1 to the frequency of an unused channel to which the receiver is set for playing games....
The circuit element appears to be problematic, particularly with the Shu component. After a prolonged period following the activation of the start button, there are indications of unexpected behavior, such as the turtles producing sperm-like substances. The Pi Wen...
This application example illustrates a photovoltaic control circuit. In this circuit, the Triac functions as a solid-state relay, providing an AC power supply path to the load. It is designed to achieve high current control signals using a small...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more