Skip to main content

Posts

Showing posts with the label Toggle

Build a Toggle Touch Switch Using Two Inverter Gates

We  can make a simple touch switch using only two inverter gates, two resistors, and two capacitors. The schematic diagram of the circuit is shown in the figure below. At power up, the output (of U1A) will be high, and the inverting output will be low because U1A gate will be triggered to ground level by C2. After triggered, the low level of U1A input is maintained by U1B output via R2. Toggle Touch Switch Using Two Inverter Gates Circuit Diagram If we touch the pad at this condition, where the output is high, then the U1A input will go high because we “short” the voltage of C1 to the input pin, and the low level previously caused by low level of U1B output voltage connected via R2 can’t be maintained because our skin resistance is much lower than 10M. After U1A input goes high then U1A output will go low, and now U1B will go high to maintain high voltage level of U1A via R2, so we can release our finger without loosing the last state. Touching the pad again after we release our pr...

8051 LED TOGGLE PROGRAM CODE

You might have seen a " Hello World! " program code example while learning some programming language. While it is useful for getting familiar with the basics of that language, it also gives you a head start in that environment. If you ever want to learn some new programming language, you might want to Google out a "Hello world!' program code to get started. The code I am about to discuss serves the same purpose for the 8051 microcontroller because it is the most simplest task to perform. Play close attention if you want everything to work properly. READ MORE

CMOS Toggle Flip Flop Using Laser Pointer

Description The circuit below is similar to the one above but can be used with a laser pointer to toggle the relay rather than a push button. The IR photo transistor Q1 (Radio Shack 276-145A) or similar is connected to the set input (pin 6). The photo transistor should be shielded from direct light so that the voltage at the set input (pin 6) is less than 1 volt under ambient conditions and moves to more than 10 volts when illuminated by the laser pointer or other light source. The reset time is about a half second using a 4.7uF cap which prevents the circuit from toggling more than once during a half second interval. The 10K resistor and diode provide a faster discharge path for the 4.7uF cap so the circuit can be retoggled in less than 1 second. The 3K resistor in series with the photo transistor may need be adjusted for best performance. The relay shown is a solid state variety to be used with lights or other resistive loads at less than 3 amps. A mechanical relay can also be used a...

Relay Toggle Circuit Using a 556 Timer

Description   The circuit below illustrates generating a single positive pulse which is delayed relative to the trigger input time. The circuit is similar to the one above but employs two stages so that both the pulse width and delay can be controlled. When the button is depressed, the output of the first stage will move up and remain near the supply voltage until the delay time has elapsed, which in this case is about 1 second. The second 555 stage will not respond to the rising voltage since it requires a negative, falling voltage at pin 2, and so the second stage output remains low and the relay remains de-energized. At the end of the delay time, the output of the first stage returns to a low level, and the falling voltage causes the second stage to begin it's output cycle which is also about 1 second as shown. This same circuit can be built using the dual 555 timer which is a 556, however the pin numbers will be different . Circuit diagram  Source   http://...