'IoT'에 해당되는 글 21건
- 2017.06.14
- 2017.05.14
- 2017.05.13
- 2017.04.29
- 2017.04.17
- 2017.03.15
- 2017.03.15
- 2017.03.15
- 2017.03.03
- 2017.02.19
https://learn.sparkfun.com/tutorials/electret-mic-breakout-board-hookup-guide
제조업체 SparkFun Electronics
부품 번호 BOB-12758
인체감지센서 (0) | 2017.05.14 |
---|---|
아듀이노, LCD 디스플레이와 온도센서(LM35) 를 이용한 온도계 만들기. (0) | 2017.05.13 |
아두이노 웹서버만들기 (1) | 2017.04.29 |
ubuntu에 arduino설치하기 (0) | 2017.02.19 |
아듀이노 radar (0) | 2017.01.14 |
스케치코드))
int ledPin = 13; // LED 연결핀
int inputPin = 2; // 센서 시그널핀
int pirState = LOW; // PIR 초기상태
int val = 0; // Signal 입력값
int LED_PIN = 4;
void setup() {
pinMode(ledPin, OUTPUT); // LED Output 설정
pinMode(inputPin, INPUT); // 센서 Input 설정
pinMode(LED_PIN, OUTPUT);
Serial.begin(9600);
}
void loop(){
val = digitalRead(inputPin); // 센서값 읽기
if (val == HIGH) { // 인체감지시
digitalWrite(ledPin, HIGH); // LED ON
digitalWrite(LED_PIN, LOW);
if (pirState == LOW) {
// 시리얼모니터에 메시지 출력
Serial.println("Motion detected!");
pirState = HIGH;
}
} else {
digitalWrite(ledPin, LOW); // LED OFF
digitalWrite(LED_PIN, HIGH);
if (pirState == HIGH){
// 시리얼모니터에 메시지 출력
Serial.println("Motion ended!");
pirState = LOW;
}
}
}
BOB-12758 사용방법 (0) | 2017.06.14 |
---|---|
아듀이노, LCD 디스플레이와 온도센서(LM35) 를 이용한 온도계 만들기. (0) | 2017.05.13 |
아두이노 웹서버만들기 (1) | 2017.04.29 |
ubuntu에 arduino설치하기 (0) | 2017.02.19 |
아듀이노 radar (0) | 2017.01.14 |
아듀이노, LCD 디스플레이와 온도센서(LM35) 를 이용한 온도계 만들기.
준비물 : 브레드보드, 포텐시오미터, 16x2 LCD, LM35, 아두이노 uno
참고 url)
BOB-12758 사용방법 (0) | 2017.06.14 |
---|---|
인체감지센서 (0) | 2017.05.14 |
아두이노 웹서버만들기 (1) | 2017.04.29 |
ubuntu에 arduino설치하기 (0) | 2017.02.19 |
아듀이노 radar (0) | 2017.01.14 |
참고 url) http://www.instructables.com/id/Arduino-Ethernet-Shield-Tutorial/
인체감지센서 (0) | 2017.05.14 |
---|---|
아듀이노, LCD 디스플레이와 온도센서(LM35) 를 이용한 온도계 만들기. (0) | 2017.05.13 |
ubuntu에 arduino설치하기 (0) | 2017.02.19 |
아듀이노 radar (0) | 2017.01.14 |
(test)arduino, signal lamp(red/yellow/green) (0) | 2016.12.24 |
안드로이드 앱가이드
http://iotmakers.olleh.com/openp/index.html#/guideAppSdk
아듀이노 wifi모듈세팅
http://rancidbacon.com/files/kiwicon8/ESP8266_WiFi_Module_Quick_Start_Guide_v_1.0.4.pdf
사운드센서
http://mechasolution.com/shop/goods/goods_view.php?goodsno=329922&category=132005002
3.3v 컨버터
http://mechasolution.com/shop/goods/goods_view.php?goodsno=8181&category=132024
블루이노
http://mechasolution.com/shop/goods/goods_view.php?&goodsno=330698
LM2596 4R7
NodeJS + MongoDB Web Server Raspberry Pi (0) | 2017.03.15 |
---|---|
라즈베리파이+restful API 이용하기 (0) | 2017.03.15 |
라즈베리파이+모션센서 (0) | 2017.03.15 |
thingplus dropbox 사진연동 error 확인 (0) | 2017.03.03 |
PCA9685 Driver (16 채널) 에 대해서 (0) | 2016.10.06 |
+NodeJS + MongoDB Web Server Raspberry Pi Tutorial
http://raspberrypituts.com/nodejs-mongodb-web-server-raspberry-pi-tutorial/
http://andyfelong.com/2016/03/using-python-with-mongodb-on-raspberry-pi-2/
iotmakers (0) | 2017.04.17 |
---|---|
라즈베리파이+restful API 이용하기 (0) | 2017.03.15 |
라즈베리파이+모션센서 (0) | 2017.03.15 |
thingplus dropbox 사진연동 error 확인 (0) | 2017.03.03 |
PCA9685 Driver (16 채널) 에 대해서 (0) | 2016.10.06 |
http://www.robert-drummond.com/2013/05/08/how-to-build-a-restful-web-api-on-a-raspberry-pi-in-javascript-2/
iotmakers (0) | 2017.04.17 |
---|---|
NodeJS + MongoDB Web Server Raspberry Pi (0) | 2017.03.15 |
라즈베리파이+모션센서 (0) | 2017.03.15 |
thingplus dropbox 사진연동 error 확인 (0) | 2017.03.03 |
PCA9685 Driver (16 채널) 에 대해서 (0) | 2016.10.06 |
https://codefooo.gitbooks.io/raspberry-experiments/content/%EC%8B%A4%ED%97%987-%EB%AA%A8%EC%85%98-%EC%84%BC%EC%84%9C.html
http://blog.naver.com/agapeuni/220275640761
https://diyhacking.com/raspberry-pi-gpio-control/
모션 sensor detect => 사진찍기
NodeJS + MongoDB Web Server Raspberry Pi (0) | 2017.03.15 |
---|---|
라즈베리파이+restful API 이용하기 (0) | 2017.03.15 |
thingplus dropbox 사진연동 error 확인 (0) | 2017.03.03 |
PCA9685 Driver (16 채널) 에 대해서 (0) | 2016.10.06 |
VNC (VIRTUAL NETWORK COMPUTING) (0) | 2016.10.06 |
root@doitforyou.co.kr:/opt/thingplus/openhardware/raspberrypi/camera# ./thingplus_device.sh status
stopped
root@doitforyou.co.kr:/opt/thingplus/openhardware/raspberrypi/camera# ./thingplus_device.sh restart
thingplus device started
root@doitforyou.co.kr:/opt/thingplus/openhardware/raspberrypi/camera#
TypeError: Cannot call method 'replace' of undefined
at Request._callback (/opt/thingplus/openhardware/raspberrypi/camera/dropbox-driect-url.js:14:32)
at Request.self.callback
===============================
dropbox-driect-url.js
이 js파일은 무슨용도인가?
url로 바로 업로드된 이미지를 볼수 있는 경로를 리턴하는것 같은데.
리턴해서 어디서 이 값을 받아 쓰는가?
에러의 원인은
var redirectUrl = response.headers.location;
location으로 값을 못가져와서 replace 명령이 오류가 발생한 것..
console.log(JSON.stringify(response.headers)); 로 찍으면 아래처럼 나오는데.
최초작성의도였던 "response.headers.location" 이 값을 가져오려면 어떤 명령어를 쓰면 될까?
--------------------------------------
header:{"server":"nginx","date":"Sat, 04 Mar 2017 13:01:56 GMT","content-type":"text/html; charset=utf-8","transfer-encoding":"chunked","connection":"keep-alive","vary":"Accept-Encoding","cache-control":"no-cache","content-security-policy":"script-src 'unsafe-eval' https://www.dropbox.com/static/compiled/js/ https://www.dropbox.com/static/javascript/ https://www.dropbox.com/static/api/ https://cfl.dropboxstatic.com/static/compiled/js/ https://www.dropboxstatic.com/static/compiled/js/ https://cfl.dropboxstatic.com/static/javascript/ https://www.dropboxstatic.com/static/javascript/ https://cfl.dropboxstatic.com/static/api/ https://www.dropboxstatic.com/static/api/ https://www.google.com/recaptcha/api/ 'unsafe-inline' 'nonce-11LVKubJAI8Zmn0pJmmW' ; default-src 'none' ; worker-src blob: ; style-src https://* 'unsafe-inline' 'unsafe-eval' ; connect-src https://* ws://127.0.0.1:*/ws ; child-src https://www.dropbox.com/static/serviceworker/ blob: ; form-action 'self' https://dl-web.dropbox.com/ https://photos.dropbox.com/ https://accounts.google.com/ https://api.login.yahoo.com/ https://login.yahoo.com/ ; base-uri 'self' api-stream.dropbox.com https://showbox-tr.dropbox.com ; report-uri https://www.dropbox.com/log/csp_enforced ; img-src https://* data: blob: ; frame-ancestors 'self' ; frame-src https://* carousel://* dbapi-6://* dbapi-7://* dbapi-8://* itms-apps://* itms-appss://* ; object-src https://cfl.dropboxstatic.com/static/ https://www.dropboxstatic.com/static/ 'self' https://flash.dropboxstatic.com https://swf.dropboxstatic.com https://dbxlocal.dropboxstatic.com ; media-src https://* blob: ; font-src https://* data:","dropbox-streaming":"V=1","pragma":"no-cache","set-cookie":["locale=en; Domain=dropbox.com; expires=Thu, 03 Mar 2022 13:01:56 GMT; Path=/; secure","gvc=MTkxOTI2ODEyODcxNjQ4NzQ1NzM2NzkwNDM4MzY1OTgxODcwOTMz; expires=Thu, 03 Mar 2022 13:01:56 GMT; httponly; Path=/; secure","puc=; expires=Sat, 04 Mar 2017 13:01:56 GMT; httponly; Path=/; secure","seen-sl-signup-modal=VHJ1ZQ%3D%3D; expires=Mon, 03 Apr 2017 13:01:56 GMT; httponly; Path=/; secure","t=CeKHNZPQqaFb8CNrhjGdR-1G; Domain=dropbox.com; expires=Tue, 03 Mar 2020 13:01:56 GMT; httponly; Path=/; secure","__Host-js_csrf=CeKHNZPQqaFb8CNrhjGdR-1G; expires=Tue, 03 Mar 2020 13:01:56 GMT; Path=/; secure"],"x-content-type-options":"nosniff","x-dropbox-http-protocol":"None","x-dropbox-request-id":"1092b42b3f65a203ce9ed233bb62d77a","x-frame-options":"DENY","x-robots-tag":"noindex, nofollow, noimageindex","x-xss-protection":"1; mode=block","strict-transport-security":"max-age=15552000; includeSubDomains"}
result ==> thingplus로부터 .js 파일받아 진행. update 안된 버전으로 테스트되어 에러 발생했음.
라즈베리파이+restful API 이용하기 (0) | 2017.03.15 |
---|---|
라즈베리파이+모션센서 (0) | 2017.03.15 |
PCA9685 Driver (16 채널) 에 대해서 (0) | 2016.10.06 |
VNC (VIRTUAL NETWORK COMPUTING) (0) | 2016.10.06 |
라즈베리파이3 + 카메라 + 모형CCTV => REAL CCTV만들기 (2) | 2016.06.02 |
참고)
https://www.arduino.cc/en/guide/linux#toc2
아듀이노, LCD 디스플레이와 온도센서(LM35) 를 이용한 온도계 만들기. (0) | 2017.05.13 |
---|---|
아두이노 웹서버만들기 (1) | 2017.04.29 |
아듀이노 radar (0) | 2017.01.14 |
(test)arduino, signal lamp(red/yellow/green) (0) | 2016.12.24 |
(test)arduino led with button (0) | 2016.12.24 |