Breadboard Template
All-purpose Breadboard Design
Introduction
This design takes a large breadboard and incorporates an Arduino Mega 2560, LCD, and +5V mini-supply at 5 amps. The project uses a 4-bit external switch module to talk to the software to activate four different sub-projects within the software.
Project Description
Most of the time we write software that if it has multiple elements, they are controlled by internal flags that set for certain conditions or as the result of an interrupt being tripped. It is also possible to have external switches that interact with the software directly.
You could use separate switches on individual inputs or a scaled analog input that trips at different voltage levels. Using a binary code to interact with the software is very efficient. Four switches could encode 16 levels instead of 4. This project uses four switches to turn on or monitor four different processes. The stepper motor valve uses two more hex-codes to control a valve.