cover photo

COURSEWORK

Nanda's D-P-001 course work. Lv 1

Nanda KishoreAUTHORACTIVE
This Report is yet to be approved by a Coordinator.

Common tasks report

14 / 4 / 2023


Active Participation

NAME: NANDA KISHORE M P(BATCH3)
DATE: 21/03/2023
SLOT: 9:00AM TO 10:00 AM

Description:

For this task, I had enrolled myself to a mooc and got myself certified in a course about Java. I always wanted to get certified in some or other programming language and Sololearn provided me with the best platform and content to learn and to get certified for free. In this course the things i learnt are

  • Basic Java
  • Advanced Java
  • Competitive Programming
  • Basics of eclipse IDE
  • Collections in Java All and all it was a great journey.

GAIN: Learnt programming in Java

[photo]

Karnaugh Maps and Deriving and make a burglar alarm using the logic circuit task

Name: NANDA KISHORE M P(BATCH3)
Date: 21/03/2023
Slot: 9:00AM TO 10:00 AM

Description:
I have used 2 IC' s()

Components used:

  • IC 7486
  • IC 7404
  • Bread board
  • Piezo buzzer
  • 3mm Diameter LEDs
  • Jumper wires(Male only)
  • Sliding switches
  • 1.5V batteries
  • [photo]

Door\tButton \tBuzzer \tLight
0\t0\t0\t1
0\t1\t1\t0
1\t0\t1\t0
1\t1\t0\t1

The Buzzer will buzz when the Door and Button inputs are odd(XOR GATE) and the Light is ON only when the inputs are even(XNOR GATE)

TINKERCAD link for the Circuit:
https://www.tinkercad.com/things/eMFyTUnXzj1-surprising-turing/editel?sharecode=84tw_BDiL2IQjWhBsveQgXPPE5wYTnllWGytxGxlL4Y

DC motor speed control using a microcontroller

Name: NANDA KISHORE M P(BATCH3)
Date: 21/03/2023
Slot: 9:00AM TO 10:00 AM

Description:
In this task i learnt how to control DC motors using Arduino and basic techniques for controlling DC motors using the L298N motor driver.

  • The speed of the DC motor can be controlled by simply controlling the input voltage to the motor and the most common method of doing that is by using PWM (Pulse width modulation) signal.
    • Pulse width modulation is a technique which allows us to adjust the average value of the voltage that’s going to the electronic device by turning on and off the power at a fast rate. The average voltage depends on the duty cycle, or the amount of time the signal is ON versus the amount of time the signal is OFF in a single period of time.
  • For controlling the rotation direction, we just need to inverse the direction of the current flow through the motor, and the most common method of doing that is by using an H-Bridge. An H-Bridge circuit contains four switching elements, transistors or MOSFETs, with the motor at the center forming an H-like configuration. By activating two particular switches at the same time we can change the direction of the current flow, thus change the rotation direction of the motor.

GAIN: Basics of Arduino board and motor driver

Resources:


LED Toggle Using ESP32

GAIN: Learnt how to use Arduino Ide

Description: The thing that I learnt during completion of this task was the working of an ESP32 and learnt how to create a standalone web server with an ESP32 that controls the LED connected with ESP32 GPIOs. The main circuit connection required for this task was performed on a bread board Which was the main platform or back bone for this task. We used two LEDs and two resistors and ESP32 board.

We used the arduino IDE to code and upload the program to the ESP32. Learn to configure the IDE to upload code to an ESP32.


WRITING RESOURCE ARTICLE USING MARKDOWN.

GAIN: Learnt about the Markdown language

Description: Markdown is an easy-to-use markup language that is used with plain text to add formatting elements to plain text without use of a formal text editor or the use of HTML tags. Markdown is device agnostic and displays the writing format consistently across device types. The following are the tags that have been used in the resource article that I have posted on the marvel website-

  1. HEADINGS - #heading 1 ##heading 2 ###heading 3 ####heading 4 and so on…
  2. BOLD TEXT -bold text
  3. ITALICS-italicized text
  4. EMBEDDING IMAGES-(from google drive) image name
  5. UNORDERED LISTS- -list item 1 -list item 2 and so on..
  6. BLOCKQUOTES- >text The resource article has been posted on the marvel website.

Matplotlib and Pandas

GAIN:

Learnt to use python to plot in graphs and analyze DATA

Description: The main aim of this task Using pandas and matplotlib, and a dataset of your choice, plot a line graph, bar graph, and scatter plot.We are gonna use Computer to access the Web Browser to access the Jupyter software.Libraries Functions used for this task are

  1. Pandas : pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series
  2. Matplotlib: Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy. It provides an object-oriented API for embedding plots into applications

Code for line graph: import matplotlib.pyplot as plt

plt.plot(df[\Rank"], df["P75th"]) []

Code for Bar graph: top_medians = df[df["Median"] > 60000].sort_values("Median")

top_medians.plot(x="Major", y=["P25th", "Median", "P75th"], kind="bar")

Code for dot graph: df.plot(x="Median" y="Unemployment_rate" kind="scatter")

Resources:

  1. HC-SR04 Datasheet
  2. https://www.instructables.com/Ultrasonic-Distance-Sensor-Arduino-Tinkercad/

Soldering Prerequisites

Name: NANDA KISHORE M P(BATCH3)\ Date: 21/03/2023\ Slot: 9:00AM TO 10:00 AM\ Task: Soldering Prerequisites

The purpose of soldering is to connect two conducting materials using a filler material, typically an alloy of lead and tin. During the task, Abhilash from Marvel provided guidance on the process to be followed before soldering, such as where and what to solder, and the use of a soldering gun to melt the solder. We were instructed to apply only a small amount of solder near the joint to avoid excess, and in case of any excess, to use copper to remove it due to the principle of electrode potential difference.

Gain: I learnt the art of soldering and desoldering electrical joints or nodes.


TINKERCAD Software: Building a Circuit for Ultrasonic Sensor

Name: NANDA KISHORE M P(BATCH3)\ Date: 21/03/2023\ Slot: 9:00AM TO 10:00 AM\ Task: Using TINKERCAD software to build a circuit for Ultrasonic Sensor

TINKERCAD Software' s circuits section is used for simulating almost all electronics circuits. We can access an Arduino Uno using TINKERCAD Software. An ultrasonic sensor is a device used to measure the distance between the sensor and any point within the range of the sensor. The main principle used in Ultrasonic Sensor is the Time-Distance relationship. Ultrasonic sensors measure distance by sending and receiving ultrasonic waves, with a sender to emit the waves and a receiver to receive them. The transmitted ultrasonic wave travels through the air and gets reflected by hitting the object. The Arduino calculates the time taken by the ultrasonic pulse wave to reach the receiver from the sender.

Gain: I learnt how to use TINKERCAD Software.

Resources:\ GeeksforGeeks: Distance Measurement using Ultrasonic Sensor and Arduino


Command Line Task

Name: NANDA KISHORE M P(BATCH3)\ Date: 21/03/2023\ Slot: 9:00AM TO 10:00 AM\ Task: Command Line Task

The main goal of using the command line for this task is to:

  1. Create a folder named test.
  2. Change directory (cd) into that folder.
  3. Create a blank file without using any text editor.
  4. List the files in that folder.
  5. Create 2600 folders in this folder, where each folder is named like nk0000 or nk2699.
  6. Concatenate two text files containing any random text and display them on the terminal.

The commands or keywords used to complete this task are:

  • mkdir: to make new folders\ Example: mkdir name_folder
  • ls: used to list all the folders and files
  • cd: used to change to some other folder
  • nano: used to edit a file OR
  • vim
  • >: to create a single file
  • touch: used to make multiple files\ Example: touch nk{0001..2600}.c

Gain: I learnt how to use Ubuntu command line

UVCE,
K. R Circle,
Bengaluru 01