Code Monkey home page Code Monkey logo

sht40_micropython's Introduction

Tempature Sensor

This is basic micropython API for the SHT40 temperature sensor which works with micropython. The adafruit driver was built for circuit python and this ensures it works for micropython without other depedencies. This builds a temperature reader with teh adafruit SHT40 reader. This is basic setup which provides terminal readout from the sensor.

Node MCU Setup With Micropython

This article provides a nice summary of setting up NodeMCU with micropython. This should work for blank NodeMCU or one with material already. https://www.embedded-robotics.com/esp8266-micropython/.

This provides very good setup and I suggest using Thonny app for develompent. https://www.embedded-robotics.com/esp8266-micropython/

???

To start, I am setting up the NodeMCU with fresh micropython. I am going to use this reference to to complete the setup. My setup is on Linux, so here is some helpful howtos on setup:

Parts

Example

from sht40_micropython import SHT40

# this is example setup on the nodemcu ESP8266 board
sht40 = SHT40(scl_pin=4, sda_pin=3, freq=config.board_baud_rate)
results = sht40.measure()

print(results)

References

  1. NodeMCU Micropython setup
  2. Adafruit SHT40 Tutorial
  3. Micropython setup instructions
  4. Instructions for flashing nodemcu
  5. Micropython downloads for esp8266
  6. SHT40 datasheet
  7. adafruit circuit python sht40

sht40_micropython's People

Contributors

pjurek3 avatar

Watchers

 avatar

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.