Skip to content
Snippets Groups Projects
Commit 925a14e9 authored by Sara Al Hadhrami's avatar Sara Al Hadhrami
Browse files

update

parent ca6af6c5
No related branches found
No related tags found
No related merge requests found
Pipeline #262337 passed
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
[1217/133812.056:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1217/223211.743:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1218/123944.105:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1219/115014.331:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1219/121852.821:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1219/164734.548:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1222/193443.302:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1223/195050.420:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1224/174336.272:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1226/205929.942:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1227/132723.105:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1229/214327.404:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0114/113053.876:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0115/191616.473:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0120/141645.723:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0120/162104.202:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0120/174457.914:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0120/181629.444:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0120/192500.768:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0121/141225.479:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0123/212418.731:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0123/225315.151:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0123/231050.168:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0124/003216.024:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0124/111638.409:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0124/201257.995:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0125/135848.349:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0127/161016.166:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
<!DOCTYPE html>
<html lang="en">
<head>
<img src="assets/img/about/back1.jpg" alt="Trulli" width="100%">
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 80%;
margin-left: auto;
margin-right: auto;
}
td, th {
border: 1px solid #dddddd;
text-align: center;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Sara Alhadhrami Website - FabLab Academy</title>
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
<!-- Font Awesome icons (free version)-->
<script src="https://use.fontawesome.com/releases/v5.15.1/js/all.js" crossorigin="anonymous"></script>
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700" rel="stylesheet" type="text/css" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body id="page-top">
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-dark fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand js-scroll-trigger" href="index.html#page-top"><img src="assets/img/logos/home.jpg" alt="" /></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars ml-1"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav text-uppercase ml-auto">
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="index.html#services">About</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="index.html#portfolio">Assignments</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="week1.html">Final Project</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="index.html#footer">Contact</a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#team"></a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#contact"></a></li>
</ul>
</div>
</div>
</nav>
<!-- Services-->
<section class="page-section" id="services">
<div class="container">
<div class="text-center">
<h2 class="section-heading text-uppercase">Final Project </h2>
<h3>Smart Doorbell</h3>
<br>
<p>A smart doorbell that sense the existence of a person automatically and generates the doorbell sound. This project will consists of two units. One unit will be outside home to sense objects and transmit signals through wireless communication to the inside home unit to generate the bell sound immediatly as it receives the signal. </p>
<img src="presentation.png" width="60%"> <br> <br>
<video width="60%" controls>
<source src="presentation.mp4">
</video
<br>
<br> <hr> <br>
<h3>1. Outdoor Unit</h3>
<br>
<h5> This unit consists of: </h5>
<b> 1. ESP32CAM microcontroller (as MCU) in a PCB<br>
2. Ultrasonic sensor <br>
3. Slide Switch <br>
4. 3.5mm Screw Terminal <br>
5. 2x 8 Pin Female Header <br>
6. FTDI Header <br>
7. 2500mAh Lithium Ion (LiPo) Battery <br>
8. 5V Boost for Lithium Battery JX-887YDC Boost Converter <br>
9. Neopixle LEDs strip </b>
<br> <br>
<h3> Packaging </h3>
<br>
<h4> 3D Design</h4>
<p> I used Autodesk Fusion360 to design the packaging of this unit. I saved the design in two ways, one to be cut by the Laser Cutting Machine and one to be printed by a 3D printer. </p>
<br>
<b>Design for Laser Cutting</b> <br>
<img src="assets/img/final/outdoorunit_design1.jpg" alt="Trulli" width="450" >
<br> <br> <br>
<b>Design for 3D Printing </b> <br>
<img src="assets/img/final/3d-design.png" alt="Trulli" width="450" >
<br> <br>
<h4> 3D Printing </h4>
<p> I used blue PLA/PHA material and printed in the Ultimaker Extended 3D printer </p>
<p>Settings: </p>
<img src="assets/img/final/settings.png" alt="Trulli" width="350" >
<img src="assets/img/final/settings2.png" alt="Trulli" width="350" >
<br> <br>
<img src="assets/img/final/3d_printed.jpg" alt="Trulli" width="450" >
<br> <br>
<img src="assets/img/final/3d.jpg" alt="Trulli" width="450" >
<br> <br>
<p>The following video shows how the project works after assymbling the 3D body with the electronics part and the top acrylic board. </p>
<br> <br>
<h4> Laser Cutting </h4>
<p>I used 3mm White Coated MDF material. And I used the default settings of this material in the Universal Laser Systems Machine</p>
<img src="assets/img/final/laser_settings.jpg" alt="Trulli" width="700" >
<br> <br>
<img src="assets/img/final/laser.jpg" alt="Trulli" width="400" >
<br> <br>
<img src="assets/img/final/packaging.jpg" alt="Trulli" width="400" >
<br> <br>
<img src="assets/img/final/packaging2.jpg" alt="Trulli" width="400" >
<br> <br>
<p>I covered it with a black 3mm acrylic </p> <img src="assets/img/final/cover.jpg" alt="Trulli" width="400" >
<br> <br>
<h6>Resin Art </h6>
<iframe width="560" height="315" src="https://www.youtube.com/embed/WhhL_n3V7tY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <br> <br>
<img src="assets/img/final/final_resin.jpg" width="50%" >
<br> <br>
<p>I used this tool I have at home to unwnted remove resin </p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/rZDakq7uc9I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<br> <br>
<img src="assets/img/final/mydoorbell.jpg" width="30%" >
<br> <hr> <br>
<br> <br> <br>
<h4>Electronics </h4>
<p> I used <b> Autodesk Eagle </b>to design Printed Circuit Board of this unit. </p>
<img src="assets/img/final/unit1_schematic.png" alt="Trulli" width="700" >
<img src="assets/img/final/unit1_board.png" alt="Trulli" width="400" >
<br> <br>
<p> I made the distance between the 8 pin female headers 23.57mm because this is the distance between the pins of the ESP32CAM </p>
<br>
<p> I used milling machine to mill the board then I soldered the components</p>
<img src="assets/img/final/outdoor_pcb.jpg" alt="Trulli" width="400" >
<br> <br>
<p> While removing the board, I cut one of the VCC traces. Then I fixed it by using a wire.</p>
<img src="assets/img/final/fixing_outdoor_pcb.jpg" alt="Trulli" width="400" >
<br> <br>
<img src="assets/img/final/final_outdoor_pcb.jpg" alt="Trulli" width="400" >
<br> <br>
<p>The PCB connected with the battery and the boost converter. </p>
<img src="assets/img/final/electronics.jpg" alt="Trulli" width="400" >
<br> <br>
<br> <br>
<h4>Testing</h4>
<br>
<p> <b>Ultrasonic Sensor</b> has been tested in <a href="week11.html">Input Devices </a>week </p>
<img src="assets/img/week11/sensor.jpeg" alt="Trulli" width="400">
<img src="assets/img/portfolio/inputdevices.jpg" alt="Trulli" width="400">
<br> <br>
<b>ESP32CAM</b>
<br>
<p> I used the example code in Arduino IDE software to test the camera. </p>
<img src="assets/img/final/camera_arduino.jpg" alt="Trulli" width="400">
<br> <br>
<img src="assets/img/final/camera_code.png" alt="Trulli" width="500">
<br> <br>
<p> Serial monitor</p>
<img src="assets/img/final/serial_monitor.png" alt="Trulli" width="800">
<br> <br>
<p> I copied the link and put it in the web browser >> Then Start Streaming</p>
<img src="assets/img/final/start_video%20.jpg" alt="Trulli" width="800">
<br> <br>
<h5>Troubleshooting</h5>
<br>
<h6> ESP32CAM </h6>
<br>
<p>- While connecting the esp32 with the pc through the FTDI cabel, the esp becomes very hot, which means that there could be a short circuit either in the board or in the esp32cam. I tested the board alone by using the multimeter and its fine there is no short circuit. Then I tested the esp32cam alone and its fine there is no short circuit. After that I checked them together by connect the esp32cam with the board and using the multimeter to check if there is a short circuit between the vcc and gnd. Yes, there is a short circuit now. <br>
The problem is that the right side of the esp32cam is fliped in the board and I forget to connect the vcc pin at that side.
<br>
I fixed the circuit board from the schematic and I milled a new PCB. </p> <br>
<br> <hr> <br>
<h4> Power </h4>
<p>This unit is powered by Lithium Ion Battery and a 5V boost module for Lithium Battery JX-887Y to convert the 3.8V coming from the battery to 5V to power the ESP32CAM, the Ultrasonic sensor and the Neopixel LEDs. </p> <br>
<b>2500mAh Lithium Ion (LiPo) Battery</b>
<br> <br>
<img src="assets/img/final/battery.jpg" alt="Trulli" width="400">
<br> <br> <br>
<b> 5V Boost Module JX-887Y</b> <br>
<img src="assets/img/final/boost.jpg" alt="Trulli" width="500">
<br> <br>
<br> <hr> <br>
<h4> Wireless Communication </h4>
<p> I used Wireless communication in this project by using Bluetooth in ESP32CAM in the outdoor unit and Bluetooth in indoor unit which is an Android phone and tablet. </p>
<p>In <a href="http://fabacademy.org/2021/labs/uae/students/sara-alhadhrami/week15.html">Interface and Application</a> week I described how I used MIT APP Inventor to design the App that I used in an Android tablet. With the App I connected Bluetooth in the tablet with my smart doorbell. </p>
<br> <hr> <br>
<h4> Programming </h4>
<p> This is the <a href="assets/design/Final_code/Final_code.ino">link</a> of the final code I used to control the ESP32CAM microcontroller with the Ultrasonic sensor and the NeoPixel LEDs plus the Bluetooth communication between the PCB and the App. </p>
<br> <hr> <br>
<h3> Problems Faced: </h3>
<p> I broke the first board</p>
<img src="assets/img/final/board_broken.jpg" alt="Trulli" width="400" >
<img src="assets/img/final/broken.jpg" alt="Trulli" width="350" >
<br> <br>
<p>Then I milled another board. I realized here that I switched between VCC and ECO pins. I fixed that by cutting the traces and solder it again by using wire for the vcc and I soldered the eco trace directly. </p>
<img src="assets/img/final/cut.jpg" alt="Trulli" width="300" >
<img src="assets/img/final/fix.jpg" alt="Trulli" width="450" >
<br> <br>
<p> After that I found another mistake. I reversed the right side of the ESP32CAM header which caused short circuit between VCC and GND. Finally I fixed the design and I milled the board agian. </p>
<br> <br> <br> <hr> <hr> <hr> <br> <br>
<h2> My Future Plan: </h2>
<br>
<h4> Indoor Unit</h4>
<br>
<p>This unit will consists of: <br>
- ATtiny44 <br>
- DC Buzzer <br>
- Hc-05 Bluetooth Module
<br>
</p>
<h5>Electronics </h5>
<p> I used <b> Autodesk Eagle </b>to design Printed Circuit Board of this unit. </p>
<h4>Packaging </h4>
<h5> 3D Design</h5>
<br>
<p> I used Autodesk Fusion360 to design the packaging of this unit. </p>
<br>
<img src="assets/img/final/indoorunit_design1.jpg" alt="Trulli" width="450">
<img src="assets/img/final/indoorunit_design2.jpg" alt="Trulli" width="400">
<img src="assets/img/final/indoorunit_design.jpg" alt="Trulli" width="550">
<br> <br>
<h5> Laser Cutting</h5>
<p> I used 3mm White Coated MDF material. And I used the default settings of this material in the laser cutting machine </p>
<br>
<img src="assets/img/final/laser_settings.jpg" alt="Trulli" width="550">
<br> <br>
<img src="assets/img/final/indoor_packaging1.jpg" alt="Trulli" width="400">
<br> <br>
<h4>Testing</h4>
<br>
<p>Output Device: DC Buzzer <br>
It has been tested in <a href="week13.html">Output Devices </a>week </p>
<img src="assets/img/week13/buzzer.jpg" alt="Trulli" width="250" >
<img src="assets/img/portfolio/outputdevices.jpg" alt="Trulli" width="400" >
<br> <hr> <br>
<h3>Files list: </h3>
<table style="width:90%">
<tr>
<td> Outdoor unit packaging design </td>
<td> <a href="assets/design/Outdoor%20unit%20v103.f3d">Fusion360 File </a> </td>
</tr>
<tr>
<td> Outdoor unit packaging design </td>
<td> <a href="assets/design/Outdoor%20unit%20v106.stl">stl File </a> </td>
</tr>
<tr>
<td> Outdoor unit board </td>
<td> <a href="assets/design/esp32board.brd">Eagle File </a> </td>
</tr>
<tr>
<td> Outdoor unit schematic </td>
<td> <a href="assets/design/esp32board.sch">Eagle File </a> </td>
</tr>
<tr>
<td> Outdoor unit (traces) </td>
<td> <a href="assets/img/final/traces.png">png File </a> </td>
</tr>
<tr>
<td> Final Programming Code </td>
<td> <a href="assets/design/Final_code/Final_code.ino">Arduino IDE File </a> </td>
</tr>
<tr>
<td> Future Indoor unit packaging design </td>
<td> <a href="assets/design/Indoor%20unit%20v49.f3d">Fusion360 File </a> </td>
</tr>
</table>
<br> <br> <br>
<br> <br>
<a class="btn btn-primary" href="index.html#portfolio" type="button">
<i class="fas fa-times mr-1"></i>
Close Project
</a>
<br> <br> <br> <br>
</div>
</div>
<p>
</p>
<!-- Footer-->
<hr>
<footer class="footer py-4">
<div>
<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>.
</div>
<br> <br>
<div class="container">
<div class="row align-items-center">
<div class="col-lg-4 text-lg-left">Copyright © </div>
<div class="col-lg-4 text-align: centre">This template from <a href="https://startbootstrap.com/themes">Bootstrap.com</a> <br> Edited by Sara Alhadhrami 2021</div>
<div class="col-lg-4 text-lg-right">
<a class="mr-3" href="#!"></a>
<a href="#!"></a>
</div>
</div>
</div>
</footer>
<!-- Bootstrap core JS-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Third party plugin JS-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js"></script>
<!-- Contact form JS-->
<script src="assets/mail/jqBootstrapValidation.js"></script>
<script src="assets/mail/contact_me.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment