Arduino humidity sensor 7-segment display



I have had a long time to check the humidity.

But, after a long while, I do not remember.

So I'll start with a very basic one.


1. Check humidity sensor


https://jujakfire.blog.me/221143897910?Redirect=Log&from=postView

2. Check 7-FND

http://deneb21.tistory.com/229



3. Use 7-FND Library

4. Sketch Coding

#include "SevSeg.h"
#include "AM2320.h"

//Create an instance of the object.
SevSeg sevseg;
AM2320 th;
void setup() {
  // Set up pins
  // Arguments :
  // First 0 is for common cathode
  // Following 0 to 11 numbers are for Arduino pins
  // connected to display in the following order
  // 1,2,3,4,A,B,C,D,E,F,G,DP
  sevseg.Begin(0,1,2,3,4,5,6,7,8,9,10,11,12);
}

void loop() {  
   th.Read();                          // AM2320 Read
   float huminity=th.h*100.0;
   int hDisplay=huminity;
  // Prepare number to display, and dot position
  // (0 to 3, other number means no dot) 
  sevseg.NewNum(hDisplay,2);
  // Display number
  sevseg.PrintOutput(); 
  // To maintain display with this wiring,
  // we are forced to loop over those commands rapidly
  delay(5);                         // Delay Time
}



[캔들 신호 분석 리포트] [2026년9월3일] 방림 (일봉) "ADX25돌파_횡보탈출" 신호 백테스트 리포트

방림 종목에 대한 "ADX25돌파_횡보탈출" 매수 신호는 적은 표본 수(8건)에도 불구하고 단기적으로 긍정적인 수익률을 보였으나, 과최적화 가능성이 있으며 신호 없는 균등 분할 매수가 누적 수익률 측면에서 더 우수한 결과를 나타냈습니...