This project can be used for many different purposes. Probably the most used application would be to interface to any electronic project that requires a keypad. There are several ready made keypads on the market, but those work with matrix connections and require 7 pins for a 12 button pad. For new programmers, matrix keypads can be a bit tricky to program.
My circuit can use from 4 up to 12 push buttons with only one wire connection ( plus ground pin ) making possible to use a small microcontroller like an 8 pin to use this keypad. It's also built in a setup mode where it's possible to change the key output rate. This setting is saved in the microcontroller's memory.
Click here to download the full size of the above Circuit.
Another use for this is to, for example, connect to the computer and use it to control applications or even games.
For the first time I recommend to connect it to any pc and using the terminal program select 9600 Baud, no parity, 8 for byte size and 1 stop bit. These are the settings for both pc terminal or receiver microcontroller. To enter the Setup mode the S4 button should be pressed and held when turning the power on. The led starts to flash and S1 is used to increase the rate while S2 is used to decrease the rate. The minimum rate is 10ms and the maximum rate is 2550ms. It will increase/decrease 5ms each button press. Pressing and holding S3 will test the setting and will display the rate speed both on led and RS232. Button S4 will save the setting into microcontroller's memory, exit the setup mode and enter the normal mode. In normal mode, when pressing one of the buttons it will flash the led and output the corresponding button number via RS232.
I've assembled the minimum button setup ( 4 buttons ) on a breadboard and connected directly to my PC RS232 port. I didn't use any level converter, such a max232, because it normally works very well without it. In some cases it's required to have the level converter. Turned the power on and pushed the buttons. The output was too fast so I turned the power off. I turned on the power again but this time i entered into setup mode. Increased the rate to 200ms and saved the...
This project fits more for custom made battery casing that can have more space to hide things inside. This switch with few alterations can be used for any other project as well but is designed based on e-bike needs! This project use a clever functionality of....
The circuit described here uses ultrasonic oscillations and operates based on the propagation velocity of these oscillations in the air. Thus, we can easily determine the distance of two points if the time within which the wave travels this distance is....
Sometimes the precious metals are hidden too deep and are not detected except with complicated devices. In many cases, however, small pieces of precious metal buried near the surface can be detected by relatively simple means. Everyone is very attractive to....
Many times for various reasons we forget or can not water the plants that we have in our homes. And many humidity sensors units just notify us with a beeping sound or with a flashing light, that the pot needs watering. But what if we are away from home? This....
The principle behind a metal detector is really very simple. Proof of this is the circuit that follows, in which it proves that the construction of a metal detector can be done in the minute, with few components that we find very easily everywhere. With the....
The sub-harmonic bass generator is a sound producing unit for guitars. The sound it produces looks very much like that of the bass guitar. The octave generator is sometimes quite unusual since it does not produce any of the usual ways of coloring the sound,....
In the past the sounding (sea bottom measurement) was done with the "bullet", that is, with a heavy lead object that the seamen plucked into the sea hung from a calibrated rope. As soon as the "bullet" reached the bottom, the depth appeared directly from the....
This Amplifier was designed to have the following specifications: Distortion less than 0.1% at full power of 100W even at 20KHz. Power has to be attributed to an extended bandwidth. The output transistors must be protected against short circuits. The power....
A series of LEDs serve to alert the gardener when plants need water. Using two conventional digital integrated LEDs and a series of LEDs, we make a very useful device for gardening. The device detects the amount of water in the pot and alerts the grower.....
characters left: