제로윈아카데미 373

ESP32 KC868_A16 블루투스 통신 + GPIO 컨트롤

KC868_A16 ​ KC868-A16 ESP32 홈 오토메이션 릴레이 모듈을 설계했습니다. KC868-A8 ESP32 릴레이 모듈을 기반으로 한 새 버전이며 RS485 포트를 추가합니다. 홈 어시스턴트를 위한 ESPHome과 홈 오토메이션 DIY를 위한 Tasmota 펌웨어를 지원합니다. ​ https://www.kincony.com/kc868-a16-esp32-home-automation-relay-module.html KC868-A16 ESP32 home automation relay module released! - Smart Home Automation | KinCony KC868-A16 ESP32 16 channel relay board www.kincony.com ESP32 보드에서 스마트폰..

스마트팜 2023.03.26

팔굽혀펴기 자동 체크

개발 내용 거리센서를 이용한 팔굽혀펴기 기록 LED strip를 이용한 기록 표시 부저를 이용한 비프음 출력 개발진행 1. ESP32 2. LED Strip LED strip 2개 제어 소스코드 #include #define NUM_LEDS 20 #define LED_PIN 2 #define NUM_LEDS2 32 #define LED_PIN2 4 CRGB leds[NUM_LEDS]; CRGB leds2[NUM_LEDS2]; void setup() { Serial.begin(115200); FastLED.addLeds(leds, NUM_LEDS); FastLED.addLeds(leds2, NUM_LEDS2); FastLED.setBrightness(50); tf_mini_setup(); } int j =..

스마트체력장 2023.01.14

How to make Mysql Ubuntu Server

mysql 설치 참조 사이트 https://velog.io/@seungsang00/Ubuntu-%EC%9A%B0%EB%B6%84%ED%88%AC%EC%97%90-MySQL-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0 [Ubuntu] 우분투에 MySQL 설치하기 apt-get 이라는 패키지 매니저를 이용해 설치를 진행한다. (우분투 리눅스를 설치했다면 이미 설치되어 있다.) 1. 우분투 서버 업데이트 2. mysql-server 설치 $ sudo apt-get install mysql-server 설치 중간 중간 velog.io MySQL 연결 시 "Public Key Retrieval is not allowed" 에러 https://velog.io/@dailylifecoding/DB..

M64/Database 2022.12.22

by using smartwatch, checking heart-rate and blood pressure.

삼성 갤럭시 워치 4를 사용하여 심박수와 혈압을 확인할 수 있습니다. ​ 삼성 스마트워치를 사용하는 이유로 국가기관과 관공서, 국방부 등은 가격이 비싸지만 인증된 제품이 필요합니다. ​ 심장 박동수, 혈압, 산소 포화도 등의 기능을 검사한 결과를 보여드리겠습니다. ​ by using smartwatch, checking heart-rate and blood pressure. ​ by using samsung galaxy watch, I can check heart-rate and blood pressure ​ for the reason to use samsung smartwatch, State agencies and goverment offices and the Ministry of National De..

M64/SMART WATCH 2022.12.04

조명 네트워크 WIFI - RF Dimmer - Device(DC 12V, LED or Fan etc)

파이썬을 이용하여 네트워크 통신으로 DC 12V 전압을 제어하여 LED 나 FAN에 Dimming 기능을 적용한다. 앱을 통하여 제어하도록 되어있지만 다양한 오픈소스를 이용하여 피시나 안드로이드 또는 라즈베리파이와같은 서버에서 직접 제어한다. 구성 Wifi-Relay DC 12V Flash Light LED Dimmer Dimming Dimming Wifi -Gateway - RF - Dimmer 테스트 동영상 Protocol Reference https://community.home-assistant.io/t/skydance-2-4g-rf/99399/17 TestCode 55aa5aa57e0d80008039af00000100790000007e 55aa5aa57e378000800868000001000a0..

Mqtt 서버 + LTE 스마트워치 연동

라즈베리파이 이미지 굽기 라즈베리파이 설정 와이파이 설정 IP 확인 SSH / VNC 활성화 Installing the Mosquitto MQTT Server to the Raspberry Pi 참조 https://pimylifeup.com/raspberry-pi-mosquitto-mqtt-server/ mqtt test mosquitto 실행 mosquitto_sub mosquitto_pub Mosquitto on windows 설치 참조 https://mosquitto.org/download/ 외부 어드레스 허용 참조 https://www.gloriouscoding.com/fa639ca4-0b97-4345-8dd7-66722ecdf421 Python 에서 mqtt publish 구현 MQTT + LT..