cover photo

BLOG · 4/4/2024

Navya Navya
Navya Navya
OP
This Article is yet to be approved by a Coordinator.

COMMOM TASK FINAL REPORT- NAVYA\n\n- - - -\n# TASK 2: API\n- - -\n## What is an API?\n API stands for Application Programming Interface. In the context of APIs, the word Application refers to any software with a distinct function. Interface can be thought of as a contract of service between two applications. This contract defines how the two communicate with each other using requests and responses.\n## Here is a Real Time Weather App using Open Weather API\n- - - \n## Steps of operation:\n1. We make use of the jQuery Plugin for displaying RealTime Weather data: https://github.com/michael-lynch/open-weather\n2. Download and extract all the contents of the folder.\n3. Paste the contents into VSCode and run. code in the cmd prompt.\n4. Open the folder named demo -> index.html\n5. Right-click and open with Live Server\n6. Create a free account in openweathermap.org\n7. Go to API Key and copy the given API key and paste it in the openWeather function.\n8. Make the API more dynamic by pasting the contents in a new function and make it accept the input from the user for name of the city, instead of the default.\n- - - \n ## Working Image of Weather API:\nAlt text \n# TASK 3.Working with GitHub\n- - - -\nThe main branch of this repository has an error and is failing tests. Your job is to open a pull request proposing to fix the issue.\n## Steps Involved:\nclone repository: To clone repository, first click on \n\nfork -> Copy the DEFAULT BRANCH.\n\nNow to clone this, click on the code and copy the URL.\nType git clone, and then paste the URL you copied earlier. It will look like this, with your GitHub username instead of YOUR-USERNAME:\n\n$ git clone https://github.com/< YOUR-USERNAME>/< name of fork>\n\nchecking out to the new branch:\n\ngit branch BRANCH-NAME\ngit checkout BRANCH-NAME\n\nFind the error and fix it.To push the changes:\n\ngit add .\ngit commit -m \a short description of the change\"\n\nTo push changes into remote:\n\ngit push\n\nThe above procedures have been applied to the given git and here is the final fixed git:\nhttps://github.com/UVCE-Marvel/git-task/pull/58\n\n# Task 4: Ubuntu Command Line\n- - - \n## What is Ubuntu?\nUbuntu is a popular free and open-source Linux-based operating system you can use on a computer or virtual private server.\n## Ubuntu Command line subtasks:\nCreate a folder-use command\n\n mdkir < name of folder >\n\ncd into that folder-\n\ncd < name of folder >\n\ncreating a blank file-\n\n touch < name of file>\n\nand ls to list all folders.\n\nCreate 2600 folders in this folder -\n\nmkdir -p a[1..2600]\n\nwhere a is the common name of the folders.\n\nNow list all using ls. Concatenate 2 text files and display -\n\necho \"< text content-1 >\" >> f1\n echo \"< text content-2 >\" >> f2\n cat f1 f2 > f3 \n\n//Creating f3 to store values of f1 and f2\n\ncat f3 - Displays the Output\n\n### Worked example:\nalt text\nalt text\nThe above showcases the last task\n# TASK 7: Create a Portfolio Webpage\n- - - -\nA responsive website using HTML & CSS to showcase my portfolio - about myself , projects, social and more.\nMy Portfolio Website\n( https://github.com/Navyaarunkumar/marvel/tree/main/portfolio )\nalt text\n# TASK 9:Tinker CAD\n- - - -\n## What is TinkerCAD?\n\nTinkercad is an online collection of software tools from Autodesk that enable complete beginners to create 3D models. This CAD software is based on constructive solid geometry (CSG), which allows users to create complex models by combining simpler objects together.\n- - - -\n## Using ultrasonic/infrared sensors, estimate the distance between an obstacle and the sensor and display the results on an LCD screen:\n- - - -\n## Components Used:\n\n1. Arduino Uno R3 board\n2. Ultrasonic sensor (HC-SR04)\n3. 16×2 LCD I2C Display\n4. Jumper Wires.\n- - - -\n### Circuit Diagram :\nalt text\n- - - - - - \n# TASK 10: SPEED Control of DC Motor\n- - - - \n Learning about how a dual H-bridge 293D motor driver works and building a setup by connecting it to the Arduino, Voltage supplier, and DC Motors to control their speed with the help of a Potentiometer.\n- - - - -\n## Components required :\n1. Arduino Uno\n2. Hobbyist DC gear motors\n3. L293D Motor Driver\n4. Jumper Wires\n5. Potentiometer\n6. Voltage Supplier\n7. USB Cable \n- - - - -\nalt text\n- - - - - -\nFurther learning to control the direction of rotation of the DC Motor shaft with the help of a potentiometer by twisting it using a screwdriver. Also, uploading the correct code to the Arduino to get the desired output for direction control of the DC Motor.\n - - - - - -\n# TASK 11: LED Toggle Using ESP32\n- - - - -\nLearn the workings of an ESP32. Use the Arduino IDE to code and upload the program to the ESP32. Learn to configure the IDE to upload code to an ESP32.\n- - - - -\n## Components required:\nESP32 development board – read ESP32 Development Boards Review and Comparison 2x 5mm LED 2x 330 Ohm Resistor Breadboard Jumper wire\n - - - -\n## Steps involved:\n\n1. Using a microcontroller we build an LED web server that controls the working of LED.\n2. We use general input/output pins 26 and 27 and configure them to give the output.\n3. Make sure to ground the ESP32 microcontroller.\n4. The rest of the circuits are made as shown below:\n5. After copying the code given in https://microdigisoft.com/control-leds-using-esp32-web-server-in-arduino-ide/ and uploading it to the Arduino IDE, we modify the code by replacing it with our network credentials.\n6. Plug the esp32 into the computer and follow the instructions on the given resource article (stated above).\nalt text\nalt text\n# TASK 12 : Soldering Prerequisites\n- - - - - -\n## Soldering Equipment:\n1. Soldering Iron: This handheld tool provides the heat source needed to melt the solder. Soldering irons are typically pencil-like in shape and consist of several different parts that work together to form a comfortable, practical and easy-to-use tool.\n\n2. Solder Flux: Solder flux is a purifying agent. Flux serves three different purposes simultaneously. First, it purifies the components you're soldering by cleaning them of any rust. It also closes out any extra air that might come into contact with the material, thus preventing future rust. Finally, it improves the dripping individuality of the solder itself.\n\n3. Perf Board: Perfboards are also called Perforated Circuit Boards, Prototyping Boards, and Dot PCBs. It's basically a bunch of copper pads on circuit board material, usually on one side but the copper pads can be on both sides.\n\n4. Helping Hands: A helping hand is generally a stand with flexible clamps that hold objects in place which leaves you hands free to carry on with your work.\n\n5. Precision Tweezers: Anti-magnetic stainless steel general-purpose tweezers offer precision tip symmetry and balance with good corrosion resistance to most chemicals and acids.\n\n6. Solder: Solder is a fusible metal alloy used to create a permanent bond between metal workpieces. Solder is melted in order to wet the parts of the joint, where it adheres to and connects the pieces after cooling.\n- - - - - -\n## The Soldering Process\nStep 1: If the perf board is full, desolder it by using a desoldering wick.\n\nStep 2: Place the perf board on the helping hand for better precision.\n\nStep 3: Place the required LED on to the perf board, on a side without copper pads.\n\nStep 4: Bend the leads to follow the path you want them to have. Add a bit of solder to both ends of that lead to hold it in place.\n\n- - - - - - -\n## Image of soldered LED on perf Board:\nalt text\n# TASK 13:\n\n Design a 555 astable multivibrator with a duty cycle 60%, rig up the circuit on a breadboard, and by using the probes observe the output of your circuit on the DSO.\n\n\n\n\n\nBasic Astable 555 Oscillator: The 555 IC can function as an astable oscillator to generate continuous square wave pulses. It operates by continuously re-triggering itself, allowing it to function as a free-running oscillator.\n \n\n\n\ncircuit configuration: Connect pins 2 (trigger) and 6 (threshold) together to enable re-triggering for astable operation. The timing resistor from the monostable circuit is split into two resistors, R1 and R2.\n\n\n\nWaveform Generation: During each cycle, the capacitor charges through both R1 and R2 but discharges only through R2. Output waveform voltage level is approximately Vcc−1.5V.\n\n\n\n\nCharge and Discharge Times: Charge time (t1) and discharge time (t2) determine the frequency of oscillations. T=t1+t2, where T is the total periodic time.\n\n\n\nOutput Frequency Equation: f=1/T=1/(t1+t2).\n\n\n\n\n\nDuty Cycle Adjustment: The duty cycle can be adjusted by changing the ratio of resistors R2 to R1. The duty cycle is the ratio of the "ON" time to the "OFF" time.\n\n\n\nalt text\n - - - - \n\n\n\nalt text\n- - - - - \n\n\n\n\n\nSummary\n\nThe 555 IC in astable mode generates stable square wave output. Duty cycle can be adjusted for specific applications. The 50% duty cycle can be achieved by modifying the circuit configuration. Changing resistor and capacitor values alters the oscillation frequency.\n\n- - - -\n# TASK 14:K-Maps and Deriving the Logic Circuit\n- - - - -\n## Working Condition of Burglar system\nLet us assume there are two switches, one for the door and the other for an alarm that they must remember to press. Assume that the door opened as 0 and closed as 1; Assume that the alarm pressed is 1 and not pressed is 0;\n\nOne would naturally assume that the burglar opens the door and forgets to press the alarm. So the underlying logic is that the buzzer must ring when both the door is opened and the alarm is not pressed. i.e., 0 and 0 cases.\nOnly a NOR gate gives the necessary output of 1 when both the inputs are 0.\n - - - -\n## Implementation using TinkerCAD:\n\n1. Take an IC 7432 for the OR gate and an IC 7404 for Inverting and connect them in series to form a NOR gate. Make sure they are not grounded together.\n2. Take 2 slide switches to regulate the input. Give them as input to the OR gate.\n3. Give the Regulated Power Supply and ground all the necessary components.\n4. Connect the output of the entire NOR gate to the Piezo buzzer which gives the required output as a buzzer audio.\n5. In the same fashion, connect an LED for additional safety.\n6. Test out all the input conditions and verify it's working.\n- - - - -\n## TinkerCAD simulation:\nhttps://www.tinkercad.com/things/kMtsPK8Hzbl-navyas-burgler-alarm-?sharecode=JOws2WCbPUB-gaydjKYdQxQDuagTqpedBmoqTpNw47I\n## Circuit Diagram:\nalt text\n# TASK 15-Active Participation\n- - - -\nalt text \nAt the Generation Tech event, we leveraged Moqups to design an innovative app centered around the crucial theme of quality education, aligning with the United Nations' Sustainable Development Goal on education. Our project aimed to address challenges and enhance accessibility, ensuring quality education for all. Through Moqups, we crafted a user-friendly interface that encapsulated our vision for a transformative education


##LEVEL 01


LEVEL 1

introduction module

LEVEL 1

firstly we have to know the basic concepts regarding CAD to do the tasks in Fusion 360

Secondly I applied for an educational license in Autodesk and then downloaded the Fusion 360 folder to do the task


Isometric and orthographic projections

actually in this task by used a mini-drafter and all I tried to sketch a few basic orthographic projections.

orthographic projections

alt text alt text alt text alt text alt text alt text

Isometric projections

alt text

2D Drawings in CAD

In this task, I used Fusion 360 and in the front view, I designed a few designs in the sketcher workspace. with the help of friends and YouTube, I learn how to do 2D drawings. while doing the task I learned many options like mirrors, circular patterns, different types of lines, constraints, etc... a glimpse of a few 2D Designs alt text alt text alt text alt text alt text


LEVEL 2

2D Drafting [SEIRPINSKI TRIANGLE]

Sierpinkski triangle is one

UVCE,
K. R Circle,
Bengaluru 01