Search the Community
Showing results for tags 'temperature'.
-
Sensirion has recently introduced an inexpensive, low-power temperature humidity sensor SHTC3 designed for operation in the range 1.62--3.6V . It should be a useful peripheral for MSP430 battery-powered applications. I have tested 3 sensors with the F5529 Launchpad and they exhibit reliable, consistent behavior. For reference, I have written some demo code for I2C communication that is available on github: https://github.com/microphonon/SHTC3 The SHTC3 comes in a small DFN package, so to do breadboard testing I had to build my own breakout boards and use reflow soldering (see phot
- 1 reply
-
- humidity
- temperature
-
(and 2 more)
Tagged with:
-
Hello Guys, I have CC1310 Launchpad and I'm trying to attach an DS18B20 to it, but the library (Onewire.h doesn't have a definition for this board). Does anyone have a definitions for it, it will be great. Thanks George
-
Is there some simple example of how to read the internal temperature of the device?
-
The Bosch BME280 pressure-temperature-humidity sensor is very popular for projects because there are breakout boards available from Adafruit and Sparkfun as well as a large library of code to interface it to Arduino MCUs. Not so much for the MSP430, especially transparent code to understand what is happening at the register level. I have written and tested some demo C-code that hopefully fills that gap. It sacrifices generality and efficiency for compactness and transparency. I use the F5529 Launchpad and communication with the sensor is via SPI using the UCB0 module. I2C is also availab
- 3 replies
-
- bme280
- temperature
-
(and 4 more)
Tagged with:
-
There is code available to implement I2C communication between the MSP430 and the HDC2010 temperature-humidity sensor, but it's a bit like an onion -- you have to peel away layer after layer in various libraries to drill down into what is happening at the register level. I decided to write some transparent demo code for this sensor that is self-contained: everything related to the I2C interface is in a single C program. It has been successfully tested with the F5529 Launchpad. This is a simple MCU polling operation that periodically makes a T-H measurement using the on-demand mode of the se
-
I finished up my first Energia project, a template library for the Bosch BMP085 temperature and pressure sensor. It uses I2C and supports temperature in Celsius and pressure in Pascal. https://github.com/astuder/BMP085-template-library-Energia I connected the GY-80 breakout commonly found on eBay, but it should also work with most other BMP085 breakouts, like the ones from Adafruit or Sparkfun. Note that I had to patch Energia to make 1-byte read work on MSP430G2553 with Rev1.5 LaunchPad. I also had to remove the LED2 jumper, probably due to too weak I2C pull-up. Update: Tested on La
-
Hello, I am hoping to convert Example 09 of the Energia examples (thermistor temperature with the MSP430F5529) to entirely C language to use in Code Composer Studio - I've already used the import function to use this example in CCS and it works fine with the code given, but I'd like to re-work the example to only use C functions like main().c. Is there a simple way to do this? I'm still learning C and need the experience! Example 09 is attached for reference.EXAMPLE09_Temperature.ino
- 1 reply
-
- thermistor
- temperature
-
(and 2 more)
Tagged with:
-
Hi all i'm programming by MSP430fr5739 a temperature and humidity reading by the DHT11 sensor. ?The wire are correct, and so the problem is'nt in the link, it is in the code. This is my code, usind the dht11 library, find on internet. ?The main problem is that i don't know how to read the value of T and H, and maybe there is some problems in the reading (probably in the interrupt) ?Thanks for the advice. ?MAIN CODE: #include <msp430.h> #include <DHT11_LIB.h> unsigned char RH_byte1; unsigned char RH_byte2; unsigned char T_byte1; unsigned char T_byte2; unsigned char checksum;
-
Hello everyone, I just started programming in C ++ to solve a small university project. I am a newbie in programming that's why I ask you a hand in writing the code. I'm working with Msp430fr5739 and the temperature and humidity sensor is the DHT11. The connections have already been made and we have to write the code. I already have the library DHT11 and I'm working in CCS. Can someone share a code that works and allows me to read the values of temperature and humidity? Thank you (and sorry for my english)
- 3 replies
-
- dht11
- temperature
- (and 4 more)
-
Hello, fellow launchpad enthusiasts! I am having problems reading temperature sensor values on my stellaris launchpad (LM4F120H5QR). The values returned by analogRead(TEMPSENSOR) are erratic and do not correlate with actual temperature. I use ubuntu 14.04 and energia 0101E0014. I tried following code: uint32_t TempRead = 0; float TempC = 0; void setup() { Serial.begin(9600); analogRead(TEMPSENSOR); } void loop() { TempRead = analogRead(TEMPSENSOR); TempC = (float)(1475 - ((2475*TempRead)/4096))/10; Serial.print("ADC value: "); Serial.println(TempRead); Serial.print("Temperature in C: "); Se
-
Here is the zip that bluehash requested that I post. Tested with DHT11, output to an LCD. Here is the original post: http://forum.43oh.com/topic/2826-ladyadas-dht-library-lcd/ AdaDHT11.zip
- 17 replies
-
I am writing a program that is supposed to read the temperature from the MSP430's internal sensor, then display it through the LED's by making the red one blink the 10's digit and the green one blink the 1's digit. Pushing the button should toggle between Farenheit and Celcius, default Fahrenheit. My question is about the output of the analogRead(TEMPSENSOR) function. I know that the output of the function is an int between 0 and 1023 that maps to a range of 0 to 3 volts. What I don't understand is how that output translates to a temperature. I tested the function by just printing the
- 3 replies
-
- MSP430
- Temperature
-
(and 1 more)
Tagged with:
-
I've built a wireless temperature monitor with the following features: Very low-power (7uA) sleep mode Dual 1-wire dallas temperature sensor inputs, to measure two temperature sensors at the same time. A 2-line LCD display that displays the current measurement for 15 seconds when a button is pushed. 2xAA battery supply, with charge pump to power the LCD, temperature sensors and 433Mhz wireless module. Uses VirtualWire to transmit the data to an MSP430-powered receiver module. This is all currently sitting outside, and the indoor rx unit is uploading the measured temperatures as well as the
-
Hi everyone, I have a project that contains nokia 5110 lcd, msp430( it has g2553) and 8 connection cables between with lcd and msp430(There is no resistance or another thing). I should scale temperature and print on the 5110 lcd. I have 2 compiler programs which are Iar and energia. Additionally, I tried to set CCS but I couldn't set up, there was a mistake.Also, In IAR program any mistake occurs, I don't remember what is this problem. Thus, Energia compiler fully works but I couldn't find code. I want to code that used in energia compiler. Can anyone help me, please?
- 5 replies
-
- temperature
- 5110
-
(and 1 more)
Tagged with: