Temp/Humidity App for Arduino 1.0



Publisher Description



I created this App to be able to connect to an Arduino via wireless Bluetooth. The user can then receive temperature and humidity data from the Arduino. This is designed to be used in the classroom to show students 1) how to use basic electronic devices and sensors, 2) an introduction to coding, and 3) to collect scientific data for statistical analysis.

I hope to upload a video tutorial shortly to enable you to set up the Arduino and breadboard along with the sensors and other components you will need to do this project.

The code for the Arduino is as follows:
#include "DHT.h"
#include

#define DHTPIN 2
#define DHTTYPE DHT22

DHT dht(DHTPIN, DHTTYPE);

const int analogReadPin = 2;
int outPinRed = 9;
int outPinGreen = 10;
int outPinBlue = 11;
int temperatureValue = 0;

SoftwareSerial BT(1, 0); //TX, RX respectively

void setup() {
Serial.begin(9600);
dht.begin();
pinMode(outPinRed, OUTPUT);
pinMode(outPinGreen, OUTPUT);
pinMode(outPinBlue, OUTPUT);
}
// BT.begin(9600);

void loop() {
// while (BT.available())
{
digitalWrite(outPinRed, LOW);
digitalWrite(outPinGreen, HIGH);
digitalWrite(outPinBlue, LOW);
float h = dht.readHumidity();
float t = dht.readTemperature();
float f = dht.readTemperature(true);

if (isnan(t) || isnan(h) || isnan(f))
{
Serial.println("Failed to read from DHT");
digitalWrite(outPinRed, HIGH);
digitalWrite(outPinGreen, LOW);
digitalWrite(outPinBlue, LOW);
return;
}
digitalWrite(outPinRed, LOW);
digitalWrite(outPinGreen, LOW);
digitalWrite(outPinBlue, HIGH);

temperatureValue = ((t * 9) / 5 + 32);
analogWrite(analogReadPin, h);
analogWrite(analogReadPin, temperatureValue);
Serial.print("Humidity = ");
Serial.print(h);
Serial.println(" %");
Serial.print("Temp = ");
Serial.print(temperatureValue);
Serial.println(" F");
}
delay(1000);
}



About Temp/Humidity App for Arduino

Temp/Humidity App for Arduino is a free app for Android published in the Teaching & Training Tools list of apps, part of Education.

The company that develops Temp/Humidity App for Arduino is EpicMansDad007. The latest version released by its developer is 1.0.

To install Temp/Humidity App for Arduino on your Android device, just click the green Continue To App button above to start the installation process. The app is listed on our website since 2016-01-23 and was downloaded 16 times. We have already checked if the download link is safe, however for your own protection we recommend that you scan the downloaded app with your antivirus. Your antivirus may detect the Temp/Humidity App for Arduino as malware as malware if the download link to appinventor.ai_j_riddensdale.TempHumidityApp is broken.

How to install Temp/Humidity App for Arduino on your Android device:

  • Click on the Continue To App button on our website. This will redirect you to Google Play.
  • Once the Temp/Humidity App for Arduino is shown in the Google Play listing of your Android device, you can start its download and installation. Tap on the Install button located below the search bar and to the right of the app icon.
  • A pop-up window with the permissions required by Temp/Humidity App for Arduino will be shown. Click on Accept to continue the process.
  • Temp/Humidity App for Arduino will be downloaded onto your device, displaying a progress. Once the download completes, the installation will start and you'll get a notification after the installation is finished.



RELATED PROGRAMS
Our Recommendations






BarCode2D-PNG


Click stars to rate this APP!

Users Rating:  
  0.0/5     0
Downloads: 16
Updated At: 2024-04-22
Publisher: EpicMansDad007
Operating System: Android
License Type: Free