MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b1536/advancedfunctions.co/stingray/
File Upload :
Current < : /hermes/sb_web/b1536/advancedfunctions.co/stingray/index.html

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Stingray WF 1.0 Browser-Programmable WiFi Microcontroller Manual</title>
    <!-- Add Font Awesome CSS (you can include it from a CDN) -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 20px;
            color: #333;
            background-color: #f8f8f8;
        }

        h1 {
            font-size: 2em;
            color: #004080;
        }

        h3 {
            font-size: 1.5em;
            color: #004080;
            margin-top: 20px;
            cursor: pointer;
            padding-bottom: 5px;
            display: inline-block;
            text-decoration: none;
        }

        h3:hover {
            border-bottom: 2px solid #ddd;
        }

        ul,
        ol {
            margin-bottom: 20px;
        }

        img {
            max-width: 100%;
            height: auto;
            margin-top: 20px;
        }

        i {
            font-style: italic;
            color: #555;
            display: block;
            margin-top: 10px;
        }

        div {
            border: 1px solid #ddd;
            padding: 10px;
            background-color: #fff;
            margin-top: 10px;
        }

        .last-modified {
            margin-top: 20px;
            font-size: 0.8em;
            color: #777;
        }
    </style>
</head>

<body>

    <h1>Stingray WF 1.0 Browser-Programmable WiFi Microcontroller Manual</h1>

    <p>Version: 1.0</p>
  <div style="width:20vw;position:relative;left:50%;transform:translateX(-50%);-moz-border-radius:1vw;-webkit-border-radius:1vw;border-radius:1vw;">
                <img src='stingrayWF1.0.png' alt="Stingray WF 1.0 3D Model">
        </div>
    <div>
        <h3 onclick="toggleContent('overview')"><i class="fas fa-caret-right"></i> Overview</h3>
        <div id="overview" style="display: none;">
            <p>This microcontroller is programmable using any browser. This microcontroller also comes with its own on-board battery and battery charger that provides both 5V and 3.3V, eliminating the need for external power sources.</p>
        </div>
    </div>

    <div>
        <h3 onclick="toggleContent('charging')"><i class="fas fa-caret-right"></i> Charging</h3>
        <div id="charging" style="display: none;">
            <p>Simply plug a USB Micro B plug into the micro-controller and switch the 'Charge Switch' to 'ON'. The 'Charging LED' indicator will light red, while the 'Fully Charged LED' will remain off. Once fully charged, the 'Fully Charged LED' indicator will light green, and the 'Charging LED' will turn off.  Set the 'Charge Switch' to 'OFF' to power the microcontroller with its onboard battery.  (Note: the microcontroller may be used during charging.)</p>
        </div>
    </div>

    <div>
        <h3 onclick="toggleContent('server')"><i class="fas fa-caret-right"></i> Turning on the server</h3>
        <div id="server" style="display: none;">
            <ol>
                <li>Plug an Ethernet cable into the computer for fast internet.</li>
                <li>Go to http://192.168.0.1 and enter the credentials found at the back of the fiber optics router.</li>
                <li>Click Application | Port Forwarding (WAN: 8080~8080 LAN: 8080~8080 | Go to terminal on Linux and enter hostname -I to get the first address as the IP address) | Click <b>Enable Mapping</b></li>
                <li>Open Netbeans IDE 8.2.</li>
                <li>Find the project at /home/maurus/Documents/ServerPrograms</li>
                <li>Click Run Project.</li>
            </ol>
        </div>
    </div>

    <div>
        <h3 onclick="toggleContent('burning')"><i class="fas fa-caret-right"></i> Uploading the OTA program to a new Stingray WF1.0 with an Arduino UNO</h3>
        <div id="burning" style="display: none;">
            <ol>
                <li>Connect an Arduino UNO to a computer and upload a sketch with an empty setup and loop method.</li>
                <li>Connect the GND of the Arduino to the GND of the Stingray. Connect Tx of the Arduino to Tx of the Stingray and connect Rx of the Arduino to the Rx of the Stingray.</li>
                <li>Connect a 330-ohm resistor to GND and connect the other terminal to a free wire. Connect another free wire to GND.</li>
                <li>Set the board of Arduino Sketch to NodeMCU 1.0 (ESP-12E Module).</li>
                <li>Put the microcontroller into programming mode by holding the free GND wire on the pin of the WiFi module, that is closest to the pin that says Rx on the Stingray. Insert the free wire coming from the 330-ohm resistor into D4. Wait 2 seconds. Remove the free GND wire from the WiFi module followed by removing the wire from D4.</li>
                <li>Upload the <a href='https://advancedfunctions.co/stingray/OTAFile.txt' target='_blank'>OTA File</a> code.</li>
            </ol>
        </div>
    </div>

    <div>
        <h3 onclick="toggleContent('setting-up')"><i class="fas fa-caret-right"></i> Setting Up the Stingray Module to Upload Code to the Microcontroller</h3>
        <div id="setting-up" style="display: none;">
            <ol>
                <li>Using a phone, tablet, or computer, scan the WiFi network for wireless access points. A Stingray should be visible. Click it and connect to it.</li>
                <li>In a browser, enter the provided IP address of the Stingray.</li>
                <li>Enter the SSID of the hotspot to give the Stingray access to the internet.</li>
            </ol>
        </div>
    </div>

    <div>
        <h3 onclick="toggleContent('programmingMicrocontroller')"><i class="fas fa-caret-right"></i> Programming the microcontroller</h3>
        <div id="programmingMicrocontroller" style="display: none;">
            <ul>
                <li>Go to the <a href='http://24.206.15.96:8080/arduinoOTACompiler/'>Stingray Browser Compiler</a></li>
                <li>Enter the provided IP address of the Stingray in 'Device ID'</li>
                <li>Paste or write code that would have been written for Arduino Sketch.</li>
                <li>Click the checkbox to set the mode of upload. <b>Note: on automatic upload, the code 'freezes' every 5 seconds to poll for updates.</b></li>
                <li>Click 'Compile and Upload'.</li>
                <li>A status will count down 10 seconds indicating that an attempt is being made to compile the code. <b>Note: if the code is incorrect, it will not compile.</b></li>
                <li>A rapidly flashing blue light on the Stingray indicates that the Stingray will attempt to begin requesting this compiled file. <b>Note: once a file is found, the blue light will stop flashing, and it will take about 20 seconds for the new program to be burnt onto the microcontroller.</b></li>
            </ul>
        </div>
    </div>

    <div>
        <h3 onclick="toggleContent('schematics')"><i class="fas fa-caret-right"></i> Schematics</h3>
        <div id="schematics" style="display: none;">
            <p>
                <img src='stingrayWF1.0Schematics.png' alt="Stingray WF1.0 Microcontroller Schematics">
            </p>
        </div>
    </div>

    <div class="last-modified">
        <p>Last modified: January 29, 2024</p>
    </div>

    <script>
        function toggleContent(sectionId) {
            var x = document.getElementById(sectionId);
            if (x.style.display === "none") {
                x.style.display = "block";
            } else {
                x.style.display = "none";
            }
        }
    </script>

</body>

</html>