'2022/01/20'에 해당되는 글 5건

  1. 2022.01.20 rpi DSI 7인치 터치 스크린
  2. 2022.01.20 retinex 알고리즘
  3. 2022.01.20 jetson nano gpu 사용 상태 확인
  4. 2022.01.20 jetson nano 2g dev. kit 셋업
  5. 2022.01.20 UHS-1 U3의 힘!
embeded/raspberry pi2022. 1. 20. 18:20

처음으로 만져보는 DSI 디스플레이 (회사 어딘가 짱박혀 있던...)

DSI는 자체적으로 통신을 해서 켤수 있는거라 rpi config.txt를 손대지 않아도

기본으로 작동하는 것으로 보인다(rpi 3b+)

HDMI + DSI로 하려면 먼가 해야 한다는데 내용이 없음.

The Raspberry Pi Touch Display is an LCD display which connects to the Raspberry Pi through the DSI connector. In some situations, it allows for the use of both the HDMI and LCD displays at the same time (this requires software support).

 

DSI를 연결하고 demsg 확인해보니 아래정도의 내용밖에 없다.

[    1.958699] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.974466] Console: switching to colour frame buffer device 100x30
[    1.983719] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 800x480
[    1.990749] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled

 

그리고 i2c의 sda / scl도 연결해놔서 확인을 해보는데

배선이 문제인지 노이즈를 타서.. 일단 두 개 정도 i2c를 통해 보인다.

$ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- 45 -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

 

터치는 USB로 하는줄 알았는데 그건 또 아닌 것 같고(내용상 USB 전원이라고..)

pwm 백라이트 제어와 전원 제어를 i2c를 통해 할 수 있다는걸 보면 하나는 터치 다른 하나는 pwm 제어인 듯.

PWM backlight control and power control over I2C interface

 

[링크 : https://www.raspberrypi.com/documentation/accessories/display.html]

[링크 : https://kr.element14.com/raspberry-pi/raspberrypi-display/raspberry-pi-7inch-touchscreen/dp/2473872]

[링크 : https://www.devicemart.co.kr/goods/view?no=1273487]

 

0x38이 touch i2c 인 것으로 생각되네.

[링크 : https://www.newhavendisplay.com/app_notes/FT5x06.pdf]

[링크 : https://titanwolf.org/Network/Articles/Article?AID=21afc5b0-03fa-4179-b818-de7e73f36573]

 

config.txt에 아래를 추가하니

dtoverlay=rpi-ft5406

 

dmesg 상에서는 아래의 하나가 추가 되는 것 같다.

[    7.641514] input: raspberrypi-ts as /devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input1

'embeded > raspberry pi' 카테고리의 다른 글

rpi csi to dsi...  (0) 2022.01.21
rpi 7" dsi  (0) 2022.01.21
rpitx on rpi4  (0) 2021.12.22
rpitx  (0) 2021.12.16
wayland on rpi  (0) 2021.11.22
Posted by 구차니

retinex 알고리즘은 어두운 사진에서 식별 가능하도록 보정해주는 거라고 하는데(CCTV 등?)

내용을 보면 그것과는 좀 다른 느낌?

 

Retinex improves visual rendering of an image when lighting conditions are not good. While our eye can see colors correctly when light is low, cameras and video cams can't manage this well. The MSRCR (MultiScale Retinex with Color Restoration) algorithm, which is at the root of the Retinex filter, is inspired by the eye biological mechanisms to adapt itself to these conditions. Retinex stands for Retina + cortex.

[링크 : https://docs.gimp.org/en/plug-in-retinex.html]

 

Retinex 알고리즘은
칼라의 일관성과 시각적인 개선을 제공하지만, 전역적인 contrast 감소와 후광효과 및 색왜곡 문제를 발생시
키기도 한다

[링크 : https://www.koreascience.or.kr/article/JAKO201307364424092.pdf]

 

입력 영상에 들어있는 배경 성분을 제거하는 것

[링크 : https://kipl.tistory.com/65]

'이론 관련 > 2D 그래픽 관련' 카테고리의 다른 글

jpeg 헤더  (0) 2020.12.01
영상처리 관련 링크 기술  (0) 2017.04.19
HDRi / HDRI (High dynamic range imaging)  (0) 2011.04.29
BDF - Bitmap Distribution Format  (0) 2011.04.28
pbm pgm - Netpbm format  (2) 2010.06.09
Posted by 구차니
embeded/jetson2022. 1. 20. 15:37

tegrastats를 실행하면 된다는데 root 권한이 아니면 몇가지 항목이 나오지 않는다.

$ sudo tegrastats
RAM 493/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) IRAM 0/252kB(lfb 252kB) CPU [2%@102,3%@102,1%@102,0%@102] EMC_FREQ 0%@204 GR3D_FREQ 0%@76 APE 25 PLL@23.5C CPU@24C PMIC@50C GPU@25.5C AO@32C thermal@24.5C
RAM 493/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) IRAM 0/252kB(lfb 252kB) CPU [2%@102,2%@102,0%@102,0%@102] EMC_FREQ 0%@204 GR3D_FREQ 0%@76 APE 25 PLL@23.5C CPU@24C PMIC@50C GPU@25.5C AO@32C thermal@24.75C

$ tegrastats
RAM 475/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) CPU [2%@102,1%@102,0%@102,0%@102] EMC_FREQ 0% GR3D_FREQ 0% PLL@24C CPU@24C PMIC@50C GPU@26C AO@32C thermal@25C
RAM 475/1980MB (lfb 240x4MB) SWAP 0/5086MB (cached 0MB) CPU [2%@102,1%@102,1%@102,0%@102] EMC_FREQ 0% GR3D_FREQ 0% PLL@24C CPU@24.5C PMIC@50C GPU@26C AO@32.5C thermal@25C

[링크 : https://forums.developer.nvidia.com/t/gpu-usage-info-nvidia-smi-is-not-there/76155/5]

[링크 : https://m.blog.naver.com/zeta0807/222008386346]

 

jtop은 내장은 아니고 별도로 받아서 빌드해야 한다.

[링크 : https://github.com/rbonghi/jetson_stats]

'embeded > jetson' 카테고리의 다른 글

jetson nano developer board(구형) 부팅 문제  (0) 2022.02.09
nvidia jetson nano 2gb / csi  (0) 2022.01.21
jetson nano 2g dev. kit 셋업  (0) 2022.01.20
jetson nano 켜보는데..  (0) 2022.01.19
jetson nano 2gb RTC?  (0) 2022.01.19
Posted by 구차니
embeded/jetson2022. 1. 20. 14:10

jetson nano의 커널은 올라오고 나서 인 것 같은데, 윈도우에서는 아래와 같은 장비들이 추가된다.

- linux gadget driver를 이용한 USB 스토리지 (Linux File-Stor Gadget USB Device)

- virtual control port(USB직렬 장치)

- 가상 네트워크 192.168.55.100 (Remote NDIS Compatible Device)

 

스토리지에도 먼가 나오긴 한데 딱히 눈에 띄는 건 없다.

 

l4t-serial.inf 라고 VID는 맞는데 PID가 701A라서 7020으로 뜨는 CDC NCM은 정체를 모르겠다.

[DeviceList]
%ACMDevice%=DDInstall, USB\VID_0955&PID_701A&REV_0002&MI_02

[DeviceList.NTamd64]
%ACMDevice%=DDInstall, USB\VID_0955&PID_701A&REV_0002&MI_02

 

아무튼 설치를 위해 microSD를 굽고 전원 on!

시리얼 콘솔(TTL, 출력 로그)

 

micro USB를 통한 virtual USB serial port

헤드리스 셋업을 위해서 사용하는데 반드시! "스페이스"를 눌러야 반응한다. -_-

 

다른건 그냥 무난한데.. 랜선을 안꽂고 해서 그런가 headless 설치시에는 NIC을 어떤걸 쓸지 물어본다.

귀찮으면 eth0 선택하고 랜선 꽂아주면 끝.

 

 

계정 생성후에는 아래와 같이 micro USB의 VCP를 통해 시리얼 콘솔로 접속할 수 있다

(물론 커널 메시지는 이쪽으로 출력되지 않는 시리얼 콘솔일 뿐)

 

 

그나저나 리눅스에서도 자동으로 192.168.55.100 으로 잡힌다는데

네트워크 장치에서 어떻게 ip를 설정되는지 원리가 궁금하네..

[링크 : https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-2gb-devkit#setup]

'embeded > jetson' 카테고리의 다른 글

nvidia jetson nano 2gb / csi  (0) 2022.01.21
jetson nano gpu 사용 상태 확인  (0) 2022.01.20
jetson nano 켜보는데..  (0) 2022.01.19
jetson nano 2gb RTC?  (0) 2022.01.19
nvidia jetson nano 2gb  (0) 2022.01.19
Posted by 구차니
하드웨어/Storage2022. 1. 20. 10:32

UHS-1 U3 sd 카드는 처음 만져보는데 (64GB) 30~50MB/s 사이에 뜨는 것 같다.

꾸준히 유지되는건 아니지만 순간적으로 60MB/s 까지도 올라온다.

'하드웨어 > Storage' 카테고리의 다른 글

webbios raid 설정.  (0) 2022.02.17
lsi raid sbr?  (0) 2022.02.17
uhs1 과 u1  (0) 2021.08.22
WWN  (0) 2020.11.02
d-link dns-343  (2) 2020.10.31
Posted by 구차니