# data[].attributes.body
#include "DHT.h"
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

#define DHTPIN 8        // SDA 핀의 설정
#define DHTTYPE DHT22   // DHT22 (AM2302) 센서종류 설정

int h = 0;
int t = 0;

DHT dht(DHTPIN, DHTTYPE);
LiquidCrystal_I2C lcd(0x27,16,2);

void setup()
{
    dht.begin();
    lcd.init();
    lcd.backlight();
}

void loop() {

  int h = dht.readHumidity();
  int t = dht.readTemperature();
  delay(1000);

  lcd.setCursor(1,0);
  lcd.print("HUMID");
  lcd.setCursor(1,1);
  lcd.print(h);
  lcd.print("%");

  lcd.setCursor(7,0);
  lcd.print("TEMPE");
  lcd.setCursor(7,1);
  lcd.print(t);
  lcd.print("C");
}

# data[].attributes.body
#include "DHT.h"
#define DHTPIN 8        // SDA 핀의 설정
#define DHTTYPE DHT22   // DHT22 (AM2302) 센서종류 설정

DHT dht(DHTPIN, DHTTYPE);
int speakerPin = 7;

void setup() {
  Serial.begin(9600);
  dht.begin();
}

void loop() {
  int h = dht.readHumidity();
  int t = dht.readTemperature();

  if (h < 55 || t > 39 || t < 36 ){
    tone(speakerPin, 392);
    delay(500);

    noTone(speakerPin);
    delay(1000);

  }

# data[].attributes.body
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,16,2);

int sensor = A0;            // 수위센서 A0핀 설정
int value = 0;

void setup()
{
  lcd.init();
  lcd.backlight();

}

void loop() {
  value = analogRead(sensor);
 // 수위센서값을 읽어 변수 value에 저장
  delay(1000);

  lcd.setCursor(15,0);
  lcd.print("WATER");
  lcd.setCursor(15,1);
  lcd.print(value);
}

# data[].attributes.attachment_link.title
키보드송 - 화원초 김예후

# data[].attributes.attachment_link.description
Open-source electronic prototyping platform enabling users to create interactive electronic objects.

# data[].attributes.headline
팅커캐드(아두이노 회로도 그리기)

# data[].attributes.subject
팅커캐드(아두이노 회로도 그리기)

# data[].attributes.attachment_link.title
Tinkercad | From mind to design in minutes

# data[].attributes.attachment_link.description
Tinkercad is a free, easy-to-use app for 3D design, electronics, and coding.

# data[].attributes.body
아두이노를 활용한 부화기 만들기 수업 계획안