cover photo

PROJECT

Ai-Ml common task project

Hema Shenoy.DAUTHORACTIVE
Greeshma SharmaCOORDINATORACTIVE
Ai-Ml common task project
This Report is yet to be approved by a Coordinator.

Common Task Final report - HEMA SHENOY

2 / 1 / 2024


Task 2: API



APIs act as intermediaries that allow different software applications to communicate and share data seamlessly. They define the methods and data formats that applications can use to request and exchange information. APIs can be categorized into different types, including web APIs, library-based APIs, and operating system APIs.

Building a Weather App using OpenWeather API:


Steps:
  • Sign up for an API key from OpenWeather.
  • Identify the API endpoint for the desired functionality (e.g., "current weather").
  • Make API calls from your app using the obtained API key and necessary parameters (e.g., city name).
  • Extract relevant information from the API response.
  • Display the extracted information in your app's user interface.

LINK: https://github.com/HemaShenoy/HemaAIML

weather


TASK 4: Get familiar with the command line on ubuntu and do the following subtasks:

Ubuntu Command line subtasks:

Create a folder - Use command

mdkir < name of folder >

cd into that folder -

cd < name of folder >

Creating a blank file -

touch < name of file>

and ls to list all folders. Create 2600 folders in this folder -
mkdir -p a[1..2600] 

where a is the common name of the folders. Now list all using ls.
Concatente 2 text files and display -
echo "< text content-2 >" >> f2
cat f1 f2 > f3 
//Creating f3 to store values of f1 and f2
cat f3 - Displays the Output 

ubantu

ubantu


TASK 6: Working with Pandas and Matplotlib:



1.Set Up Your Environment.

panda1

2.Create Your First Pandas Plot.
3.Look Under the Hood: Matplotlib.
4.Survey Your Data.
5.Distributions and Histograms.
6.Outliers.
7.Check for Correlation.
8.Analyze Categorical Data.
9.Grouping.
10.Determining Ratios.

panda2

HISTOGRAM panda3histogram

SCATTER PLOT panda4

BAR SLOTS panda5barslot

PIE CHART panda6piechart

panda7


TASK 7: Create a Portfolio Webpage

Creating a portfolio webpage involves several steps, including setting up the project structure, designing the layout, incorporating content, styling with CSS, and deploying it to a Git repository. Below is a simplified guide using HTML, CSS, and Git:
Step 1: Project Setup

  • Create a new directory for your project.
  • Initialize a Git repository.
  • Create necessary files.

Step 2: HTML Structure

Step 3: CSS Styling

Step 4: Git Operations

  • Add all files to the staging area.
  • Commit the changes.
  • Create a new repository on GitHub.
  • Link your local repository to the remote repository on GitHub.
  • Push your code to GitHub.

Step 5: Deployment

  • Go to your GitHub repository.
  • Navigate to the "Settings" tab.
  • Scroll down to the "GitHub Pages" section.
  • Choose the branch you want to deploy (usually the "master" branch).
  • Your portfolio will be accessible at https://.github.io/.

Link: https: //github.com/HemaShenoy/HemaAIML Screenshot (5)


TASK 9: Tinkercad



Components Required:

  • Arduino Uno R3 board
  • Ultrasonic sensor (HC-SR04)
  • 16×2 LCD I2C Display
  • Jumper Wires

Setup:

  • Connect the Echo pin of the sensor to the D2 pin of the Arduino.
  • Connect the Trig pin of the sensor to the D3 pin of the Arduino.
  • Navigate to Tools and select board and port.
  • Verify and compile the code, then upload the code to the Arduino Uno R3 board.
  • Monitor the output in the Serial monitor (Set the baud rate as 9600). To open Serial monitor Tools>Serial Monitor or (Ctrl+Shift+M).

CIRCUIT:
tinkercad1

OUTPUT: tinkercad2


TASK 11: LED Toggle Using ESP32



1)Installing the ESP32 board in Arduino IDE
2)Components Required.
  • ESP32 development board – read ESP32 Development.
  • Boards Review and Comparison.
  • 2x 5mm LED.
  • 2x 330 Ohm Resistor.
  • Breadboard.
  • Jumper wires.

3)Pinout and Schematic
toggle1

4)ESP32 Web Server Code
5)Main Execution Code
6)Uploading the Code
7)Finding the ESP IP Address
8)Accessing the Web Server
9)Testing Results with Web Server
toggle2


TASK 12: Soldering Prerequisites

Soldering is a fundamental skill in electronics, and it's crucial to perform it safely and effectively. Here's a guide to the soldering prerequisites, equipment, and a basic soldering task (LED circuit on a perf board).

Soldering Equipment:

Soldering Iron: The soldering iron is the primary tool used to heat and melt solder. It comes with various tips for different applications.
Solder: Solder is a metal alloy with a low melting point. It is used to create a conductive joint between components.
Soldering Wick: Solder wick (desoldering braid) is used to remove excess solder or unsolder components.
Flux: Flux is a chemical substance that aids in soldering by removing oxidation from the metal surfaces and improving solder flow.
Soldering Stand: A stand to hold the soldering iron when not in use prevents accidents and damage.
Safety Gear: Safety glasses to protect eyes from solder splatter. Adequate ventilation to avoid inhaling solder fumes.

SOILDERING STEPS :

  • Gather components (e.g., LED, resistors, wires) for soldering onto the perf board.
  • Apply a small amount of solder to the iron's tip before use (tinning).
  • Place components on the perf board in the desired arrangement.
  • Apply a small amount of flux to solder joints to enhance soldering.
  • Touch the soldering iron to the joint, heating both the component lead and board pad.
  • Once the joint is hot, touch solder to it; solder should melt and flow smoothly.
  • Remove the iron but keep the joint undisturbed until solder solidifies.
  • Visually inspect for a shiny, smooth appearance; a good joint should be concave, not bulging.
  • Use solder wick to remove excess solder or desolder components if necessary.

soilder1


TASK 13:

     Design a 555 astable multivibrator with duty cycle 60%, rig up the circuit on a breadboard and by using the probes observe the output of your circuit on the DSO.

Basic 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.

Circuit 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.

Waveform 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.

Charge 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.

Output Frequency Equation: f=1/T=1/(t1+t2).

Duty Cycle Adjustment: Duty cycle can be adjusted by changing the ratio of resistors R2 to R1. Duty cycle is the ratio of the "ON" time to the "OFF" time.

Summary

The 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.

task13 1 task13 2


TASK 15: Active Participation:

Enroll for a MOOC and complete the course.

I enrolled for IBM SKILLBUID -Open Source Origin Stories: Adventures in Hybrid Cloud, AI Ethics, and Open Source Technologies and also completed the course. screenshot3



UVCE,
K. R Circle,
Bengaluru 01