일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- Android
- lambda
- 펌웨어
- 홈어시스턴트
- 전기차충전
- homeassistant
- OCPP
- 플라스크
- raspberry
- everon
- 전기차충전기
- 라즈베리파이
- STM32
- flask
- 보안
- 전기차
- 완속충전기
- 안드로이드
- 충전기
- esp8266
- IOT Core
- 에버온
- YMODEM
- dynamodb
- 서버리스
- AWS
- thread
- 파이썬
- 디자인패턴
- 급속충전기
Archives
- Today
- Total
Louie NRT Story
[Arduino] CT Sensor 본문
반응형
Writed: 12 Mar 2020
Index
1. Component
2. DisgramCircuit diagram
3. Install Library
4. Upload Code
5. Monitoring
6. Picture
1. Component
- CT Sensor YHD SCT-013-000
- Resistor 18 Ohms if supply voltage is 3.3v or 33 Ohms if supply voltage is 5v
- 10k Ohm resistors 2ea
- 10uF Capacitor
2. DisgramCircuit diagram
3. Install Library
4. Upload Code
//Copy From
//https://learn.openenergymonitor.org/electricity-monitoring/ct-sensors/how-to-build-an-arduino-energy-monitor-measuring-current-only
#include "EmonLib.h"
// Include Emon Library
EnergyMonitor emon1;
// Create an instance
void setup()
{
Serial.begin(9600);
emon1.current(1, 111.1); // Current: input pin, calibration.
}
void loop()
{
double Irms = emon1.calcIrms(1480); // Calculate Irms only
Serial.print(Irms*230.0); // Apparent power
Serial.print(" ");
Serial.println(Irms); // Irms
}
5. Monitoring
6. Picture
Reference:
- https://learn.openenergymonitor.org/
반응형
'에너지' 카테고리의 다른 글
[나인와트] ECC Platform Report (0) | 2020.03.19 |
---|---|
[Energy-Monitor] Energy Monitoring DIY Example (0) | 2020.03.14 |
[제품리뷰] EnerTalk( EncoredTech ) (0) | 2020.03.11 |
[나인와트] 사설 LoRa 망을 활용한 무선 원격검침 시스템 (1) | 2020.03.01 |
[Wireless] LoRa (0) | 2020.02.23 |
Comments