Differences

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

Link to this comparison view

pm:prj2022:apredescu:humidity_and_temperature_sensor [2022/06/02 01:43]
alhassan.idrees [Software Design]
pm:prj2022:apredescu:humidity_and_temperature_sensor [2022/06/02 02:11] (current)
alhassan.idrees
Line 31: Line 31:
 For the realization of this project we used as development medium the Arduino IDE program, in which we selected from the Tools menu the motherboard used. Also, to make the connection between the board and the OLED display, I imported from the internet the library "​Adafruit_SSD1306.h",​ and for the correct use of the DHT11 temperature and humidity sensor I included the libraries "​DHT"​ and "​Wire"​. For the realization of this project we used as development medium the Arduino IDE program, in which we selected from the Tools menu the motherboard used. Also, to make the connection between the board and the OLED display, I imported from the internet the library "​Adafruit_SSD1306.h",​ and for the correct use of the DHT11 temperature and humidity sensor I included the libraries "​DHT"​ and "​Wire"​.
 </​note>​ </​note>​
-{{:​pm:​prj2022:​apredescu:​1_code.jpg?​350 |}}+{{:​pm:​prj2022:​apredescu:​1_code.jpg?​500 |}}
 <note type> <note type>
 In terms of complexity, the code is relatively simple, consisting of two functions ("​setup"​ and "​loop"​). Before implementing the two functions, i used the OLED display, also the humidity sensor. In terms of complexity, the code is relatively simple, consisting of two functions ("​setup"​ and "​loop"​). Before implementing the two functions, i used the OLED display, also the humidity sensor.
 </​note>​ </​note>​
-{{:​pm:​prj2022:​apredescu:​2_code.jpg?​350 |}}+{{:​pm:​prj2022:​apredescu:​2_code.jpg?​500 |}}
 <note type> <note type>
 In the "​Setup"​ function, for the beginning,I started the display. To display the text, first I selected the lines on which I want the text to be written and then I printed it. in order not to have a text overlapping with the information provided by the device, I reset the display and turn on the sensor (begin () function). In the "​Setup"​ function, for the beginning,I started the display. To display the text, first I selected the lines on which I want the text to be written and then I printed it. in order not to have a text overlapping with the information provided by the device, I reset the display and turn on the sensor (begin () function).
 </​note>​ </​note>​
-{{:​pm:​prj2022:​apredescu:​3_code.jpg?​350 |}}+{{:​pm:​prj2022:​apredescu:​3_code.jpg?​500 |}}
 <note type> <note type>
 The "​Loop"​ function is the function where the whole process of determining the temperature and humidity takes place. In this function, the first step I took was to declare two variables (humidity and temperature) that read the values ​​in the sensor. The readTemperature () function has a false value as a parameter because I decided to display the temperature in degrees Celsius. If the value was true, it was displayed in degrees Fahrenheit on the screen. The "​Loop"​ function is the function where the whole process of determining the temperature and humidity takes place. In this function, the first step I took was to declare two variables (humidity and temperature) that read the values ​​in the sensor. The readTemperature () function has a false value as a parameter because I decided to display the temperature in degrees Celsius. If the value was true, it was displayed in degrees Fahrenheit on the screen.
Line 48: Line 48:
 For the display I used the same method as in the "​Setup"​ function. For the display I used the same method as in the "​Setup"​ function.
 </​note>​ </​note>​
-{{:​pm:​prj2022:​apredescu:​4_code.jpg?​400 |}}+{{:​pm:​prj2022:​apredescu:​4_code.jpg?​500|}}
 ===== Results Obtained ===== ===== Results Obtained =====
  
Line 54: Line 54:
 What were the results of your project? What were the results of your project?
 </​note>​ </​note>​
 +{{:​pm:​prj2022:​apredescu:​idrees_1.jpeg?​nolink&​300 |}}
 +{{:​pm:​prj2022:​apredescu:​idrees_2.jpeg?​nolink&​300 |}}
 +
  
-===== Conclusions ===== 
  
 ===== Download ===== ===== Download =====
- 
-<note warning> 
-An archive (or more if necessary) with the files obtained from the project: sources, schemes, etc. A README file, a ChangeLog, a compile script and automatic copy on uC always make a good impression ;-). 
- 
-Files are uploaded to the wiki using the ** Add Images or other files ** feature. The namespace in which the files are uploaded is of the type **: pm: prj20 ??: c? ** or **: pm: prj20 ??: c?: Student_name ** (if applicable). ** Example: ** Dumitru Alin, 331CC -> **: pm: prj2009: cc: dumitru_alin **. 
-</​note>​ 
- 
-===== Journal ===== 
  
 <note type> <note type>
-You can also have a diary section where the project assistant can track the progress of the project. +{{:​pm:​prj2022:​apredescu:​humidity_and_temperature_sensor_idrees_alhassan_1221ea.zip|}}
-</​note>​ +
- +
-===== Bibliography / Resources ===== +
- +
-<​note>​ +
-List of documents, datasheets, Internet resources used, possibly grouped on ** Software Resources ** and ** Hardware Resources **.+
 </​note>​ </​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/prj2022/apredescu/humidity_and_temperature_sensor.1654123389.txt.gz · Last modified: 2022/06/02 01:43 by alhassan.idrees
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