Differences

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

Link to this comparison view

pm:prj2026:bianca.popa1106:matei.belciug [2026/05/25 11:03]
matei.belciug
pm:prj2026:bianca.popa1106:matei.belciug [2026/05/25 15:38] (current)
matei.belciug
Line 151: Line 151:
 ===== Software Design ===== ===== Software Design =====
  
 +For the implementation of the arduino and esp code, Arduino IDE was used. For the implementation of the phone application,​ kodular.io was used.
  
-<note tip> +==== The phone app ==== 
-Descrierea codului aplicaţiei ​(firmware): + 
-  * mediu de dezvoltare ​(if any) (e.g. AVR StudioCodeVisionAVR) +The first screen presents the user with 4 buttons: create image, load image, connect to device and upload. 
-  * librării şi surse 3rd-party (e.gProcyon AVRlib) + 
-  * algoritmi şi structuri pe care plănuiţi să le implementaţi +The first button lets the user create a drawing on a 32x32 grid, the user has access to different colours, zooming, scrolling, an eraser, a save button that offers persistent storage on the device, renaming option ​(after saving for the first timeand the option to return back. As the user returns back to the main menu, the newly created image will be uploaded there. 
-  ​* ​(etapa 3surse şi funcţii implementate + 
-</​note>​+Alternatively the user can also select the load save button which takes them to a screen that displays the saves previously made, in a chronological order and a search bar. After the user selects a save they are prompted to either delete, rename or load it as they please. Similarly to the save screen, after the user chooses to load one, the file will appear in the main menu. 
 + 
 +The connect button shows a list of possible devices to connect to and the user may select whichever they want to connect to. After a successful connection, the name of the connection will be displayed in the main menu as well to indicate that the connection is stable. 
 + 
 +Last but not least, if the user's app is connected to a device and the user selected a picture, pressing upload will send the picture to the desired destination via WIFI. 
 + 
 +==== The base Arduino code ==== 
 + 
 +This code acts as the central controller for the project'​s stationary base, managing the power delivery and the user interface. 
 + 
 +Key Functions
 + 
 +Battery Monitoring ​(ADC): The code reads the analog signal from a voltage divider connected to the 7.4V battery pack. It converts this signal into a human-readable voltage value (e.g., ​8.2Vand displays it on the first line of the LCD. This allows the user to monitor battery health in real-time. 
 + 
 +Manual Speed Selection ​(ADC): The code monitors the position of the slide potentiometerIt divides the slider'​s physical travel into four equal segments, representing "Speed 1" through "Speed 4." 
 + 
 +Motor Power Regulation ​(PWM): Based on the selected speed level, the Arduino generates a Pulse Width Modulation (PWM) signal on Pin 9. This signal controls the MOSFET, which acts as a high-speed switch to regulate the motor'​s rotation. The code is calibrated so that "Speed 4" provides just enough power to reach the target of 2400 RPM without overstressing the 3D-printed arm. 
 + 
 +Visual Feedback (I2C): On the second line of the LCD, the code displays the current speed level (1–4) and a visual progress bar. It uses the I2C communication protocol to send this data to the display using only two wires, keeping the wiring clean.
  
 ===== Results ===== ===== Results =====
 +
 +As the project'​s physical implementation could not be completed in time, unfortunately there is not much to say about the results it achieved, however by all indications of the parts that were completed in time, the project would make for an interesting display piece or decoration.
  
 ===== Conclusions ===== ===== Conclusions =====
  
-In order to scale up this project a paradigm shift is needed when it comes to the arm design, because for achieving a bigger size better balance is required, and for better balance some components that are now placed on the arm have to be moved off of it and connected to it through a slip ring. Another difficulty comes from the material used for the arm itself, as it needs to be both heat resistant and very strong to withstand the high rpm, especially at the end of the arm where the force applied to it is strongest. Lastly ​+In order to scale up this project a paradigm shift is needed when it comes to the arm design, because for achieving a bigger size better balance is required, and for better balance some components that are now placed on the arm have to be moved off of it and connected to it through a slip ring. Another difficulty comes from the material used for the arm itself, as it needs to be both heat resistant and very strong to withstand the high rpm, especially at the end of the arm where the force applied to it is strongest. Lastly ​a smarter charging mechanism would be using some pogo pins for charging the arm from the base, this way the user does not have to worry about loading 2 different components for the device to work.
  
 As for the project concept, it requires a balanced amount of effort in electrical design, physics, software and 3D design, making it an interesting and perfect engineering task because it tests the wide range of skills an engineer needs. As for the project concept, it requires a balanced amount of effort in electrical design, physics, software and 3D design, making it an interesting and perfect engineering task because it tests the wide range of skills an engineer needs.
pm/prj2026/bianca.popa1106/matei.belciug.1779696210.txt.gz · Last modified: 2026/05/25 11:03 by matei.belciug
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