Afdrukken
Categorie: Arduino and ESP
Hits: 6307
Ster inactiefSter inactiefSter inactiefSter inactiefSter inactief
 


A websocket client.
A PubSub or MQTT service is not required.   


Up to 16 hi-res (15 bits) A-ports over I2C.
Included a websocket server.

ADS1115
Included a ESP8266 websocket server and (demo)browser client (A PubSub or MQTT service is not required).
Two libraries: ADS1115 an thermistor.
Max. input  voltage: VDD + 0,3V
Get from port #n:

  1. maxSteps
      4.096/32768 (Gain amplifier bit is set to 0x1 = 4.096V by 65536 neg+pos steps, we use only the positive steps)
  2. VoltStep
      VDD/maxSteps
  3. Volt
      calculated value (VoltStep * steps)
  4. steps
      I2C value read from ADS1115 port #n
  5. Ohm
      voltage divider (used by thermistor(s))
  6. temp
      calibrated temperature (only from thermistor(s))

Information:
http://www.ti.com/lit/ds/symlink/ads1115.pdf ADS1115
http://assets.newport.com/webDocuments-EN/images/AN04_Thermistor_Calibration_IX.PDF
https://en.wikipedia.org/wiki/Steinhart%E2%80%93Hart_equation
hhttp://www.thinksrs.com/downloads/programs/Therm%20Calc/NTCCalibrator/NTCcalculator.htm
http://www.daycounter.com/Calculators/Steinhart-Hart-Thermistor-Calculator.phtml
http://blog2.thermoworks.com/2010/10/making-a-proper-ice-bath/  how to making a proper ice bath!!!