Categories
Statistics
Flag Counter
Since 08.08.2014
Counts only, if "DNT = disabled".

Your IP is 44.222.149.13
ec2-44-222-149-13.compute-1.
Info
Valid HTML 4.01 Transitional Creative Commons Lizenzvertrag
rss
เราจะทำแบบวิศวกรผู้ยิ่งใหญ่
We love the King
19. March 2024
Your valuable opinion :
0 stars

Avg. 0 from 0 votes.



LIMITATIONS
Due to our Software License we must not allow to use the Target 3001 File for commercial use !

Favourites  Target 3001 Website
Envico_Thermometer.php    6267 Bytes    12-02-2018 11:23:31


ENVICO®light


Thermometer Adapter




ENVICO Thermometer Adapter




✈ Circuit Description




This Adapter / Sensor consists only of one integrated circuit. This is an TMP-101 from Texas Instruments. Yes, we have heard, that there are more accurate sensors available :-)

Therefore this is not intended to compete with professional weather stations. Just to show and test the functionality of the system. Quasi a source of data which we have control over it.



✈ Downloads







✈ Arduino Sketch - The TEST - Code



Double click on code to select ...


/*
 Standalone Sketch to test the Temperature sensor with an TMP101
 https://www.changpuak.ch/electronics/envico/ENVICO_TEMPERATURE/TMP100-TMP101.pdf
 (Just to test the sensor and the I2C communication)
 Alexander C. Frank, 16.06.2015, Version 1.0
*/
 
#include <Wire.h>

byte I2C_address = 0x49; 

void setup()
{
Wire.begin();        // join i2c bus (address optional for master)
Serial.begin(9600);  // start serial for output
// INIT TMP101 - SET RESOLUTION TO 12 Bits
Wire.beginTransmission(I2C_address);
Wire.write(0x01);    // Configuration Register
Wire.write(0x60);    // R0 and R1 = 1
Wire.endTransmission();
}

void loop()
{
Wire.beginTransmission(I2C_address);
Wire.write(0x00);
Wire.endTransmission();

Wire.requestFrom(I2C_address,2);
int temp_hi = Wire.read();        // integer value  
int temp_lo = Wire.read();        // fractional value
int temp = (( temp_hi << 8 ) | temp_lo ) >> 4 ;
float temperature = temp * 0.0625 ;

Serial.print(temperature,3);Serial.print(" ");Serial.print((char)176);Serial.println("C");

delay(1000);
}




✈ Share your thoughts



The webmaster does not read these comments regularely. Urgent questions should be send via email. Ads or links to completely uncorrelated things will be removed.


Your Browser says that you allow tracking. Mayst we suggest that you check that DNT thing ?

 
t1 = 6459 d

t2 = 269 ms

★ ★ ★  Copyright © 2006 - 2024 by changpuak.ch  ★ ★ ★

PRchecker.info Impressum