Bläddra i källkod

source token info deleted from comments

gerfried 1 dag sedan
förälder
incheckning
98884501d4
1 ändrade filer med 1 tillägg och 56 borttagningar
  1. 1 56
      Pocobo_2.ino

+ 1 - 56
Pocobo_2.ino

@@ -1,6 +1,6 @@
 /*Pocobo 2- Pollution Collecting Bottle 2
  * 
- * v1.0
+ * v1.0 (13.06.2025)
  * 
  * Devices & Parts: 
  * - Arduino MKR NB 1500 (https://www.arduino.cc/en/Guide/MKRNB1500, https://store.arduino.cc/products/arduino-mkr-nb-1500?_gl=1%2Ajmo3e2%2A_ga%2AMTgyMjQxNTg5MC4xNjM3MTQ1NTIw%2A_ga_NEXN8H46L5%2AMTYzNzc0NjM2My4yLjEuMTYzNzc0NjYwOS4w)
@@ -64,61 +64,6 @@
  * 1 -> EN
  * 2 -> GND
  * 
- * 
- * Challenges, Problems, Errors, etc.
- * - SOLVED:  Standard SoftwareSerial Library does not work with SAMD Controllers. (Serial1 is now passing through)
- * - SOLVED:    HTTP Post: https://forum.arduino.cc/t/mkr-nb-1500-http-post/680965
- *            -> SIM-Card does not support NB-IoT: https://www.a1.net/nb-iot
- *            -> Sending SMS works, but no GPRS connection via NB-IoT.
- * - SOLVED:  GPS needs 3minutes to get a fix. (Using TinyGPS++ Library)
- * - SOLVED:  Arduino does not work with battery (Use Power Boost 500 Module)
- * - SOLVED:  Button LED is not lighting correct if system runs on battery (arduino not connect to Power via USB).
- *            -> it's color is white ??? WHY; Turns green if arduino is connected to USB
- *            -> Moved activation of Button to the top of setup()
-              -> see aml_pocobo2_testledbutton.ino
- * - OPEN:    LED stays green for a long time if sensor is inside (NO GPS).
- * - OPEN:    Indicating low battery level by use of LBO pin
- *            -> https://forums.adafruit.com/viewtopic.php?f=19&p=757864
-              -> How to use the LB Pin on the Power boost?
-              -> https://forums.adafruit.com/viewtopic.php?f=19&t=58281
-              -> https://forums.adafruit.com/viewtopic.php?f=19&t=80260
-              -> https://forums.adafruit.com/viewtopic.php?p=379644
-              -> https://forum.arduino.cc/t/adafruit-powerboost-500c-arduino-micro-lbo/251123
-              -> https://electronics.stackexchange.com/questions/334472/general-electrical-question-with-regards-to-the-lbo-pin-on-the-adafruit-boost-5
-              
- * - SOlVED:  After switching OFF and ON again, the SEN54 delivers nan results
- *            -> works after uploading the code, but not after switching OFF and ON again with the button.
- * - SOLVED:    LED Works correctly with battery if Arduino is powered via VCC 
-              -> This should not be correct, as this is the 3.3v Power I/O
-              -> Check wiring
-              = Works also via VIN 9.1.24
- * - TODO:    Send status messages to the Datahub.
- * - TODO:    Get Battery status
- * - SOLVED:     Device restarts every 20 secs (sampling interval)
-              - Battery is charged
-              - LED is connected to the LBO
- * - SOLVED:   GPS sends only two decimals
-              - https://forum.arduino.cc/t/tinygpsplus-gives-out-the-location-only-up-to-two-decimals/601442 
-              - String function seems to cut decimals: String(double) https://forum.arduino.cc/t/string-function-seems-to-be-rounding-doubles/642177
-              - include numer of decimals (6) when casting to String.
- * - BUG:     After putting sensor inside (no gps, LED green) and then outside again pocobo does not send data to server. gets stuck
-              - does not get accross this line in sendtodatahub: if (client.connect(server, port))   
- * TODO:      If an error occurs update the led immediately. (and make sure it is not overridden);      
-              
-
- *         
- *
- *
- *
- *
- * 
- * SOURCE TOKENS:
- *    POCOBO 2 - 0: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE5LCJpYXQiOjE2Mzc5MzIzMjF9.fGMMPIMp-yHKX7yqddMKU3ItpcwiGD4srkY1-vj0Pz4
-      POCOBO 2 - 1: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIxLCJpYXQiOjE3MTIwNjc4NTZ9._YmIoqeE98XWNu629MFS1OOGGzWxPnKH-zI06zFWOnI
-      POCOBO 2 - 2: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIzLCJpYXQiOjE3NDUzMTgxOTJ9.n2c2huqnC5p4MRaBf-NksLlNKcW976t1mwZMOPhiBa4
-      Pocobo 2 - 3: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjI0LCJpYXQiOjE3NDY3MDgxOTJ9.pKcHaTF88j6usI55lnWdgdXk9PESK4mGbKn6nf9Vv7A
-      Pocobo 2 - 4: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjI1LCJpYXQiOjE3NDY3MDgyNzF9.UzfhKlXXXO8uFUsBgvVkLg19dRZBHP5rjXvncYZ2JeA
- *    
  */