2.7.3 Led Navigation Code Strobe And Test
Step-by-Step Assembly (Continued)
Lesson 3 – Code, Strobe & Test
| STEP 6 | Upload Navigation Light Code |
| * Open the nav_lights.ino sketch from Kit 11 USB drive * Review the code structure: * Setup: all GPIO pins set to OUTPUT; all lights on * Loop: steady lights remain on; strobe GPIO toggles HIGH/LOW with 750 ms delay each * Landing light: reads RC channel 6 PWM value; >1500 μs = on; <1500 μs = off * Upload to ESP32; confirm strobe flashing and steady lights |
| STEP 7 | Verification Tests |
| * Complete all rows in the Test Verification Table (Section 6) * Count strobe flashes in 60 seconds using a stopwatch — target 38–42 flashes * Night orientation test: darken the room; power on the aircraft; student stands 5 m away * Student calls out: 'The nose is pointing [direction]' based on light colours alone * Correct: red (port) on left of view = aircraft nose pointing to the right |