minihydroponicssystem-device's People
minihydroponicssystem-device's Issues
기능 구상
-
초기설정
- 기기의 버튼을 5초이상 누르고 있으면 리셋
- wifi 연결, mqtt 서버 연결, clientID 설정, 기기ID 설정
-
기기 제어
- 테스트 모드와 타이머 모드
- 타이머 모드: 기본적으로 항상 타이머 모드로 동작한다. 사용자가 웹 콘솔을 통하여 어느 시간부터 언제까지 어떤 기능이 동작하는지 설정할 수 있다.
- 테스트 모드: 웹 콘솔을 통하여 타이머 설정을 진행할 때는 테스트 모드로 들어가서 기기의 동작을 미리 확인할 수 있도록 한다. 테스트 모드가 끝나면(사용자의 설정이 끝나면) 다시 타이머 모드로 동작한다.
- 제어 가능한 기능
- DC팬: 속도. 0% 25% 50% 75% 100% 단위로 제어
- 기포 모터: 속도. 0% 25% 50% 75% 100% 단위로 제어
- LED: 안쪽(0
34), 중간(3479), 바깥쪽 LED (79~127)를 각각 제어한다. nm 으로 색상 설정. 값이 0이면 그냥 백색광. 0,25,50,75,100% 로 밝기 지정 가능.
- 기기의 기포발생기, 팬, LED 동작 상태 확인
- TDS, 온습도, 물 온도 센서 상태 가져오기
- 알림 => 각 센서별로 허용값을 설정. 허용값을 벗어나면 LED 하나가 붉은 빛으로 점멸한다.
- 테스트 모드와 타이머 모드
이용 서비스/플랫폼/라이브러리 조사
- 무료 MQTT
정리된 블로그: https://procider.tistory.com/303서비스 종료로 사용하지 못함.- 외부에서 웹소켓 연결 가능한지 확인.
- CDN 은 github 를 이용해본다..
타이머와 스케쥴 모듈 구현
- 아두이노 IDE 로 구현하면 디버깅 지옥이니 우선 PC 기반으로 만들어 테스트를 진행한다.
재료준비
-
수경재배 키드
-
LED
- WS2812 사용
- 개수에 대해서 고민 좀 해본다. (납땜지옥이므로)
-
기포생성용 수중모터일단 지른다.
-
휴대용 기포발생기
-
모터 드라이버
-
PC 쿨링팬
- 5V 면 더 좋고~ 12볼트용
- 가급적 80mm
-
OLED
- ip address 표시용 별 용도는 없다
-
각종 전자부품
- ~TIP120 ~ => 모터 드라이버로 대체
- 점퍼와이어
-
12v to 5V 스텝다운 컨버터
- PC 쿨링팬이 5v 면 필요없음.
- 5V PC쿨러를 사느냐 아니면 TIP120 등 소자 부품을 사느냐 가격을 따져보고 결정할 것.
-
컨트롤러 보드
- 아두이노 - 메가면 더 좋고ㅋ
-
NODE MCU
-
TDS 센서
- PPM 측정용. 오고있는중.
-
수위센서
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.