cover photo

COURSEWORK

Deepthi's EV-RE-001 course work. Lv 2

Deepthi AnandAUTHORACTIVE

DEEPTHI'S GENERAL TASK REPORT

13 / 7 / 2024


Task 1: 3D Printing

I was enthusiastic about starting 3D printing.I mastered the basics of 3D printing,including crucial details of nozzel and bed temperature.The filament material used is PLA(Poly Lactic Acid).The technology used in the printer present in Marvel is SLA (steriolithography). We can find even other technologies like FDM,Polyjet,DLP,MJF,DMLS,SLS and others. I used creality cloud to get STL file of the model and then sliced it to proper dimensions.Then,successfully printed an adorable Pikachu.The picture of print is given below.

Key points:

For PLA

  1. Nozzle Temperature - 180-220°C
  2. Bed Temperature - 55-70°C
  3. First Layer Cooling - NO
  4. Layer Cooling - 100%

My 3D print model

Task 2:API

Initially I learnt about API's and then I created a web weather app using HTML and CSS.I used Open weather API to create this application.This task helped me to get familiarise with HTML and CSS .I faced some problems in activating the API key but then I succeeded in doing it.

weather app Link to github repository for code

Task 3: Working with Github

I created a fork in Spoon-Knife project and then learnt how to clone a fork and cloned it using Gitbash.Then I created my own branch named Deepthianand and then learned to perform some changes in branch.Then I debbuged main.py which was failing test due to "+1" in the code.Then I opened a pull request proposing to fix the issue.

github github Link to github repository

Task 4:Getting familiar with the Command line on Ubuntu

I learnt how command line on ubuntu works.I created a folder named test and created a blank file and listed that file into the folder.Then created 2600 folders in that folder and concatenated 2 text files containing random text and displayed them as shown below.

Commands that I used

  1. mkdir (Make directory)
  2. cd (change directory)
  3. pwd (print working directory)
  4. touch(To create,change and modify timestamps of a file)
  5. ls (list files)
  6. cat (concatenate)

ubuntu

Task 5: Kaggle Contest

I made a kaggle account and I understood the task . I familiarized myself with kaggle.I participated in Titanic ML competition.I used machine learning to create a model that predicts which passengers survived the Titanic shipwreck.The training accuracy of the model I created is 92.26%.And the public score is 0.76555. Link to github repository of the code

Task 6:Working with Pandas and Matplotlib

I used Python's Matplotlib and Pandas libraries to plot line graphs, bar graphs, and scatter plots for a random dataset. This helped me to get familiar with these libraries.The respective plots and their code are as follows.

pandas pandas pandas

Task 7: Portfolio Webpage

I created a responsive portfolio webpage using HTML,CSS and Javascript.This webpage include my intrests such as art,photography and tech.I have also added few pictures of my art and photography. Link to the github repository for code

Task 8: Writing Resource Article using Markdown

I wrote an article on Chandrayan-3,which is a India's lunar exploration mission by ISRO using markdown.Markdown made it easier for me to write this article because of its simplicity. Its straightforward syntax and easy-to-use format allow for a clean and organized presentation. This simplicity not only enhances the writing experience but also ensures the content is accessible and visually appealing to readers.

article Link to resource article

Task 9:Tinkercad

I created my account in tinkercad and got familiarized to design circuits.Then I designed a circuit to estimate distance between an obstacle within range and the sensor using an ultrasonic sensor and simulated it and displayed on serial monitor.The circuit and tinkercad link as follows.

Circuit Theory

A radar system using an ultrasonic sensor and servo motor detects objects by emitting sound waves and measuring the echo time to calculate distance. The servo motor rotates the ultrasonic sensor, allowing it to scan a wider area. This setup provides a simple yet effective method for object detection and ranging within a specified area.

tinker Link to tinkercad simulation

Task 10: Speed Control Of DC Motor

I designed a circuit using UNO,DC Motor and H-Bridge L298N motor driver and simulated it on Tinkercad (Link to Tinkercad simulation).Then I made a hardware circuit using UNO,DC Motor,H-Bridge L298N motor driver and 1k potentiometer and then uploaded the code to UNO and then controlled the DC Motor using potentiometer.

Key Points:

1.Potentiometer : (from left to right) GND (A0) 5v

2.L298n: IN1 IN2 ENA with respectively D8,D9 and D10 From Arduino and the DC motor is in Out1 and Out2

3.The driver is powerd by 9v battery wired with +12v and GND ( don't forget to ground the Arduino too)

4.The ENA here wired with D10 should always be wired with a pin that can deliver PWM signal

DCMOtor Link to github repository for code

Task 11:Led Toggle Using ESP32

First I learnt about ESP32,familiarized myself with breadboard .I followed the circuit and code given in reference in website and uploaded the LED Toggle code into ESP32 using Arduino IDE APP and then got IP address to control LED state.Then I performed LED Toggling.

Components Required

  1. ESP32 development board
  2. 2x 5mm LED
  3. 2x 330 Ohm Resistor
  4. Breadboard
  5. Jumper wires

led

Task 12: Soldering

Learnt about soldering ,how to use solder,soldering iron,soldering wick,flux,etc.Even got to know about desoldering using copper wire.I soldered LED to pref board.Then lighted up led using battery.

Key Points

  • A soldering iron is a hand tool that plugs into a standard 120v AC outlet and heats up in order to melt solder around electrical connections.
  • Solder is a metal alloy material that is melted to create a permanent bond between electrical parts.
  • Soldering flux is mainly used to prepare the metal surfaces before soldering by cleaning and removing any oxides and impurities.
  • To desolder a joint, you will need solder wick which is also known as desoldering braid.

solder

Task 13:555 IC Multivibrator

Got familiarized with IC and several pins of IC and duty cycles in 555 IC.Then built a 555 IC astable Multivibrator circuit for 60% duty cycle .Used capacitors of desired value but due to unavailability of desired resistors ,used nearest resistor and got 56% duty cycle on oscilloscope.

  • The 555 IC can be used to create a free running astable oscillator to continuously produce square wave pulses.
  • The 555 Timer IC can be connected either in its Monostable mode thereby producing a precision timer of a fixed time duration, or in its Bistable mode to produce a flip-flop type switching action. But we can also connect the 555 timer IC in an Astable mode to produce a very stable 555 Oscillator circuit for generating highly accurate free running waveforms whose output frequency can be adjusted by means of an externally connected RC tank circuit consisting of just two resistors and a capacitor.

Components Used

  1. 555 IC Timer
  2. Capacitors (C1 & C2-0.01μF )
  3. Resistors (R1=10kΩ & R2=22kΩ)
  4. VRPS (5V)
  5. Oscilloscope

555 IC Duty Cycle

CIRCUIT

555 ic

Task 14:Karnaugh Maps and Deriving Logic Circuit

I derived the truth table for the given situtaion ,which is given below .Then got to know that it resembeles XOR gate ,derived a K-Map for it and then I designed circuit using XOR gate and buzzer as shown below .The buzzer will activate only when door is open and key pressed or key not pressed and door is close.

tt kmap tinker Link to tinkercad simulation

Task 15:Active Participation

I participated in Kagada 2023 in poster presentation track.It was great experience being a part of Kagada 2023.The certificate is as given below.

cert

Task 16: Datasheets report writing

MQ135 Gas Sensor Report

Introduction

The MQ135 is a gas sensor widely used for detecting a variety of harmful gases, including ammonia, sulfur, benzene, smoke, CO2, and other gases. It operates on the principle of changes in the resistance of the sensing material in response to the presence of gas. The MQ135 sensor is highly sensitive and has a quick response time, making it suitable for a wide range of applications, including air quality monitoring and safety systems.

Specifications

  • Operating Voltage: 5V
  • Current Consumption: 150mA
  • Sensing Resistance: 10kΩ to 60kΩ (Clean Air)
  • Preheat Time: 20 seconds
  • Sensitivity Range: 10 ppm to 1000 ppm (NH3, NOx, Alcohol, Benzene, Smoke, CO2)

Calibration for Different Gases

The calibration process involves exposing the sensor to a known concentration of a particular gas and measuring the output to create a reference point. The sensor's response to various gases can be characterized by its sensitivity curves, which are typically provided in the datasheet.

Calibration Procedure:

  1. Power the Sensor: Connect the sensor to a 5V power supply and let it preheat for the recommended time (typically 24 hours for initial calibration).
  2. Expose to Known Gas Concentration: Place the sensor in an environment with a known concentration of the target gas.
  3. Record the Resistance: Measure the resistance of the sensor (Rs) in the presence of the gas.
  4. Calculate the Ratio: Calculate the ratio of Rs to the resistance in clean air (Ro). This ratio is used to determine the concentration of the gas using the sensitivity curve.

Sensitivity Curves

The sensitivity curves of the MQ135 sensor show the relationship between the gas concentration and the Rs/Ro ratio. Each gas has a distinct curve, which allows for the detection and estimation of its concentration.

Freundlich Absorption Theorem Graph

The Freundlich Absorption Isotherm describes the adsorption of gases on a solid surface, which can be represented by the equation:

x/m = k p^(1/n)

Where:

  • x/m - is the amount of gas adsorbed per unit mass of adsorbent.
  • P - is the pressure of the gas.
  • k - and n are constants that depend on the system.

For the MQ135 sensor, the Freundlich Absorption graph helps in understanding the adsorption properties of the sensing material and its interaction with different gases.

Applications

  • Air Quality Monitors
  • Gas Leak Detectors
  • Industrial Safety Systems
  • Environmental Monitoring
  • Automotive Applications

Conclusion

The MQ135 gas sensor is a versatile and reliable device for detecting a wide range of harmful gases. Its ease of calibration and sensitivity to various gases make it an essential component in safety and environmental monitoring systems.


UVCE,
K. R Circle,
Bengaluru 01