summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-11-05 06:19:27 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-11-05 06:19:27 +0200
commit093d847606d5fa7d613417593b3201400ec8cd17 (patch)
tree943821e50f27b4e858692f3cbbc9f842bbbe0726
parent116a9a349e11e059eaeddea88cd29d585bb9bfa0 (diff)
Updated my current status with the project. Within two words: not great
Changes to be committed: modified: LINKS.md modified: TODO.md modified: client_app_flutter/lib/main.dart new file: images/ESP32 Specs.png
-rw-r--r--LINKS.md12
-rw-r--r--TODO.md9
-rw-r--r--client_app_flutter/lib/main.dart2
-rw-r--r--images/ESP32 Specs.pngbin0 -> 99493 bytes
4 files changed, 15 insertions, 8 deletions
diff --git a/LINKS.md b/LINKS.md
index b7b0d40..e31a329 100644
--- a/LINKS.md
+++ b/LINKS.md
@@ -1,24 +1,30 @@
HARDWARE:
https://randomnerdtutorials.com/getting-started-with-esp32/ -- main board (ESP32 Board) - general info - has wifi and is kute
+https://github.com/espressif/esptool/issues/741 -- troubleshooting i had to take in account
(done) toadd - temperature and humidity sensors (DHT Unified Sensor) - i simply used the examples provided by the library it comes with
(done) toadd - air quality detector for ppm measurements (MQ135 Sensor)
https://blog.asksensors.com/air-quality-sensor-mq135-cloud-mqtt/ - reference for acieving a workaround for the MQ 135 Sensor
+(done) -- pretty much, albeit the controller is finicky
https://www.mechatronicstore.cl/wp-content/uploads/datasheet-sensor-dsm501a.pdf -- dust sensor (DSM501A Sensor)
https://www.instructables.com/Dust-Sensor-With-DSM501a-and-ESP8266/ -- example of using the sensor that i ve tried to replicate
-DATABASE CONTENDERRRRRRRRRRRRRRRr:
+DATABASE CONTENDERRRRRRRRRRRRRRR:
https://cassandra.apache.org/_/quickstart.html -- i like this containarization
https://graphql.org/ - graphs dbs
+https://www.gradio.app/ - another contender that was considered (somewhat, but not exactly what was needed)
-FORGET THAT ; DO FIREBASE --> Flutter for android, ios, web
+FORGET THAT ; DO FIREBASE --> Flutter for android, ios, web --> IS WORKING (doing)
+https://firebase.google.com/docs/flutter/setup --> AYYYYYY
SOME OTHER THINGS I VE SEEN:
https://github.com/expressjs/express
https://nodejs.org/en/download
-https://www.npmjs.com/package/express \ No newline at end of file
+https://www.npmjs.com/package/express
+
+yeaa I won't be using those. Flutter and Firebase are better:]
diff --git a/TODO.md b/TODO.md
index aeb0e86..f595867 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,10 +2,11 @@ integrate dht sensors (done, first thing done)
integrate mq sensor (done)
integrate dsm sensor (done) :DDDD
-make an api interface (esp32 can use curl's and stuff)
+make an api interface (esp32 can use curl's and stuff) -- SORTOF -- arduino libs and functions are weird (for a first timer)
-store the data on a mock server that can be accessed with requests (rest, crud) --> alphara.art ORRRR firebase:)
+store the data on a mock server that can be accessed with requests (rest, crud) --> alphara.art ORRRR firebase:) --- firebase works (doing)
-somehow integrate that continuously with time series data forcasting and other AI/ML predictions -- need python for making AND condensing an ML model
+RIGHT NOW I JUST WANT A DISPLAY OF JSON IN MY APPLICATION
-incorporate pretty graphs and predict future behaviour/forcasting of those data-points to show the urgency for measure-taking \ No newline at end of file
+somehow integrate that continuously with time series data forcasting and other AI/ML predictions -- need python for making AND condensing an ML model (future, quite possibly unattainable rn)
+incorporate pretty graphs and predict future behaviour/forcasting of those data-points to show the urgency for measure-taking (also future..)
diff --git a/client_app_flutter/lib/main.dart b/client_app_flutter/lib/main.dart
index 5fd98b4..8502127 100644
--- a/client_app_flutter/lib/main.dart
+++ b/client_app_flutter/lib/main.dart
@@ -78,7 +78,7 @@ class _MyHomePageState extends State<MyHomePage> {
// called again, and so nothing would appear to happen.
_counter++;
// final snapshot = await ref.child('temperature').get();
- final snapshot = database.ref().child('temperature').get();
+ // final snapshot = database.ref().child('temperature').get();
// if (snapshot.exists) {
// print(snapshot.value);
// var _counter = snapshot.value;
diff --git a/images/ESP32 Specs.png b/images/ESP32 Specs.png
new file mode 100644
index 0000000..c1f6b92
--- /dev/null
+++ b/images/ESP32 Specs.png
Binary files differ