Commit 2e0ef612 authored by Tejswini Chaudhari's avatar Tejswini Chaudhari

changes

parent 95974429
Pipeline #180401 passed with stage
in 22 seconds
......@@ -70,6 +70,7 @@
<li><a href="./ass2.html">Assignment 2</a></li>
<li><a href="./final.html">Final project</a></li>
</ul>
</nav>
<!-- #nav-menu-container -->
......@@ -93,6 +94,7 @@
<div align="center" style="border:4px white">
<p></p>
<h2 align="left" style="color: indigo"> &#9830 Week 1 :-</h2>
<ul>
<h4 align="left">This week was stressful but quite interesting. Because of we all-new for everything like template selection,
......
......@@ -94,7 +94,7 @@
<h1> Networking and communication</h1>
</h2>
<div align="center" style="border:4px solid blue">
<div align="center" style="border:4px white">
<p></p>
<h2>&#9830 Week-14 <b>:</b></h2>
<p></p>
......
......@@ -56,12 +56,14 @@
<!-- Header -->
<header id="header">
<div class="container">
<div id="logo" class="pull-left">
<div id="logo" class="pull-left">
<a href="http://vigyanashram.com/Default.aspx"><img src="ass1/logo-nav.png" alt="" title="" </img></a>
<!-- Uncomment below if you prefer to use a text image -->
<!--<h1><a href="#hero">Bell</a></h1>-->
</div>
<nav id="nav-menu-container">
<ul class="nav-menu">
......@@ -89,7 +91,7 @@
<h1 style="color: #1E90FF">Solar Automatic Shredder</h1>
</h2>
<div align="center" style="border:4px white">
<div align="center" style="border:4px white">
<p></p>
......@@ -280,7 +282,7 @@ For blades in hopper which will convey the material towards cutting section I wi
<p></p>
<img class="" src="./ass1/com.png" alt="Week1-2">
<p></p>
<h3 align="left" style="color: indigo"> ► Final project schematic: -</h3>
<h3 align="left" style="color: indigo"> ► Final project design in "Eagle": -</h3>
<p></p>
<p align="left"> in my final project electronics, I have to on/off the motor on the basis of "BH1750" lux readings. Hence in my previous board I have used attiny44 as my programmer IC. But while programming it won't work therefore I have shifted to "Atmega328p" microcontroller. Below is the schematic of "Attiny 44". </p>
<p></p>
......@@ -361,7 +363,59 @@ For blades in hopper which will convey the material towards cutting section I wi
<p></p>
<h3 align="left" style="color: indigo"> ► Final stuffing of electronics: -</h3>
<img class="" src="./ass1/las1.jpg" alt="Week1-2">
<p></p>
<h3 align="left" style="color: indigo"> ► Final project code : - </h3>
<p></p>
<div style="background-color:#e4f3f2; width:80%; display: inline-block" align="left"><pre><code class="lang-cpp">
<pre>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font color="#434f54">&#47;&#47;Created by : Tejswini Chaudhari</font>
<font color="#434f54">&#47;&#47;DC motor with "BH1750"</font>
<font color="#434f54">&#47;&#47;Fri 28 08 2020</font>
<font color="#5e6d03">#include</font> <<b><font color="#d35400">Wire</font></b>.h>
<font color="#5e6d03">#include</font> <<b><font color="#d35400">BH1750</font></b>.h>
<b><font color="#d35400">BH1750</font></b> <b>lightMeter(0x23);</b>
<font color="#00979c">int</font> <b>Lux;</b>
<font color="#00979c">char</font> <b>Incoming_value = 0;</b>
<font color="#00979c">void</font> <font color="#5e6d03">setup</font>()
{
<b><font color="#d35400">pinMode</font></b>(<b>13,</b> <font color="#00979c">OUTPUT</font>);
<b><font color="#d35400">Serial.begin</font></b><b>(9600);</b>
<b><font color="#d35400">Serial.println</font></b>(<font color="#00979c">"Running..."</font>);
<b>lightMeter.</b><b><font color="#d35400">begin</font></b>();
<b><font color="#d35400">Serial.println</font></b>(<font color="#00979c">"Running..."</font>);
}
<font color="#00979c">void</font> <font color="#5e6d03">loop</font>()
{
<font color="#00979c">uint16_t</font><b> lux = lightMeter.</b><b><font color="#d35400">readLightLevel</font></b>();
<b><font color="#d35400">Serial.print</font></b>(<font color="#00979c">"Light: "</font>);
<b><font color="#d35400">Serial.print</font></b><b>(lux);</b>
<b><font color="#d35400">Serial.println</font></b>(<font color="#00979c">" lx"</font>);
<b><font color="#d35400">Serial.write</font></b><b>(Lux);</b> //for processing
<b><font color="#d35400">delay</font></b><b>(1000);</b>
<font color="#5e6d03">if</font>(<b><font color="#d35400">Serial.available</font></b><b>() > 0)</b>
{
<b>Incoming_value = </b><b><font color="#d35400">Serial.read</font></b><b>();</b>
<b><font color="#d35400">Serial.print</font></b> <b>(Incoming_value);</b>
<b><font color="#d35400">Serial.print</font></b> (<font color="#00979c">"\n"</font>);
<b><font color="#d35400">Serial.print</font></b> (<font color="#00979c">"LUX VALUE:"</font>);
<b><font color="#d35400">Serial.print</font></b> <b>(lux);</b>
//Serial.print ("%");
<font color="#5e6d03">if</font> <b>(Incoming_value == </b><font color="#00979c">'0'</font>)
<b><font color="#d35400">digitalWrite</font></b>(<b>13,</b><font color="#00979c">HIGH</font>);
<font color="#5e6d03">else if</font><b>(Incoming_value == </b><font color="#00979c">'1'</font>)
<b><font color="#d35400">digitalWrite</font></b> (<b>13,</b> <font color="#00979c">LOW</font>);
}
}
</code></pre></div>
<p></p>
<h3 align="left" style="color: indigo"> &#9830 Mechanical System : - </h3>
......
......@@ -82,7 +82,16 @@
<!-- Uncomment below if you prefer to use a text image -->
<!--<h1><a href="#hero">Bell</a></h1>-->
</div>
<div id="logo" class="pull-left">
<a href="http://vigyanashram.com/Default.aspx"><img src="ass1/logo-nav.png" alt="" title="" </img></a>
<!-- Uncomment below if you prefer to use a text image -->
<!--<h1><a href="#hero">Bell</a></h1>-->
</div>
<nav class="nav social-nav pull-right d-none d-lg-inline">
<a href="http://vigyanashram.com/Default.aspx"><img src="img/logo-nav.png" alt="" title="" </img></a>
</nav>
<nav id="nav-menu-container">
<ul class="nav-menu">
<li><a href="#about">About Me</a></li>
......@@ -108,7 +117,8 @@
<section class="about" id="about">
<div class="container text-center">
<h2>
<img alt="Bell - A perfect theme" class="gadgets-img hidden-md-down" src="img/gadgets.jpg" width="300" height="350">
<h2>
Hello ! I am Tejswini Chaudhari.
</h2>
......@@ -125,26 +135,27 @@
<div class="row stats-row">
<div class="stats-col text-center col-md-3 col-sm-6">
<div class="circle">
<span class="stats-no" data-toggle="counter-up">30</span> Website designing tools
<div class="circle">
<span class="stats-no" >100/<span data-toggle="counter-up">30</span></span> Website designing tools
</div>
</div>
<div class="stats-col text-center col-md-3 col-sm-6">
<div class="circle">
<span class="stats-no" data-toggle="counter-up">25</span> CAD designing
<span class="stats-no">100/<span data-toggle="counter-up">25</span></span> CAD designing
</div>
</div>
<div class="stats-col text-center col-md-3 col-sm-6">
<div class="circle">
<span class="stats-no" data-toggle="counter-up">10</span> Electronic production
<span class="stats-no">100/<span data-toggle="counter-up">10</span></span> Electronic production
</div>
</div>
<div class="stats-col text-center col-md-3 col-sm-6">
<div class="circle">
<span class="stats-no" data-toggle="counter-up">5</span> Digital fabrication
<span class="stats-no">100/<span data-toggle="counter-up">5</span></span> Digital fabrication
</div>
</div>
</div>
......@@ -153,10 +164,7 @@
<!-- /About -->
<!-- Parallax -->
<div class="block bg-primary block-pd-lg block-bg-overlay text-center" data-bg-img="img/parallax-bg.jpg" data-settings='{"stellar-background-ratio": 0.6}' data-toggle="parallax-bg">
<img alt="Bell - A perfect theme" class="gadgets-img hidden-md-down" src="img/gadgets.png">
</div>
<!-- /Parallax -->
<!-- Features -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment