아두이노 네트워크 프로그래밍 예제

2016. 9. 28. 17:37기타/아두이노

Arduino_20160928.zip


* 블루투스 모듈 초기화

AT

AT+NAMEAnn

AT+PIN1111

AT+BAUD4


* PC용 시리얼 통신 프로그램

http://www.hw-group.com/products/hercules/index_en.html


* mosquitto 실행시, ssleay32.dll 없다고 오류 뜰때 대응

openssl-1.0.1f_vc_default_build.zip

압축풀고 bin폴더

libeay32.dll

ssleay32.dll

mosquitto 설치 폴더에 복사


* 스마트폰 앱

1) 블루투스 테스트 

Android : bluetooth spp tools pro

iOS : BluTerm


2) MQTT 테스트

Android:MQTT Client

iOS:MQTTClient


Arduino_20160929..zip

HelloWorld.zip


- Mosquitto Server를 이용하여 아두이노로부터 온도/습도, 조도 센서 정보 수집하여 DB에 저장 및 조회 하는 기능

- 아두이노 상의 웹 서버를 이용하여 간단하게 부저 켜고 끄기


ArduinoClient.zip

quiz.zip