Node-red 22

mongodb2 insertMany find.toarray

Node-RED Mongodb config 속성 mongodb2 server 정보 function 노드 수정 Debug MongoDB 확인 참조 MongoError: docs parameter must be an array of documents (mongodb3) https://discourse.nodered.org/t/mongoerror-docs-parameter-must-be-an-array-of-documents-mongodb3/18191 토양센서 리스트 토양센서 리스트 Node-RED Node 내보내기 [{"id":"eca97310c7323217","type":"ui_table","z":"4037d292a5a4d2cb","group":"6c043ee02c40eb0a","name":"토양센서 리스..

NODE-RED 2022.04.27

node-red-node-ui-table 0.3.5

A Node-RED UI widget node which displays data as a table. 데이터를 테이블 리스트 형태로 보여줍니다. MongoDB에서 비콘정보를 읽어들여 Node-red에서 리스트 형태로 표시합니다. Function Node find.toArray msg.collection = 'CL_DEVICE_DATA_2'; msg.operation = 'find.toArray'; msg.payload = { }; // msg.payload = { "DE_MAC" : "AC:23:3F:50:1B:60", "GW_MAC" : "B8:27:EB:20:EA:17" }; return msg; Function node - return array 일정시간내 데이터를 json 형태로 변환하여 테이블..

DATABASE 2020.10.03

전압/전류 Data 전송 From Arduino to Node-RED

전류 / 전압 데이터를 Node-RED 서버로 전송합니다. Node-RED에서 데이터를 그래프 / 게이지 / 텍스트로 표시하여 사용자가 쉽게 확인 할 수 있도록 Dashboard를 구성합니다. Node-RED 아래 저장한 파일을 Node-RED에서 불러옵니다. 프로젝트 진행했던 node 전체를 불러올수 있습니다. 프로그래밍 / 설명 아두이노 + ESP8266 WIFI 프로그래밍 아두이노보드에서 10002 포트를 UDP SERVER 용도로 오픈합니다. 그리고 Node-RED 에서 요청이 오면 전류/전압 데이터로 응답합니다. #include #include Adafruit_INA219 ina219; #include LiquidCrystal_I2C lcd(0x27, 16, 2); // LCD I2C 주소를설정..

아두이노 메가 + WIFI모듈 ESP8266 + 팬모터 송풍기 제어

아두이노 메가 https://store.arduino.cc/usa/mega-2560-r3 Arduino Mega 2560 Rev3 | Arduino Official Store The Arduino Mega 2560 is a microcontroller board based on the ATmega2560. It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a powe store.arduino.cc Arduino Mega 2560은 ATmega2..