Git Product home page Git Product logo

alfkoehn / co2_monitor Goto Github PK

View Code? Open in Web Editor NEW
43.0 9.0 8.0 23.66 MB

An open-source CO2 monitor helping to ensure a healthy environment in a class room and slowing down the spread of the corona SARS-CoV-2 virus.

Home Page: https://github.com/alfkoehn/CO2_monitor

C++ 23.55% TeX 59.35% C 17.09%
co2monitor scd30 esp8266 arduino oled-display-ssd1306 co2ampel aerosols coronavirus corona sars-cov-2

co2_monitor's People

Contributors

alfkoehn avatar s-hamann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

co2_monitor's Issues

must wifi be "nailed" to station mode?

When i used your .ino, my esp board connected to my WLAN correctly but showed up as Access point "ESP-nnnnnn" as well.
(to be more specific: i was able to connect to that WLAN without password, port scan shows port 80 open then, but my browser only shows a blank page).

So i started reading some docs.
Station Class documentation says
"Switching the module to Station mode is done with begin function"

This corrosponds with your code WiFi.begin()
but later the doc says
...
"... It is possible that calling begin will result in the module being in STA + softAP mode if the module was previously placed into AP mode."

I assume this is the effect i ran into (board was brand-new, never used it before).
reading this i added an additional line

WiFi.mode(WIFI_STA)

After compiling and installing this i do not see the ESP-nnnnnn Access point anymore.

As i am not very familiar with coding nor am i sure if this is a general issue or just an "Einzelfall" and my "solution" ist correct, please have a look at it and let me know.
(I did not try out if the AP reappears if i remove the WiFi.mode(WIFI_STA) line later, just left it in my .ino file)

PS: I like your CO2 project very much - was a starting point to get into coding and IOT as well and look forward to your chart.js snippets

SSD1306 - wrong character for "Degree" (167 instead of 248)

Aim: show the Degree sign in "°C"
Code:
In the .ino you reference to Codepage 437, character 167 (which is "Masculine ordinal indicator")
I found detail here: codepage437 and changed the section in .ino to

...
display.setCursor(x0+7*6,15);
display.write(248);
...

PS: additionally I prefixed display.write(248); with
display.cp437(true); // Use full 256 char 'Code Page 437' font
(worked either with or whitout it but feels better)
;-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.