This shows you the differences between two versions of the page.
pm:prj2022:agmocanu:liedetector [2022/06/01 20:25] teodora.nedelcu [Software Design] |
pm:prj2022:agmocanu:liedetector [2022/06/02 10:51] (current) teodora.nedelcu [Software Design] |
||
---|---|---|---|
Line 11: | Line 11: | ||
- | We use the button to start the measuring of the pulse and if its elevated the person lied. A message will appear on the display with the result. | + | We start the measuring of the pulse and if its elevated the person lied. A message will appear on the display with the result. |
+ | {{:pm:prj2022:agmocanu:nedelcu.jpeg?800|}} | ||
===== Hardware Design ===== | ===== Hardware Design ===== | ||
Line 22: | Line 22: | ||
* Cables | * Cables | ||
+ | {{:pm:prj2022:agmocanu:lala.jpeg?600|}} | ||
===== Software Design ===== | ===== Software Design ===== | ||
Line 68: | Line 68: | ||
lcd.backlight(); | lcd.backlight(); | ||
lcd.setCursor(0, 0); | lcd.setCursor(0, 0); | ||
- | lcd.print("BMP"); | + | lcd.print("BPM"); |
lcd.setCursor(0, 1); | lcd.setCursor(0, 1); | ||
if (myBPM < 100){ | if (myBPM < 100){ | ||
lcd.print(" "); | lcd.print(" "); | ||
+ | lcd.print(myBPM); | ||
+ | lcd.setCursor(4,1); | ||
+ | lcd.print(" "); | ||
+ | }else{ | ||
+ | lcd.print(myBPM); | ||
+ | lcd.setCursor(4,1); | ||
+ | lcd.print("Lie"); | ||
+ | | ||
} | } | ||
- | lcd.print(myBPM); | + | Serial.println(myBPM); |
- | Serial.println(myBPM); | + | |
} | } | ||
delay(20); | delay(20); | ||
Line 84: | Line 91: | ||
===== Rezultate Obţinute ===== | ===== Rezultate Obţinute ===== | ||
+ | {{:pm:prj2022:agmocanu:LIEDETECT.jpeg?400|}} {{:pm:prj2022:agmocanu:LIEDETECT2.jpeg?500|}} | ||
===== Concluzii ===== | ===== Concluzii ===== | ||
+ | This project taught me how to use Arduino, LCD display and a pulse sensor. I think it would be fun to try and build different useful things this way. | ||
- | ===== Download ===== | ||
- | ===== Jurnal ===== | ||
Line 97: | Line 103: | ||
===== Bibliografie/Resurse ===== | ===== Bibliografie/Resurse ===== | ||
+ | https://how2electronics.com/ | ||
+ | |||
+ | https://arduino.cc/ | ||
+ | http://robojax.com/node/921 | ||
<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> |