Description: We are going to build a START-STOP drive (as commonly found in professional tools), that is a circuit with one switch to run the output (an LED in this case) and one switch to stop it. Nutchip feature two kind of inputs: general purpose and fixed inputs. General-purpose programmable inputs (namely IN1 ... IN4) work according to the truth table we program into on-chip memory. A free - not connected to anything - input is always at logic level 1. Connecting the pin to ground (GND, the negative power supply rail) an input will assume logic level 0. When we want to use a key (or a switch), we connect it to an input on one side, and to GND on the other. This technique ensures a logic level 0 when the key is pressed (or switch closed), and a logic level 1 otherwise. Inputs are an important feature because the truth table can read them, steering the Nutchip to do the appropriate actions. Every state lists the input combinations and the state to jump to when the input conditions are met. The schematic diagram is similar to the one shown in our previous article, with the addition of two keys (SW1 and SW2) connected to inputs IN1 and IN2. This is all we need to test the circuit; later we can add a relay in addition to the LED, in order to drive more meaningful load - like an electric motor or a lamp. But now, here it is our schematic. If you have already prepared the board for the experiment from part 1, it's only a matter of adding a couple of keys (ask your dealer for normally open buttons) to it. The kind shown in the photo required soldering some short wire to button pins, in order to fit breadboard pits. If you don't have a couple of buttons at hand, for testing purposes you can "simulate" them touching briefly the GND pins with wire tips. To START LED light, touch GND with the wire connected to Nutchip pin 8 (IN1); to STOP LED light, touch GND with the wire connected to pin 8 (IN2).
The circuit design outlined involves a basic START-STOP drive mechanism utilizing a Nutchip microcontroller. The primary function is to control an LED using two switches: one for starting the LED and the other for stopping it. The Nutchip features two types of inputs: general-purpose and fixed inputs. The general-purpose inputs (IN1 to IN4) are programmable, allowing for customized logic states based on a truth table stored in the chip's memory.
In a typical configuration, a general-purpose input pin is normally at a high logic level (logic level 1) when left unconnected. When connected to ground (GND), the input reads as a low logic level (logic level 0). This is achieved by connecting one terminal of a switch to the input pin and the other terminal to ground. When the switch is pressed, it completes the circuit to ground, resulting in a logic level 0 being detected by the Nutchip.
The truth table programmed into the Nutchip dictates how the device responds to various input combinations. For this application, the two switches (SW1 and SW2) are connected to inputs IN1 and IN2, respectively. When SW1 is activated (pressed), it sends a logic level 0 to IN1, prompting the Nutchip to turn on the LED. Conversely, activating SW2 will send a logic level 0 to IN2, instructing the Nutchip to turn off the LED.
For testing purposes, if physical buttons are not available, a temporary solution involves using wires to momentarily connect the input pins to ground. This allows for the simulation of button presses. To start the LED, the user should connect a wire from the Nutchip pin corresponding to IN1 to ground. To stop the LED, the same procedure is followed for IN2.
Future enhancements to the circuit could include the integration of a relay to control larger loads, such as electric motors or lamps, expanding the application possibilities of the START-STOP drive mechanism. The schematic diagram for this setup would typically include the Nutchip, the two switches, the LED, and any additional components required for the relay, should it be included in future iterations.We are going to build a START-STOP drive (as commonly found in professional tools), that is a circuit with one switch to run the output (an LED in this case) and one switch to stop it. Nutchip feature two kind of inputs: general purpose and fixed inputs. General-purpose programmable inputs (namely IN1 ... IN4) work according to the truth table we program into on-chip memory. A free - not connected to anything - input is always at logic level 1. Connecting the pin to ground (GND, the negative power supply rail) an input will assaume logic level 0.
When we want to use a key (or a switch), whe connect it to an input on one side, and to GND on the other. This technique ensures a logic level 0 when the key is pressed (or switch closed) , and a logic level 1 otherwise. Inputs are an important feature because the truth table can read them, steering the Nutchip to do the appropriate actions.
Every state lists the input combinations and the state to jump to when the input conditions are meet. The schematic diagram is similar to the one shown in our previous article, with the addition of two key (SW1 and SW2) connected to inputs IN1 and IN2.
This is all we need to test the circuit; later we can add a relay in addition to the LED, in order to drive more meaningful load - like an electric motor or a lamp. But now, here it is our schematic. If you have already prepared the board for the experiment from part 1, it's only a matter of adding a copule of keys (ask your dealer for normally open buttons) to it.
The kind shown in the photo required soldering some short wire to button pins, in order to fit breadboard pits. If you don't have a couple of buttons at hand, for testing purpose you can "simulate" them touching briefly the GND pis with wire tips.
To START LED light, touch GND with the wire connected to Nutchip pin 8 (IN1); to STOP LED light, touch GND with the wire connected to pin 8 (IN2).
This is a simplified version of a white LED lamp that can be powered directly from the mains. It provides sufficient illumination for reading purposes. Capacitor Cx along...
The circuit for the white LED lamp consists of several key components designed...
This project takes advantage from -HOLD input, which is connected to push-button P1. As long as the -HOLD input is low, truth table's timeouts have no effect because this input serves to disable any state change provoked by timers. The...
In certain applications, the current from a non-rectified voltage power supply circuit is insufficient. A light-emitting diode (LED) rectifier circuit can be employed to address this issue, serving as a power indicator. It is important to ensure that the forward...
This LED flasher circuit is a classic two-transistor flip-flop. It is a popular circuit often built by beginners in electronic circuit design. The schematic diagram of this well-known LED flasher circuit consists of two transistors, two capacitors, four resistors, and...
This simple circuit drives 6 LEDs in Knightrider scanner mode. Power consumption depends mainly on the type of LEDs used if you use a 7555 (555 CMOS version). More: Note that VDD and GND for the ICs are not shown...
The aesthetics of case modding, which involves modifying a PC's enclosure, provide ample opportunities for discussion and original circuit designs. Low current LED indicators are typically installed in PC enclosures. While this approach conserves energy, the LEDs do not emit...
This circuit is a Flasher that directly derives power from AC to produce brilliant flashes at a rate of one flash per second. It utilizes a Diac as the primary element.
The Flasher circuit operates by converting alternating current (AC) into...
The circuit utilizes 60 individual LEDs to represent the minutes of a clock, along with 12 LEDs to indicate the hours. The power supply and timing circuitry are identical to those described in the previous 28 LED clock circuit. The...
This circuit will flash a bright red LED (5000 mcd) as an attention-getting device or fake car alarm. Component values are not critical, and other transistors may be used. The flash duration is determined by R2 and C1 and is...
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