Giter VIP home page Giter VIP logo

weather--station's People

Contributors

sachinsurendran avatar

Watchers

James Cloos avatar

weather--station's Issues

Weatherstation hangs after some tim

What steps will reproduce the problem?
1. Bootup weatherstation
2. Watch Blinking LED (red)
3. It stops, the whole unit freezes

What is the expected output? What do you see instead?


Note: There are a couple of While loops in the code
which waits for some event. When that does not happen,
the code hangs in there. This is related to the DHT11 sensor code
and needs to be addressed.

Fix: Should change while loop to retries and reinitilization.


Original issue reported on code.google.com by [email protected] on 29 Dec 2010 at 10:44

Patch for /trunk/WeatherStation.pde

There should be
    byte dht_dat[5];
instead of
    byte dht_dat[4];

because

//now ready for data reception... pick up the 5 bytes coming from
//   the sensor
    for (i=0; i<5; i++)
        dht_dat[i] = read_dht_dat();

otherwise there will be buffer overflow problem which I had and had no idea why 
my int variable used as a counter had weird data.

Original issue reported on code.google.com by [email protected] on 10 Jan 2013 at 3:49

Attachments:

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.