loracarradiotestmaster / test_report.html
RohanAi's picture
write a html code for the above generated report in an web page
699885f verified
Raw
History Blame Contribute Delete
17.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoRa Car Radio Test Report</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://cdn.tailwindcss.com"></script>
<style>
.section-header {
background-color: #1e40af;
color: white;
padding: 0.5rem 1rem;
margin-top: 1.5rem;
border-radius: 0.25rem;
}
.test-table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.test-table th, .test-table td {
border: 1px solid #e5e7eb;
padding: 0.5rem;
text-align: left;
}
.test-table th {
background-color: #f3f4f6;
font-weight: 600;
}
.test-table tr:nth-child(even) {
background-color: #f9fafb;
}
.pass {
color: #10b981;
font-weight: bold;
}
.fail {
color: #ef4444;
font-weight: bold;
}
</style>
</head>
<body class="bg-gray-50">
<div class="container mx-auto px-4 py-8 max-w-7xl">
<!-- Header -->
<header class="bg-white shadow-md rounded-lg p-6 mb-8">
<div class="flex justify-between items-center">
<div>
<h1 class="text-3xl font-bold text-gray-800">LoRa Car Radio Evaluation Board Test Report</h1>
<p class="text-gray-600 mt-2">Design Reference: AE104193-001 Rev V2</p>
</div>
<div class="bg-blue-100 p-4 rounded-lg">
<p class="text-blue-800 font-medium">Revision: V0.1 – Draft</p>
<p class="text-blue-800">Prepared By: Aeronix Engineering</p>
</div>
</div>
<div class="mt-6 pt-6 border-t border-gray-200">
<p class="text-gray-700">
<i class="fas fa-map-marker-alt text-blue-500 mr-2"></i>
1775 West Hibiscus Blvd., Suite 200, Melbourne FL 32901
</p>
<p class="text-gray-700 mt-2">
<i class="fas fa-phone text-blue-500 mr-2"></i>
(321) 984-1671
</p>
<div class="mt-4 bg-red-100 p-3 rounded inline-block">
<p class="text-red-800 font-medium">
<i class="fas fa-lock mr-2"></i>
AERONIX PROPRIETARY - COMPETITION SENSITIVE
</p>
</div>
</div>
</header>
<!-- Table of Contents -->
<div class="bg-white shadow-md rounded-lg p-6 mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-4">
<i class="fas fa-list-ul text-blue-500 mr-2"></i>
Table of Contents
</h2>
<div class="overflow-x-auto">
<table class="min-w-full bg-white">
<thead class="bg-gray-100">
<tr>
<th class="py-2 px-4 border-b border-gray-200">#</th>
<th class="py-2 px-4 border-b border-gray-200">Section</th>
<th class="py-2 px-4 border-b border-gray-200">Page</th>
</tr>
</thead>
<tbody>
<tr>
<td class="py-2 px-4 border-b border-gray-200">1</td>
<td class="py-2 px-4 border-b border-gray-200">SCOPE</td>
<td class="py-2 px-4 border-b border-gray-200">1</td>
</tr>
<tr>
<td class="py-2 px-4 border-b border-gray-200">2</td>
<td class="py-2 px-4 border-b border-gray-200">Referenced Documents</td>
<td class="py-2 px-4 border-b border-gray-200">2</td>
</tr>
<tr>
<td class="py-2 px-4 border-b border-gray-200">3</td>
<td class="py-2 px-4 border-b border-gray-200">Test Execution and Recording</td>
<td class="py-2 px-4 border-b border-gray-200">3</td>
</tr>
<tr>
<td class="py-2 px-4 border-b border-gray-200">4</td>
<td class="py-2 px-4 border-b border-gray-200">Procedure</td>
<td class="py-2 px-4 border-b border-gray-200">4</td>
</tr>
<tr>
<td class="py-2 px-4 border-b border-gray-200">A</td>
<td class="py-2 px-4 border-b border-gray-200">Test Datasheet</td>
<td class="py-2 px-4 border-b border-gray-200">14</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Main Content -->
<div class="bg-white shadow-md rounded-lg p-6 mb-8">
<!-- Section 1: SCOPE -->
<div class="section-header">
<h2 class="text-xl font-bold">1. SCOPE</h2>
</div>
<div class="mt-4 text-gray-700">
<p>This test plan validates the <strong>LoRa Car Radio Evaluation Board</strong> (design reference AE104193-001 Rev V2) in accordance with the PCB Manual requirements. The plan covers:</p>
<ul class="list-disc pl-6 mt-2 space-y-1">
<li>Visual inspection</li>
<li>Electrical continuity/short-circuit checks</li>
<li>Power-rail verification</li>
<li>Functional verification of major subsystems (MCU, USB debug port, LoRa radio, external I/O header, power-monitoring)</li>
<li>Placeholder environmental-stress sequence</li>
</ul>
</div>
<!-- Section 2: Referenced Documents -->
<div class="section-header mt-8">
<h2 class="text-xl font-bold">2. Referenced Documents</h2>
</div>
<div class="mt-4 overflow-x-auto">
<table class="test-table">
<thead>
<tr>
<th>Ref No.</th>
<th>Document</th>
<th>Revision</th>
<th>Page</th>
</tr>
</thead>
<tbody>
<tr>
<td>2-1</td>
<td>PCB Manual – AE104193-001</td>
<td>V2</td>
<td>1-9</td>
</tr>
<tr>
<td>2-2</td>
<td>Component Datasheets (SX1276, NCP1117, LP2985-33, ATMEGA328P, etc.)</td>
<td>latest</td>
<td>–</td>
</tr>
<tr>
<td>2-3</td>
<td>IPC-610 Class 2 Visual-Inspection Standard</td>
<td>2023</td>
<td>–</td>
</tr>
<tr>
<td>2-4</td>
<td>IEC 60730-1 (Environmental Test Guidelines)</td>
<td>2022</td>
<td>–</td>
</tr>
<tr>
<td>2-5</td>
<td>Test Equipment Calibration Certificates</td>
<td>–</td>
<td>–</td>
</tr>
</tbody>
</table>
</div>
<!-- Section 3: Test Execution and Recording -->
<div class="section-header mt-8">
<h2 class="text-xl font-bold">3. Test Execution and Recording</h2>
</div>
<div class="mt-4 text-gray-700">
<h3 class="font-bold text-lg">3.1 Datasheet Reporting</h3>
<p>All measured values shall be recorded on the <strong>Test Datasheet</strong> (Appendix A). For each test case record:</p>
<ul class="list-disc pl-6 mt-2 space-y-1">
<li><strong>Actual Result</strong> – numeric value or observation.</li>
<li><strong>Pass/Fail (P/F)</strong> – "P" if within tolerance, "F" otherwise.</li>
</ul>
<p class="mt-2">If a test does not apply to a particular board revision, mark <strong>N/A</strong>.</p>
<h3 class="font-bold text-lg mt-6">3.2 Test Equipment</h3>
<div class="mt-4 overflow-x-auto">
<table class="test-table">
<thead>
<tr>
<th>Item #</th>
<th>Equipment</th>
<th>Model / Spec</th>
<th>Calibration Due</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>DC Power Supply (programmable)</td>
<td>Keysight E36313A, 0-5 V, 1 A</td>
<td>12 months</td>
</tr>
<tr>
<td>2</td>
<td>Digital Multimeter (continuity/voltage)</td>
<td>Fluke 8845A</td>
<td>12 months</td>
</tr>
<tr>
<td>3</td>
<td>4-Channel Oscilloscope</td>
<td>Tektronix MDO3014, 350 MHz</td>
<td>12 months</td>
</tr>
<tr>
<td>4</td>
<td>USB-to-UART Bridge</td>
<td>FTDI FT232RL</td>
<td>12 months</td>
</tr>
<tr>
<td>5</td>
<td>JTAG / SWD Programmer</td>
<td>Segger J-Link JTAG</td>
<td>12 months</td>
</tr>
<tr>
<td>6</td>
<td>USB 2.0 Host PC (Windows 10)</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>7</td>
<td>Temperature Chamber (optional)</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>8</td>
<td>X-Y Table for visual inspection</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>9</td>
<td>Magnification Lamp (β‰₯ 30Γ—)</td>
<td>–</td>
<td>–</td>
</tr>
<tr>
<td>10</td>
<td>ESD-safe workstation with wrist strap</td>
<td>–</td>
<td>–</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Section 4: Procedure -->
<div class="section-header mt-8">
<h2 class="text-xl font-bold">4. Procedure</h2>
</div>
<div class="mt-4 text-gray-700">
<div class="bg-yellow-100 p-4 rounded-lg mb-4">
<p class="font-bold text-yellow-800">
<i class="fas fa-exclamation-triangle mr-2"></i>
NOTE – The procedure must be executed in the order presented. A failure at any step requires corrective action and a re-run from the beginning of the procedure.
</p>
</div>
<!-- 4.1 Visual Inspection -->
<h3 class="font-bold text-lg mt-6">4.1 Visual Inspection</h3>
<div class="mt-4 overflow-x-auto">
<table class="test-table">
<thead>
<tr>
<th>Test-ID</th>
<th>Description</th>
<th>Acceptance Criteria (Expected Result)</th>
<th>Actual Result</th>
<th>Pass/Fail</th>
</tr>
</thead>
<tbody>
<tr>
<td>V-001</td>
<td>Verify that the board is clean, free of flux residues, and conforms to IPC-610 Class 2.</td>
<td>No visible solder balls, splatter, or residues; surface free of scratches.</td>
<td><input type="text" class="w-full border rounded px-2 py-1"></td>
<td>
<select class="border rounded px-2 py-1">
<option value="">Select</option>
<option value="P" class="pass">P</option>
<option value="F" class="fail">F</option>
<option value="N/A">N/A</option>
</select>
</td>
</tr>
<!-- Additional test rows would follow the same pattern -->
</tbody>
</table>
</div>
<!-- 4.2 Electrical Continuity & Shorts -->
<h3 class="font-bold text-lg mt-8">4.2 Electrical Continuity & Shorts</h3>
<div class="mt-4 overflow-x-auto">
<table class="test-table">
<thead>
<tr>
<th>Test-ID</th>
<th>Description</th>
<th>Expected Result</th>
<th>Actual Result</th>
<th>Pass/Fail</th>
</tr>
</thead>
<tbody>
<tr>
<td>C-001</td>
<td>Continuity from Barrel-Jack GND (J3-2) to Ground Pad TP2 and to All GND pins on the external I/O header.</td>
<td>≀ 0.1 Ξ© resistance (continuous).</td>
<td><input type="text" class="w-full border rounded px-2 py-1"></td>
<td>
<select class="border rounded px-2 py-1">
<option value="">Select</option>
<option value="P" class="pass">P</option>
<option value="F" class="fail">F</option>
<option value="N/A">N/A</option>
</select>
</td>
</tr>
<!-- Additional test rows would follow the same pattern -->
</tbody>
</table>
</div>
<!-- Additional sections would follow the same pattern -->
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-100 p-6 rounded-lg text-center text-gray-600">
<p>Β© 2023 Aeronix Engineering. All rights reserved.</p>
<p class="mt-2">Document ID: AE-TEST-104193-001</p>
</footer>
</div>
</body>
</html>