E-Fabrication · Unit 07

Coding a Rule

Circuits + Coding · Simple electronics + Arduino options

33

Today’s challenge

Use blocks or Arduino code to create if/then behavior.

Grade 3 focusPaper circuits, LEDs, handmade switches, block-code demonstrations, and one input/output relationship.

Grade 5 focusBreadboards, resistors, sensors, Arduino or simulator code, debugging logs, and multiple operating states.

Successful student example for Coding a Rule

Success example · inspiration, not a design to copy

Look closely. What makes this successful?

The if-then rule, wiring, and output all match the behavior in the plan.

What to do

  1. Understand. Read the challenge. Circle the important need, rule, or safety limit.
  2. Plan. Use the thinking spaces below before you begin making.
  3. Make. Build, model, code, practice, or investigate carefully with your team.
  4. Check. Use evidence—not guesses—to decide what worked.
  5. Improve or explain. Make one useful change or share your strongest conclusion.

Engineer’s thinking

1. Who are you designing for?

2. What must your idea do?

3. What limits must you follow?

4. Sketch and label at least two ideas.

Evidence check

Show what you learned.

Your teacher will look for: A working rule, commented code or pseudocode, and a student explanation of the changed value.

My evidence

My next step

Exit reflection

Today I learned that because .

Next time I will .

How independently did I work?□ I needed coaching□ I worked with my team□ I can teach this skill