Comprehensive Test Plan Development
Table
Table
| Test Case ID | Description | Expected Outcome | Pass/Fail Criteria |
|---|---|---|---|
| TT-01 | Operating at +50 °C | No malfunction; temperature rise ≤ +10 °C | Components 5 ms |
| MT-02 | Rotary Encoder: SW3 & SW4 20 k detents | Accurate detent count; no miscounts | Encoder count error = 0% |
| MT-03 | USB Connector Durability | ≥ 500 mating cycles; no intermittent connectivity | USB still enumerates consistently |
Table
| Test Case ID | Description | Expected Outcome | Pass/Fail Criteria |
|---|---|---|---|
| EV-01 | Humidity: 85% RH at 40 °C | No corrosion; normal operation | Functional pass after soak |
| EV-02 | ESD Immunity: ±8 kV contact | No latch-up; no data corruption | Device still responsive; no reset |
| EV-03 | EMC Emissions | Below CISPR‐22 Class B limits | Measured emissions within spec |
Table
| Test Case ID | Description | Expected Outcome | Pass/Fail Criteria |
|---|---|---|---|
| CT-01 | USB MIDI Enumeration | Recognized as MIDI device | OS lists device without errors |
| CT-02 | DIN‐MIDI Output via J1 | Correct 31.25 kbps data stream | Logic analyzer shows valid MIDI frames |
| CT-03 | OLED Display: I²C update at 60 Hz | No flicker; full resolution content | Visual smoothness; no display artifacts |
| CT-04 | Proximity Sensor: U2 range test | Accuracy within ±10 mm over 400 mm range | Measurement error ≤ ±10 mm |
techpsychotic69
copilot
- Arduino Micro (U1)
- Handles the processing, MIDI communication, and interface with peripheral sensors and inputs.
Rotary Encoders- EC12D1564402 (SW3, SW4)
- Two rotary encoders for adjusting parameters like volume, pitch, or other MIDI controls.
- Pins: A, B, C for rotary signals, S1 and S2 for switch functions.
Capacitive Touch Keys- These touch keys are likely implemented using capacitive touch sensors connected to the Arduino Micro's input pins.
Proximity Sensor- VL53L1CXV0FY/1 (U2)
- Used as a mod wheel, sustain pedal, or for polyphonic expression (MPE).
OLED Display- B08L7QW7SR (OLED1)
- Displays configuration options and parameters.
- Communicates with the microcontroller through I2C.
Resistors- Various resistors are used throughout the circuit to ensure proper functionality, signal integrity, and protection.
- Example: R24, R16, R21.
Capacitors- Capacitors like C2 are used for filtering and signal stability.
Power Management- The circuit includes nets for 5V and 3.3V power rails to supply various components.
- GND nets are used to establish a common ground.
Connections-
OLED Display:
-
Rotary Encoder SW3:
-
Proximity Sensor (VL53L1CX):
AssumptionsSDA_3: SDA, 2/SDASCL_3: SCL, 3(PWM)/SCL5V: 5VGND: GND, GNDA: Connect A to 7C: Connect C to GNDB: Connect B to a net (e.g., B2)S1: Connect S1 to 5(PWM)S2: Connect S2 to GNDSCL: Connect SCL toSCL_3SDA: Connect SDA toSDA_3AVDD: Connect AVDD to 3.3V- The capacitive touch keys are connected to analog or digital pins on the Arduino Micro.
- The code for handling the capacitive touch input, rotary encoder input, proximity sensor readings, and displaying on the OLED will be managed within the Arduino Micro.
- The power distribution ensures that all components receive the required voltage levels.
Summary