When we design program to do experiments, we often need to use logical transformation.
The keyestudio Logic DC jack module comes with a logic conversion function that includes AND gates and NOR gates.
When in use, the toggle switch is turned to the "OFF" terminal, there is no output; when the toggle switch is toggled at the "SW1" terminal, the logic NOR gate function is implemented, and the IN1 input level and the OUT output level are opposite;
When the switch is toggled at the "ON" terminal, logic and function are implemented, and the IN1 level and the IN2 level are combined to obtain the OUT level.
The working voltage of the module is 5V.
There are two power supply modes. One connects 5V power supply to the module GND VCC; the other connects the DC 5.5-15V power supply to the black DC head of the module.
Special Note: When the module is connected to external power supply and other MCUs. The module must be connected to the microcontroller for common (GND) ground connection.