Table of Contents

Objectives Group Assignment Individual Assignment

Week 14: Interface & Application Programming

Objectives

Group Assignment

Individual Assignment

Training

Using Java Script to perform Document Object Model (DOM) Maniupulation

First our instructor, Midlaj helped us undertand how to use Javascript. I learnt to use document.getElementById and .addEventListener able to use Java script to use buttons and for updating text in real time as shown here


                                <!DOCTYPE html>
                                <html lang="en">
                                <head>
                                    <meta charset="UTF-8">
                                    <meta name="viewport" content="width=device-width, initial-scale=1.0">
                                    <title>Document
                                </head>
                                <body>
                                    <h1>My name is 
                                    <p id="Hello">

<input id="type" placeholder="Enter your name"> <button id="button">Click Here <script> const button = document.getElementById('button'); const type = document.getElementById('type'); const Hello = document.getElementById('Hello'); const name= document.getElementById('name'); button.addEventListener('click', function(Clicktext){ Hello.textContent='Hello There'; }); type.addEventListener('input', function(Update){ name.textContent=type.value; const nameLen = name.textContent.length; if (nameLen>=5 && nameLen<=10){ name.style.color="red"; } else if (nameLen>10){ name.style.color="blue"; } else{ name.style.color="black"; } }) </script> </body> </html>

To speed up my process of learning, I used the help of ChatGPT

Connecting to ESP32 via Web Serial

Using the Sensor

Pinouts and how to use it

Pinout of output sensor

Designing the Output Device

Designed Board Schematic

Document any new features

Schematic

Document any new features

Schematic

PCB Designing

Document any new features

PCBDesign

Making the PCB

Assembled Board

Milling

Bill of Materials

Soldering

Verification

HeroShot showing various verification steps

Using the Microscope

Using the Benchtop Power Supply

Safety

Programming

Program 1:

Conclusion

Mistakes & Solutions

Add Mistakes only in Mistakes and Solutions section to avoid break in flow

References

References to help reader understand in detail

Look at previous year documentation

Design Files

Click here to access the design files