ROBOTICS TRACK / LEVEL 02

Logic Lab

Make an Arduino run a complete system with explicit rules, responsive timing, memory, reusable code, and interfaces that recover from incorrect input.

Development status: hardware validation pending

The learning plan is approved, but the exact circuits, components, timings, and family workflow still require physical validation. This page explains the intended course; lessons are not yet available, and this is not a buy-now shopping guide.

THE GOAL

Move from individual projects to complete systems

Students learn to combine sensors, rules, time, memory, and feedback. The final system should explain decisions through Serial evidence, remain responsive while several jobs run, and recover from incorrect user actions.

READY IF…

Level 1 foundations are dependable

  • Upload and restore a known-good Uno sketch.
  • Wire an LED with a resistor and a button using INPUT_PULLUP.
  • Use variables, simple if/else, functions, arrays, and loops with reminders.
  • Open Serial Monitor and compare expected with actual values.
  • Disconnect USB before moving wires.

PREREQUISITE CLARITY

What is taught here

02
NOT A PREREQUISITE

AND, OR, and NOT begin in Lesson 1

Students do not need prior formal logic instruction. Truth tables, Boolean values, logical combinations, zero-based indexes, and simple binary place value are introduced or reactivated inside the level.

NEW SKILLS

Structure, timing, memory, and evidence

The level develops parameterized functions, data-driven patterns, a shift register, useful Serial logging, nonblocking millis() schedules, named states, keypad validation, and recovery behavior.

PLANNED HARDWARE

Reuse the Uno; add a logic lab

HW
REUSE FROM LEVEL 1

The familiar Arduino setup

Genuine Arduino Uno R3, USB data cable, jumper wires, buttons, passive piezo, desktop Arduino IDE, and maker notebook. A larger breadboard is planned for the integrated console.

PROPOSED ADD-ON PACK

5 V logic and interface parts

74HC08 AND, 74HC32 OR, and 74HC04 NOT gate ICs; a 74HC595 shift register; 3×4 membrane keypad; eight LEDs; current-limiting and input resistors; and one 0.1 µF decoupling capacitor per powered IC.

Planning estimate: $20–$45 incremental before tax and shipping. Exact parts have been purchased for validation, but no public purchase recommendation is final until they pass the physical preflight and course circuits.

PLANNED LEARNING ARC

Twelve lessons

12
Lesson 01 / RulesBoolean values, truth tables, AND, OR, and NOT

Use two buttons to predict and test every possible logical combination.

Lesson 02 / Physical logicReal 74HC logic gates

Learn IC orientation, power, defined inputs, decoupling, and physical truth-table testing.

Lesson 03 / DecisionsA three-rule alarm

Combine an arm condition, trigger, and exception into explicit compound rules.

Lesson 04 / ReuseFunctions that accept and return information

Use parameters, return values, and local variables to make behavior easier to test.

Lesson 05 / DataArrays, indexes, loops, and patterns

Store output patterns as data instead of repeating nearly identical statements.

Lesson 06 / ExpansionControl eight lights with a 74HC595

Connect bits and binary patterns to a fully specified shift-register circuit.

Lesson 07 / EvidenceSerial logging for diagnosis

Record inputs, decisions, time, and state so the system can explain what happened.

Lesson 08 / TimeResponsive multitasking with millis()

Replace blocking waits with schedules that let inputs and outputs remain responsive.

Lesson 09 / MemoryNamed states, events, and transitions

Model system behavior with a state diagram, enum, and switch.

Lesson 10 / InterfaceKeypad validation and user recovery

Accept a sequence, communicate progress, reject mistakes, and return to a useful state.

Lesson 11 / IntegrateMission-control prototype

Bring inputs, outputs, rules, timing, state, and diagnostics together through subsystem tests.

Lesson 12 / ImproveUser test, regression test, revision, and showcase

Observe an unaided user, make one evidence-based improvement, and defend the final design.

CAPSTONE + READINESS

Mission-control console

→
CAPSTONE

A responsive multi-input system

The planned mission-control or escape-room console uses at least three meaningful input roles, three output roles across two modalities, four named states, nonblocking timing, reusable functions, useful diagnostics, and recovery from an incorrect action.

READY FOR LEVEL 3

Explain and transfer the logic

Students should be able to complete a truth table, write a function with a parameter, use an array and loop, keep inputs responsive during two schedules, explain a state diagram, and use Serial evidence to locate a fault.