Skip to content

Add Arduino answer key (4 hardware activities, teacher reference)#655

Open
beagandica wants to merge 1 commit into
NuevoFoundation:masterfrom
beagandica:content/answer-key-arduino
Open

Add Arduino answer key (4 hardware activities, teacher reference)#655
beagandica wants to merge 1 commit into
NuevoFoundation:masterfrom
beagandica:content/answer-key-arduino

Conversation

@beagandica
Copy link
Copy Markdown
Member

Summary

Add a teacher reference answer key for the Arduino Light Game workshop (Elegoo UNO starter kit).

Changes

  • content/english/arduino/answer-key.md (new, 310 lines)
    • Activity 1: Blinking LED (built-in example, timing challenge answer)
    • Activity 2: Joystick with serial output (full code, expected output)
    • Activity 3: Joystick + LEDs (fixed code with 3 workshop bugs flagged)
    • Activity 4: LCD Hello World (full code, pin mapping table)
    • Appendix: Component reference table

Workshop source bugs flagged for teachers

  • Activity 3: joyX and joyY used but never declared (code won't compile)
  • Activity 3: VRy wired to GND instead of A1 (Y-axis won't read)
  • Activity 3: Pin 7 LED in code but not in wiring steps
  • Activity 4: Text says 5K resistor, code comment says 10K (either works)
  • Activity 3: Serial output says "Switch = High" when buttonState is LOW

Languages affected

  • English only. PT-BR translation exists but no answer key (tracked in backlog).

Testing

  • Hugo build passes
  • All Arduino code verified for compilation
  • 10-model QA passed (3 clean convergence passes)

Teacher reference for the Arduino Light Game workshop (Elegoo UNO kit).
Covers all 4 activities: Blinking LED, Joystick serial output, Joystick
+ LEDs, and LCD Hello World display. Includes component reference.

Flags 3 workshop source bugs for teacher awareness:
- Activity 3: joyX/joyY variables used but never declared (won't compile)
- Activity 3: VRy wired to GND instead of A1 (Y-axis won't read)
- Activity 3: Pin 7 LED referenced in code but not in wiring steps

Also notes: 5K vs 10K resistor discrepancy in Activity 4, redundant
xValue>=0 condition, misleading 'Switch = High' serial output.

10-model QA passed (3 clean convergence passes).
Hugo build verified.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant