{
  "workbookTitle": "Girls Day - Automatic Plant Watering",
  "section0Title": "0. Motivation",
  "section1Title": "1. Components & Setup",
  "section1ChecklistIntro": "Checklist for components:",
  "section1Subtitle1": "Wiring it together",
  "section1WiringHint": "This is how the components are connected:",
  "section1RelayInfo": "Why a relay? The Arduino can only switch small currents directly, but the pump needs more current. The Arduino controls the relay, and the relay switches the pump on/off.",
  "componentArduino": "Arduino Board",
  "componentMoistureSensor": "Moisture Sensor",
  "componentPump": "Water Pump",
  "componentRelay": "Relay Module",
  "componentPowerSupply": "Power Supply",
  "componentConnectionCable": "Connection Cables",
  "wiringSlideshowTitle": "Wiring slideshow",
  "wiringSlideSource": "Plant workshop",
  "wiringSlideDescription": "Wiring step",
  "wiringSlideText1": "Step 1: Place Arduino, relay and moisture sensor on the desk and check all cable types.",
  "wiringSlideText2": "Step 2: Connect sensor power and signal lines (D2, GND, A0) carefully.",
  "wiringSlideText3": "Step 3: Wire relay and pump path, then ask a supervisor before enabling power.",
  "slideshowBack": "← Back",
  "slideshowNext": "Next →",
  "section2Title": "2. Control the Pump",
  "section2Goal": "Learning goal: You can switch digital outputs with HIGH/LOW and control the relay so the pump turns on and off safely.",
  "section2Instruction": "Task: Write a program that turns the pump on for exactly 2 seconds. After that, the pump should turn off again.",
  "section2BeginnerHint": "Hint: Relay ON first, then wait, then OFF.",
  "section2AdvancedHint": "Advanced mode migration TODO: full code editor with validation feedback.",
  "pumpDone1": "I can explain why LOW means pump ON in this relay setup.",
  "pumpDone2": "I can create the 2-second watering cycle.",
  "pumpDone3": "I tested ON -> delay -> OFF order.",
  "section3Title": "3. Measure Moisture",
  "section3Goal": "Learning goal: You can read an analog sensor with Arduino and decide yourself when the soil is considered dry.",
  "section3Instruction": "Task: Read the sensor and print the measurement result on the Serial Monitor.",
  "section3BeginnerHint": "Hint: Power sensor briefly, read value, power off, then evaluate condition.",
  "section3AdvancedHint": "Advanced mode migration TODO: gap-fill code editor with TODO markers.",
  "moistureDone1": "I can explain SENSOR_POWER_PIN usage.",
  "moistureDone2": "I can read `analogRead(SENSOR_PIN)` into a variable.",
  "moistureDone3": "I can explain the threshold condition for dry soil.",
  "section4Title": "4. Values & Pump",
  "section4Goal": "Learning goal: You can combine all steps into one complete watering program: measure, decide, and water precisely.",
  "section4Instruction": "Task: Build the complete sequence: power sensor, read value, check condition, pump for 2 seconds if dry, then wait 10 seconds.",
  "section4BeginnerHint": "Hint: measurement before decision, pump only in dry branch, then wait.",
  "section4AdvancedHint": "Advanced mode migration TODO: full combined-system editor.",
  "combinedDone1": "I can combine sensor read and pump control in one algorithm.",
  "combinedDone2": "I can explain when the pump should stay off.",
  "combinedDone3": "I can explain why delay(10000) is used between cycles.",
  "section5Title": "5. Test & Finish",
  "section5DownloadInfo": "Step by step: upload the .ino file to the Arduino Nano and use the Serial Monitor for testing.",
  "section5Troubleshooting": "Troubleshooting guide: check wiring, power supply, relay clicking, sensor pins, and threshold value.",
  "missingPumpInteraction": "Advanced mode: use the full code editor here and validate your solution.",
  "missingMoistureInteraction": "Advanced mode: fill in the code-gap exercise for moisture evaluation here.",
  "missingCombinedInteraction": "Advanced mode: combine sensor logic and pump control into one complete flow.",
  "missingArduinoExport": "Export & troubleshooting: upload the code to Arduino and test each step carefully.",
  "testChecklistSensorValues": "Sensor shows plausible values",
  "testChecklistPumpStarts": "Pump starts when soil is dry",
  "testChecklistPumpStops": "Pump stops after a short time",
  "migrationChecklistTitle": "Migration checklist (6)",
  "migrationChecklist1": "Section structure mapped to workbook architecture",
  "migrationChecklist2": "Wiring slideshow migrated to slideshow interaction",
  "migrationChecklist3": "All checklist boxes backed by InteractionVariable",
  "migrationChecklist4": "Beginner/advanced mode components migrated",
  "migrationChecklist5": "Arduino export flow migrated",
  "migrationChecklist6": "Legacy PlantWorkshopApp can be removed",
  "legacyReference": "Reference: The old, fully working version remains in PlantWorkshopApp.",
  "componentWires": "Wires",
  "componentHoses": "Hoses & water container",
  "componentUsbCable": "USB cable",
  "section0IntroMarkdown": "## 🌱 Welcome to the Arduino plant workshop!\nToday we will learn how to build an automatic watering system with Arduino. Using this microcontroller, we will read a moisture sensor and control a pump so that our plants get water at exactly the right time.\n\n**What you will learn:**\n- How to read sensors (measure moisture in the soil)\n- How to control electrical devices (switch pump on/off)\n- How to combine both parts (automatic watering)\n\n> **Note:** We are using Arduino, a platform that makes it easy to control hardware with code. No worries if you have never programmed before — we start from the very beginning! You can choose between a beginner mode with drag-and-drop code blocks and an advanced mode where you fill in code gaps yourself.",
  "section0SafetyMarkdown": "### Safety notes\n- **Water and electricity:** Make sure no electrical parts (except the sensor) come into contact with water.\n- **Power supply:** Use only the provided power supplies and voltage levels.\n- **If you have problems or are unsure:** Always ask for help.",
  "section1PowerWarningMarkdown": "> **⚠️ IMPORTANT SAFETY RULE:** Never switch on power without a supervisor! The power supply may only be activated together with a supervising adult."
}
