This shows you the differences between two versions of the page.
pm:prj2022:cstan:temperaturesensor [2022/05/27 18:32] Diana.ionita1801 [Software Design] |
pm:prj2022:cstan:temperaturesensor [2022/05/27 18:50] (current) Diana.ionita1801 [Download] |
||
---|---|---|---|
Line 37: | Line 37: | ||
I used the library LiquidCrystal_I2C.h in order to display on the I2C LCD the temperature. I am running the sketch TemperatureSensor.ino to make this work. I have initialized the pins for the temperature sensor and piezo. Then, in setup() I initialized the LCD i2c and I declared the pins for each LED. In loop() I read the value from the temperature sensor. By using 3 if's I set the LEDS to turn on based on the temperature. | I used the library LiquidCrystal_I2C.h in order to display on the I2C LCD the temperature. I am running the sketch TemperatureSensor.ino to make this work. I have initialized the pins for the temperature sensor and piezo. Then, in setup() I initialized the LCD i2c and I declared the pins for each LED. In loop() I read the value from the temperature sensor. By using 3 if's I set the LEDS to turn on based on the temperature. | ||
===== Obtained Results ===== | ===== Obtained Results ===== | ||
+ | |||
+ | This is the final result. On the screen you can see the value of the temperature. Based on this value, the green LED turned on and the buzzer made a specific sound: | ||
+ | |||
+ | {{ :pm:prj2022:cstan:temperature_sensor.jpeg?300 |}} | ||
===== Journal ===== | ===== Journal ===== | ||
22.04.2022 I chose the theme for my project. | 22.04.2022 I chose the theme for my project. | ||
Line 54: | Line 58: | ||
===== Conclusions ===== | ===== Conclusions ===== | ||
+ | |||
+ | To sum up, this project was a challenge for me. I've never worked with Arduino before and I was glad to have the chance to experience this! I enjoyed the whole learning process a lot and I am looking forward to finding out more about Arduino. | ||
===== Bibliography/ Resources ===== | ===== Bibliography/ Resources ===== | ||
- | <note> | + | **Bibliography:** |
- | Listă cu documente, datasheet-uri, resurse Internet folosite, eventual grupate pe *Resurse Software* şi *Resurse Hardware*. | + | |
- | </note> | + | Arduino Starting Kit Book |
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | {{:pm:prj2022:cstan:temperaturesensor.zip|}} | ||
<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> |