아두이노릴레이연결 |
int relay=10; void setup() { // put your setup code here, to run once: pinMode(relay,OUTPUT); }
void loop() { // put your main code here, to run repeatedly: digitalWrite(relay,HIGH); delay(5000); digitalWrite(relay,LOW); delay(5000); } |
http://makeshare.org/bbs/board.php?bo_table=arduinoetc&wr_id=14 |
수위감지센서연결 |
int relayPin=10; int WSPin=0; int val=0;
void setup() { // put your setup code here, to run once: pinMode(relayPin,OUTPUT); Serial.begin(9600); }
void loop() { // put your main code here, to run repeatedly: val=analogRead(WSPin);
if(val>100) digitalWrite(relayPin,HIGH); else digitalWrite(relayPin,LOW);
Serial.println(val); delay(500); } |
|
우노전력소비량 |
|
장비/디자인/구조
[아두이노] 수위를 감지해 자동 급수
by 라키 posted Aug 10, 2018
-
각종 사진들
Date2025.07.22 BySumma -
꾸준히 하는 취미를 가져보기로 한다
Date2025.04.02 BySumma -
클라우드 플레어 방화벽 설정
Date2025.08.11 BySumma -
홈페이지 속도 지연 feat. 클라우드플레어
-
메일 서버 시놀로지 메일플러스의 구조
Date2025.05.27 BySumma -
라이믹스 홈페이지들 상태 이상
Date2025.05.23 BySumma -
SSL 서비스에 있어 클라우드 플레어의 놀라운 점
Date2025.05.20 BySumma -
전기요금 아끼는 방법 - 전기요금 절약 프로젝트
Date2025.05.17 BySumma -
구글 제미나이 오류
Date2025.05.16 BySumma -
KT 인터넷 전화기 IP375 초기화하기
Date2025.05.15 BySumma -
냉장고 교체 전력소비량 feat. 오래된 냉장고
-
삼성 냉장고 와이파이 연결 안됨 feat. 스마트싱스
Date2025.04.15 BySumma -
홈팟미니 이상 해결
Date2025.04.01 BySumma -
맥 Numbers 넘버스에서 홈택스 txt 파일 올리기
Date2025.03.31 BySumma -
아이폰 듀얼심 문자 안될때 해결 방법
Date2025.03.26 BySumma -
시놀로지 클라우드플레어 DDNS 설정
-
집밥 그리고 밥솥
-
단렌즈를 포기하게 된 결정적 이유
-
공부폰 / 공신폰 만드는 방법
-
2번 서버 다운
Date2025.02.03 BySumma -
워드프레스 멀티사이트 만들기
-
올해 산것 중 제일 잘 산것 - 전기자전거