Skip to content

Generates a truth table for a n-input circuit and tests the output circuit for every combination of input values. Reports the output as a boolean and a voltage.

Notifications You must be signed in to change notification settings

athaun/arduino_circuit_logic_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Arduino Logic Circuit Tester

Generates a truth table for a n-input circuit and tests the output circuit for every combination of input values. Reports the output as a boolean and a voltage.

Usage example - configure in inputs.h

int input_pins[] = {
  8,  // a - green
  9,  // b - yellow
  10, // c - blue
  11  // d - black
};
int result_pin = 4; // White
// Default analog read pin is A0 - also white

Test by sending row numbers over serial:

Make sure that the serial message box is set to "No Line Ending" so that it doesn't test 0 after each read. image

Physical Setup

image image

About

Generates a truth table for a n-input circuit and tests the output circuit for every combination of input values. Reports the output as a boolean and a voltage.

Resources

Stars

Watchers

Forks

Languages