cover photo

COURSEWORK

Jeff's CL-CY-001 course work. Lv 2

Jeff Jacob JohnAUTHORACTIVE

Common Tasks Report - Level 0

3 / 1 / 2024


1. Task 2: API

What is an API?
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. Their API documentation contains information on how developers are to structure those requests and responses.

How do APIs work?
API architecture is usually explained in terms of client and server. The application sending the request is called the client, and the application sending the response is called the server. So in the weather example, the bureau’s weather database is the server, and the mobile app is the client.


2024-01-02 (2) 2024-01-02 (3)

Link: https://github.com/JeffJohn424/Weather-API/blob/main/index.html

  1. The api key is taken from openweather.org website
  2. The api is called to display the info. The api key is entered in the index.js code

2. Task 3: Kaggle Contest

  1. I first downloaded the dataset from kaggle.
  2. I implemented the task on Jupyter Notebook. Imported panda package in python.
  3. The factors that led to some people surviving the shipwreck could be gender, wealth etc.
  4. I was able to predict the survivors with an accuracy of 0.76 (out of 1).
    Pictures: 2024-01-07 (9)

2024-01-07

2024-01-07 (3)

2024-01-07 (4)

3. Task 9: Tinkercad

Created a tinkercad account, got familiar with the website. Made an ultrasonic/infrared sensors, estimate the distance between an obstacle and the sensor and displayed the results on a LCD screen. Learnt basics about the arduino code. 2024-01-07 (10)

4. Task 10: Speed Control Of DC Motor

Understood how to control DC motors using the L298N motor driver and the Arduino board. Using an UNO and H-Bridge L298N motor driver, controlled the speed of a 5V BO motor and first simulated on tinker cad and later done physically. Link to video: https://github.com/JeffJohn424/Kaggle/assets/118456282/e1d61c5b-12da-4a82-a7a9-6a095a107cba

5. Task 11: LED Toggle Using ESP32

ESP32 is a low cost, low power-system microcontroller that comes with in-built wifi and bluetooth connectivity. Understood the working of an esp32. Used a stand-alone web server that controls(on/off) the LED lights. Arduino IDE is used to write the code which is uploaded to the ESP32. Necessary password and ssid changes are made to the code.
Different Cases: s1on-s2off s1off-s2on s1on-s2on s1off-s2off

6. Task 12: Soldering Pre-requisites

Learnt about the soldering equipment present in our lab, the solder, the soldering iron, soldering flux, etc and performed basic soldering on a circuit board LED and resistor circuit. Link to video:https://github.com/JeffJohn424/Kaggle/assets/118456282/d12fb698-03a0-45fc-9064-dd3768f52878

7. Task 14: Karnaugh Maps and Deriving the logic circuit

I first used the truth table for this task to analyse how the circuit should work. Then the simulation was performed on tinkercad. WhatsApp Image 2024-01-07 at 23 35 07

Link: https://www.tinkercad.com/things/0gmWRnSsjXU-burglar-alarm-using-kmaps/editel?returnTo=%2Fdashboard

8. Task 15: Active Participation

I took part in code fury6.0 that happened last year in our college. It required us to develop a website. I had no idea about web dev. But the event was an eye opener for me. WhatsApp Image 2024-01-07 at 23 44 20

9. Task 6:Working with Pandas and Matplotlib:

Pandas and Matplotlib are two packages that are used in python programming. Pandas is used to analyse datasets and matplotlib helps in visualizing the data using graphs. I used three different datasets to plot line graph, bar graph, scatter plot.

import matplotlib.pyplot as plt
import numpy as np

Line Graph
2024-01-08 (3)
Bar Graph
2024-01-08 (2) Scatter Plot Graph
2024-01-08 (4)

10. Task 8: Writing Resource Article using Markdown

I used basic formatting styles like bold, italics, adding image etc. in markdown language to create an article on WEB3.0

Link to article: https://github.com/JeffJohn424/Resource_article/blob/main/README.md

11. Task 1: 3D Printing

3D Printers:
3D printers are devices that create three-dimensional objects by depositing material layer by layer based on a digital model. The basic operation involves slicing a 3D model into thin layers and then gradually building the physical object by adding these layers on top of each other.

Slicer:
Slicer translates 3D models into a series of instructions (G-code) that the 3D printer can understand and execute.

STL File:
STL (Standard Triangle Language or Stereolithography) is a file format widely used in 3D printing. It represents the surface geometry of a 3D object using a collection of triangular facets.

G-code File
G-code is a programming language used in 3D printing. G-code instructions control the movements and operations of machines, specifying toolpaths and parameters.

Bed Temperature:
The temperature of the print bed or build platform, which helps in the first layer adhesion and overall print stability.
06msR0ZNV3Oc2GfpqCu9AcT-14 v1632927607

UVCE,
K. R Circle,
Bengaluru 01