Differences

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

Link to this comparison view

iothings:proiecte:2022sric:voltmeter [2023/06/01 23:16]
eduard.olteanu1505
iothings:proiecte:2022sric:voltmeter [2023/06/01 23:40] (current)
eduard.olteanu1505
Line 114: Line 114:
 lastState = currentState;​ lastState = currentState;​
 </​code>​ </​code>​
-===== Demo ===== +We use millis to store the value in order not to overwrite already known values. 
-The main usecase ​of this project is to measure the voltage of batteries.+ 
 +==== Problems and Improvements ==== 
 +  * One problem that I could not fix is the noise the ADS1115 is getting when reading, even if there is nothing measured the pin reads 0.9V, but that doesn'​t impact measurements. 
 +  * An improvement could be to add some other form of identification for the batteries when stored in the database. 
 +  * Another improvement could be to have a phone application that manages the database for the batteries and also that communicates with the ESP32. 
 + 
 +===== Results ​===== 
 +The main use-case ​of this project is to measure the voltage of batteries.
  
 {{ :​iothings:​proiecte:​2022sric:​20230601_225009.jpg ?700 |}} {{ :​iothings:​proiecte:​2022sric:​20230601_225009.jpg ?700 |}}
Line 124: Line 131:
 Also, if the button is pressed the value is stored in the database. Also, if the button is pressed the value is stored in the database.
 {{ :​iothings:​proiecte:​2022sric:​database_batteries.png?​700 |}} {{ :​iothings:​proiecte:​2022sric:​database_batteries.png?​700 |}}
- 
-===== Conclusion ===== 
  
 ===== Bibliography===== ===== Bibliography=====
   * [[https://​ocw.cs.pub.ro/​courses/​iothings/​laboratoare/​2022/​lab4]]   * [[https://​ocw.cs.pub.ro/​courses/​iothings/​laboratoare/​2022/​lab4]]
   * [[https://​how2electronics.com/​how-to-use-ads1115-16-bit-adc-module-with-esp32/​]]   * [[https://​how2electronics.com/​how-to-use-ads1115-16-bit-adc-module-with-esp32/​]]
 +  * [[https://​github.com/​mobizt/​Firebase-ESP-Client]]
 +  * [[https://​github.com/​adafruit/​Adafruit_ADS1X15]]
  
iothings/proiecte/2022sric/voltmeter.1685650585.txt.gz · Last modified: 2023/06/01 23:16 by eduard.olteanu1505
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