Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2025:eradu:stefan.ungureanu03 [2025/05/21 20:52]
stefan.ungureanu03 Added information regarding the timer and interrupt used for the timeout.
pm:prj2025:eradu:stefan.ungureanu03 [2025/05/29 19:03] (current)
stefan.ungureanu03 Added final demo video.
Line 9: Line 9:
 {{ :​pm:​prj2025:​eradu:​stefan.ungureanu03:​untitled_diagram.drawio.png?​700 |}} {{ :​pm:​prj2025:​eradu:​stefan.ungureanu03:​untitled_diagram.drawio.png?​700 |}}
  
-Initially, the box is in the CLOSED ​state, where the motor isn't being acted uponit'​s ​display has the "CLOSED" text, IP address and the box is considered ​closed+Initially, the box is in the OPEN state, where the servo is at a 90 degree anglethe display has the "OPENED" text, IP address and the box is considered ​opened(lid up)
-After the user presses the button on the page, the box plays a sound, the motor activates to lift up the cover of the box and the displayed message changes to "OPENED". A second message ​will revert to the initial state.+After the user presses the button on the page, the box plays a sound, the motor activates to push down the cover of the box and the displayed message changes to "CLOSED". A toggle ​will revert to the initial state.
  
 ===== Hardware Design ===== ===== Hardware Design =====
Line 24: Line 24:
    * **Accumulator 3,7V - 5000 mAh**    * **Accumulator 3,7V - 5000 mAh**
    * **Cardboard**    * **Cardboard**
-   * **Sticks** +   * **Sticks/something to fuse the servo with the lid** 
-   * **Glue**+   * **Glue ​tape**
  
 {{ :​pm:​prj2025:​eradu:​stefan.ungureanu03:​schema_v5.png?​700 |}} {{ :​pm:​prj2025:​eradu:​stefan.ungureanu03:​schema_v5.png?​700 |}}
Line 47: Line 47:
    * **Servomotor:​ Used with PWM at pin GPIO23 to lift the lid. Uses at most 500 mA but only when acted upon.**    * **Servomotor:​ Used with PWM at pin GPIO23 to lift the lid. Uses at most 500 mA but only when acted upon.**
    * **Display: Shows the IP of the server and also the state of the box. SDA is connected to GPIO21 and SCL TO GPIO22. Low power, uses less than 50 mA.**    * **Display: Shows the IP of the server and also the state of the box. SDA is connected to GPIO21 and SCL TO GPIO22. Low power, uses less than 50 mA.**
-   * **Active buzzer: Makes sound when the box is transitioning to the open state, connected to GPIO14 (any pin that can be set from low to high would do). Uses around 50mA.**+   * **Active buzzer: Makes sound when the box is transitioning to the open state and back, connected to GPIO14 (any pin that can be set from low to high would do). Uses around 50mA.**
    * **Battery: Supplies the whole circuit. Has enough power so that the servo can function multiple times. It's also very efficient in the idle state, as only the display and microcontroller are active most of the time.**    * **Battery: Supplies the whole circuit. Has enough power so that the servo can function multiple times. It's also very efficient in the idle state, as only the display and microcontroller are active most of the time.**
  
Line 86: Line 86:
  
 ==== Labs used ==== ==== Labs used ====
-    *GPIO - For buzzers and most connections+    *GPIO - For buzzer
  
     *UART - Testing and for making sure board is actually connecting + displaying the correct IP     *UART - Testing and for making sure board is actually connecting + displaying the correct IP
Line 125: Line 125:
     *Single Button Toggle – one endpoint and function for toggling lock state     *Single Button Toggle – one endpoint and function for toggling lock state
  
-===== Rezultate Obţinute ​=====+===== Demo ===== 
 +<​html><​iframe width="​560"​ height="​315"​ src="​https://​www.youtube.com/​embed/​hsLbZObhrM0?​si=66_ZbxzMmTviumGV"​ title="​YouTube video player"​ frameborder="​0"​ allow="​accelerometer;​ autoplay; clipboard-write;​ encrypted-media;​ gyroscope; picture-in-picture;​ web-share"​ referrerpolicy="​strict-origin-when-cross-origin"​ allowfullscreen></​iframe></​html>​
  
-<note tip> 
-Care au fost rezultatele obţinute în urma realizării proiectului vostru. 
-</​note>​ 
- 
-===== Concluzii ===== 
- 
-===== Download ===== 
- 
-<note warning> 
-O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectului:​ surse, scheme, etc. Un fişier README, un ChangeLog, un script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-). 
- 
-Fişierele se încarcă pe wiki folosind facilitatea **Add Images or other files**. Namespace-ul în care se încarcă fişierele este de tipul **:​pm:​prj20??:​c?​** sau **:​pm:​prj20??:​c?:​nume_student** (dacă este cazul). **Exemplu:​** Dumitru Alin, 331CC -> **:​pm:​prj2009:​cc:​dumitru_alin**. 
-</​note>​ 
- 
-===== Jurnal ===== 
- 
-<note tip> 
-Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. 
-</​note>​ 
  
 ===== Resources ===== ===== Resources =====
Line 169: Line 151:
  
 https://​esp32io.com/​tutorials/​how-to-power-esp32 -- very important read in case you want to power the board and the components with different sources https://​esp32io.com/​tutorials/​how-to-power-esp32 -- very important read in case you want to power the board and the components with different sources
- 
- 
-<​note>​ 
-Listă cu documente, datasheet-uri,​ resurse Internet folosite, eventual grupate pe **Resurse Software** şi **Resurse Hardware**. 
-</​note>​ 
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
  
pm/prj2025/eradu/stefan.ungureanu03.1747849957.txt.gz · Last modified: 2025/05/21 20:52 by stefan.ungureanu03
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0