Series Circuit
The series circuit allows for only one path for the current so every wire is reliant on each other. The series circuit acts as an AND gate, so both buttons need to be pushed for the LEDs to turn on.
Parallel Circuit
The parallel circuit allows for multiple paths for the current, so energy can still flow even if one component does not work. Parallel circuits act as OR gates, so only one button needs to be pushed for the LED to turn on.
Using AND, NOT, and OR gates, a circuit was created on EveryCircuit for patient monitoring and detecting risks for heart attacks using three diodes: A, B, and C. The four different LEDs each signal a different level of risk. If the green LED turns on, then all three diodes went through the NOT gate and there is no risk of a heart attack. If the yellow LED turns on, then two out of the three diodes went through the NOT and there is a slight risk of a heart attack. If the red LED turns on, then only one diode went through the NOT gate and there is a severe risk of a heart attack. Finally, if the alarm LED turns on, then no diodes went through the NOT gate and the patient is actively showing signs of a heart attack.
Green
In this project, we applied the concepts of the 555 timer in practice of a simple circuit in Thinkercad. First, we placed a 555 timer IC on the virtual breadboard as the main component of the circuit. A power source with 4 batteries of size AA1.5. are connected to provide voltage for the chip to operate. Two resistors and one capacitor were then connected to the timer for the timing network, which controls how quickly the capacitor charges and discharges. These components were connected to Pins 2, 6, and 7 of the 555 timer, allowing the circuit to generate a continuous output signal. A piezo buzzer was connected to the output pin of the timer so that the electrical pulses produced by the circuit could be converted into sound. Finally, we settle up all ground connections and complete the circuit.