Skip to main content

Popular posts from this blog

How Does an Inverter (NOT) Gate Work - NOT Gate Explained

For a video version of this tutorial, please refer to this link . An inverter gate, or NOR gate for short, is one of the essential logic gates used constructed digital circuits. As implied by its name, the NOT gate works by taking an input, inverting it, then outputting the inverted value. The NOT gate schematic symbol looks like a triangle with clown nose on the Output side (as shown in the Figure above). In logic circuits, inputs and outputs are binary, which means their value can either be 0 or 1. So: If NOT receives a 0 at the input, it will output 1 . If NOT receives 1 at the input, it will output 0 . To sum it up, the truth table for the NOT gate will be as the following: Input Output X F 0 1 1 0 The NOT gate can be algebraically represented as the following:  F = X' (or you can have a bar above the X) where :     F is the output and X is the input

Logic Gate Truth Tables - Reference Guide (Cheat Sheet)

A logic gate is the implementation of a Boolean function. It performs a logic operation on one or more binary input. By binary I mean that the input can either be 1 or 0, nothing else. This guide is intended to be quick guide\reference, I will dive into more details about each gate on transistor\diode level in other posts. The guide cover gates with 2 inputs, meaning that each truth table will have 4 cases (2^2 = 4) AND Gate: Boolean Logic Operator: Q = A  •  B  Input Output A B Q 0 0 0 0 1 0 1 0 0 1 1 1 Summary: in order to achieve 1 on the output, both inputs A AND B must be 1 OR Gate: Boolean Logic Operator: Q = A  +  B  Input Output A B Q 0 0 0 0 1 1 1 0 1 1 1 1 Summary: in order to ...

L298N Motor Drive Controller - Reference Guide

Navigation - L298N Quick Reference Guide: IN1 and IN2 = Right Motors IN3 and IN4 = Left Motors ENA and ENB = controls the speed of the right and left motors via PWM. ENA or ENB IN1 or IN3 IN2 or IN4 Motor Action 0 X X Stop 1 0 0 Brake 1 0 1 Forward 1 1 0 Backward 1 1 1 Brake Connection on the Arduino:  Pin Connection L298N Arduino Microcontroller ENA 10 (~PWM) ENB 5(~PWM) IN1 9 IN2 8 IN3 7 IN4 6 Car Movement Directions vs. Wheels Rotation Car Moves Forward Car Moves Backward Car Stops Car Turns Left Car Turns Right Left Wheels\Motors Forward Back Stop Back Forward Right Wheels\Motors For...