오실로스코프에 대충 연결하고
파워서플라이에서 3.3V 100mA 만들어서 넣음
1채널 노란색(프로브 노란색) - CLK(보라색)
2채널 파란색(프로브 빨간색) - DT(파란색)

시계방향(CW)로 돌리니 CLK가 먼저 반응하고

반시계방향(CCW)로 돌리니 DT가 먼저 반응한다.

위치에 따라서는 falling이 될수도 rising이 될수도 있긴한데..
이걸 어떻게 해석해야 한 틱 옮겨지고, 갑자기 방향이 바뀌는지 알 수 있을까?
오실로스코프에 대충 연결하고
파워서플라이에서 3.3V 100mA 만들어서 넣음
1채널 노란색(프로브 노란색) - CLK(보라색)
2채널 파란색(프로브 빨간색) - DT(파란색)

시계방향(CW)로 돌리니 CLK가 먼저 반응하고

반시계방향(CCW)로 돌리니 DT가 먼저 반응한다.

위치에 따라서는 falling이 될수도 rising이 될수도 있긴한데..
이걸 어떻게 해석해야 한 틱 옮겨지고, 갑자기 방향이 바뀌는지 알 수 있을까?
stm32f103 으로 인터럽트 통해서 처리하려고
rising / falling edge에서 하게 해놨더니, 도대체 어떻게 뜨는건지 모르게 많이 뜬다.
물론 귀차니즘으로 usb cdc를 통해 그냥 바로 출력하게 해놔서 놓치는게 있을 것 같기도 하지만
high가 연속 두번 뜨지 않나 먼가.. 놓치는 느낌인데
| USB CDC TEST 1528 5H 4H 5H USB CDC TEST 1529 USB CDC TEST 1530 4H 5L 5L 4L USB CDC TEST 1531 USB CDC TEST 1532 5L 4H USB CDC TEST 1533 USB CDC TEST 1534 4H 5L 4H USB CDC TEST 1622 USB CDC TEST 1623 5L 5H 4H 4H 5L USB CDC TEST 1624 USB CDC TEST 1625 4L USB CDC TEST 1626 |
A,B,C 모두 내부 풀업으로 하고 있는데, 외부 풀업과 0.1uF 을 달아줘서 해봐야겠다.

[링크 : https://retromakers.tistory.com/29] 하드웨어 채터링 방지
[링크 : https://blog.naver.com/kiatwins/221087863980] 하드웨어 채터링 방지
[링크 : https://eteo.tistory.com/138] sw 디바운스
순방향 전압강하가 적고 어쩌구 하고, 고속정류(교류->직류)에 유리하다고
하지만 역 누설전류가 많다는데 그게 어떤걸 의미하는지 감이 안왔었는데...
[링크 : https://m.blog.naver.com/giriffing/220911910493]
[링크 : https://m.blog.naver.com/haneham/221266444757]
말 그대로 전류가 역류해서 왜 전원이 생겨나지(멘붕) 이런 사태가 발생해버림..
그 와중에 온도에 따른 영향도 크다

천천히 읽어 봐야지..
단순하게 2개 채널의 출력값으로 회전 방향과 회전수를 재는줄 알았는데\
UVW 3개 채널로 나오는 녀석도 존재하나보다.
[링크 : https://blog.naver.com/3lastbaek5/221742506275]
[링크 : https://blog.naver.com/3lastbaek5/222027952013]
초음파를 쏴서 전 대역에 재밍거는 방법과 백색 소음을 전대역에 재밍거는 방법이 있다는데
일단 초음파를 쓰면 line of sight에서만 작동하는 듯.
[링크 : https://www.isecus.com/audio-recording-jammer-comparison/]
| 쇼트키 다이오드 (0) | 2025.11.24 |
|---|---|
| 엔코더 관련글 (0) | 2025.10.28 |
| pwm 화음 출력 (0) | 2025.08.06 |
| 힐베르트 변환포락선 인벨로프 (0) | 2025.06.27 |
| ntc r/t-tol (0) | 2025.04.29 |
문득 pwm 으로 소리를 내다보니
과거에 사운드카드들이 어떻게 소리를 내었나 DAC이 아닌 방법으로 낼수 있나 궁금해져서 검색
요건.. pic로 구현된.. 일종의 midi 합성기?
[링크 : https://blog.naver.com/eziya76/221634889533]
예를 들어 1khz와 2khz를 동시에 재생하려면
1khz(빨강) + 2khz(파랑) 가 "녹색"의 파장으로 출력되게 된다.

gemini 왈
1. 가장 편한건 다중 채널 pwm 출력을 하나로 묶어서 하면 된다.
2. 채널합성을 통해서 소리의 크기는 duty로, 주파수는 time tick에 계산하여(부하가 걸리지만) 열심히 cpu를 갈궈서 출력하면 됨
정도로 요약된다.
물론 pwm을 duty로 한다고 해서 피에조 스피커에서 소리크기가 달라지지 않았는데
low pass filter를 RC 필터로 구성하면 된다는데.. 그러고 보니 저 시정수 계산기는 좀 찾아봐야겠네
[링크 : https://m.blog.naver.com/ann_arbor/221359192492]
[링크 : https://gammabeta.tistory.com/3660]
150 ohm / 220uF

| 엔코더 관련글 (0) | 2025.10.28 |
|---|---|
| 오디오 녹음 재머 (0) | 2025.09.15 |
| 힐베르트 변환포락선 인벨로프 (0) | 2025.06.27 |
| ntc r/t-tol (0) | 2025.04.29 |
| 전자로드 사용법 (0) | 2025.04.28 |
https://en.wikipedia.org/wiki/Hilbert%E2%80%93Huang_transform
https://angeloyeo.github.io/2019/08/09/Hilbert_Transform.html
https://blog.naver.com/thegoldman/30034353702
https://driz2le.tistory.com/366
| 오디오 녹음 재머 (0) | 2025.09.15 |
|---|---|
| pwm 화음 출력 (0) | 2025.08.06 |
| ntc r/t-tol (0) | 2025.04.29 |
| 전자로드 사용법 (0) | 2025.04.28 |
| 합성저항, 목표저항 계산 (0) | 2025.01.07 |
min, max, mean 은 최소, 최대, 중간값인데
r-tol(min/max) t-tol(min/max)가 보이는데 용도불명이라 검색중

| 2.1.4. tolerance Tolerance Resistance The resistance tolerance for an NTC thermistor is specified for one temperature point, which is application specific and the standard value is usually 25°C. It is also possible to specify at the other temperatures upon customer request. Temperature tolerance By means of Formula 3, the temperature tolerance can be calculated for small temperature interval as following formula: ΔT = 1 / α ・ ΔR / R (Formula 6) For practical application, we recommend that the standardized R / T table be used. |
| pwm 화음 출력 (0) | 2025.08.06 |
|---|---|
| 힐베르트 변환포락선 인벨로프 (0) | 2025.06.27 |
| 전자로드 사용법 (0) | 2025.04.28 |
| 합성저항, 목표저항 계산 (0) | 2025.01.07 |
| edge detector (0) | 2024.11.15 |
M9712 라는 전자로드가 있어서 배터리 방전에 사용을 위해 찾아보는 중
Step 1. SHIFT - 8 눌러서 END TEST VOLT=0.000000V 가 뜨도록 함
초기상태에서![]() SHIFT 버튼을 누르면 우측에 Shift라고 뜨고 ![]() 8을 누르면 OFF 라고 바뀌면서 하단에 END TEST VOLT가 뜬다. ![]() |
Step 2. 숫자와 .을 이용하여 원하는 전압을 입력함
9.6V 완전방전을 목표로 할거라 9.6을 입력함![]() |
Step 3. Enter를 누름(0.00W 0.00000AH 라고 아래 라인에 뜸
가장 처음 화면으로 돌아온다.![]() |
Step 4. On/Off 버튼을 눌러 시작
상단 우측에 BATT 라고 뜨면 배터리 테스트 모드
on/off 버튼을 누르면 BATT로 바뀐다.![]() |
| Battery Life StabilityTest In Constant Current mode the Serial electronic load can test battery life stability Set up the load to control voltage level. When the voltage of the battery is too low, the serial electronic load will identify the battery being on the threshold value set or at the margin of an insecure state and will stop testing automatically. When the load is in test mode, you can see the battery's voltage, battery discharge current, electronic, load power and battery capability that remains. If the load is connected through PC software, then you can see the battery discharge curve.. This test can measure the reliability and remaining life of the battery. So it is important to perform the test before the battery is re-charged, or swapped out for a newer battery. Operation: 1) In standard constant current mode, adjust the load's current value to the same discharge current value of battery needed. 2) Press both Shift+8(Battery)keys. When VFD display shows END TEST VOLT= xxxxxxxxV, input the shut-off voltage and press Enter to start the battery life stability test. When the battery's voltage drops to the turn-off voltage set, the load will automatically shut off. 3) Press the On/Off keys to start or pause the battery capability test. 4) Press both the Shift+8(Battery) keys to exit the battery life stability test mode. |
[ : http://www.maynuo.com/downloadfile/2009102937213561.pdf]
[ : http://www.maynuo.com/english/xpro.asp?pid=52]
| 힐베르트 변환포락선 인벨로프 (0) | 2025.06.27 |
|---|---|
| ntc r/t-tol (0) | 2025.04.29 |
| 합성저항, 목표저항 계산 (0) | 2025.01.07 |
| edge detector (0) | 2024.11.15 |
| 택 스위치(TACTILE SWITCH) (0) | 2024.09.03 |
합성저항
Rsum = (R1 * R2) / (R1 + R2)
R1이 고정되어 있고 R2가 가변저항일때 합성저항을 달성하기 위한 가변 저항의 목표저항값 계산
R2 = (R1 * Rsum) / (R1 - Rsum)
수식이 원래의 형태에서 부호만 바뀐 형태라는게 참.. 신기한 느낌을 받는다.
| ntc r/t-tol (0) | 2025.04.29 |
|---|---|
| 전자로드 사용법 (0) | 2025.04.28 |
| edge detector (0) | 2024.11.15 |
| 택 스위치(TACTILE SWITCH) (0) | 2024.09.03 |
| spi 통신 cpol cpha (0) | 2024.08.28 |