Giter Club home page Giter Club logo

esp8266-lua's People

Contributors

ok1cdj avatar tom-neverwinter 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

esp8266-lua's Issues

Negative values update

I've successfully used this code for NodeMcu+ds18b20 (even without external pull-up resistor), but for negative values got only -0.125 or -0.0625 ones continuosly. Tnen, I have changed lines 50-51 at ds18b20.lua to "t = t - 0x10000" and now all works perfect. Tested in home refrigirator :)
By the way, here is error on circuit: Vcc and Gnd pins of sensor is shorten.
Best regards!

Lua message error

PANIC: unprotected error in call to Lua API (dht11.lua:59: 'end' expected (to close 'for' at line 58) near '')
PANIC: unprotected error in call to Lua API (attempt to call a string value)

Errors in DHT11

I tried Thermometer-DHT11-Thingspeak it works properly, but sometimes it reports temperature wrong, for example when room temperature is about 28 sometimes it reports 10 or 12.

Doesn't work with latest Lua firmware

Doesn't work with latest Lua firmware (version 0.9.5)
I can see the following in the terminal but no data gets sent to thingspeak. (I have WiFi connection and correct API key)

Sending data to thingspeak.com
Closing connection
Got disconnection...
Last temp: 213750
Temp:21.3750 C

Schematic correct?

Is your schematic correct for the DS18B20 - you have both sides going to ground? There should be Vcc on the one side with the middle pin being pulled up by a resistor.

Getting 85c

Dear all

I have used the this code with lua language in order to test ds18b20 temperature sensor with feather adafruit huzzah esp8266 wifi module .Moreover, the pin connction ,I used was pin=6 for lua code and corresponding of 12 on esp866 board.
However, I am getting the temperature measurement value 85 c.
hence, could any one help me out ,please.

cheers!

Temperature = 0

Hi! Thanks for this.
I used this but I'm always getting the temperature and humidity as 0.
I have the DTH11 directly connected to the GPIO0...
do you know what can be wrong?

thanks!

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.