MIPI(Mobile Industry Processor Interface) 나 

DVP(Digital Video Port)나 둘다

I2C를 통해서 레지스터를 조작해 장치를 제어하는 건 동일하나

데이터가 시리얼이냐 패러럴이냐의 차이인듯?




[링크 : http://mipi.org/specifications/camera-interface]


For a standard DVP image sensor you will find the following signals:


SCL: I2C compatible clock signal for sensor registers configuration

SDA: I2C compatible data signal for sensor registers configuration

XCLK: clock input to the sensor

PCLK: clock output from the sensor,

HREF: Line valid signal

VSYNC: Frame valid signal

Data[N-1..0]: Data output from the sensor, N is the internal ADC bit width.

[링크 : http://www.arducam.com/hardware/]


[링크 : http://www.seeedstudio.com/wiki/images/3/3c/Ov5647_full.pdf]

[링크 : http://www.voti.nl/docs/OV7670.pdf]

'하드웨어 > 캡쳐보드 카메라' 카테고리의 다른 글

AEL? - AE Lock?  (0) 2016.05.12
eos m - 22mm / 18-55mm 렌즈 화각비교  (2) 2016.05.11
글로벌 셔터/ 롤링셔터  (0) 2015.07.27
열영상 센서 - 렙톤(FLIR Lepton)  (0) 2015.07.24
nikon f-801s 릴리즈 관련  (0) 2012.12.15
Posted by 구차니
embeded/i2c2015. 9. 2. 17:31

주소번지의 한계를 넘기기 위해 

일종의.. 페이징? 이라고 해야 하려나?


Bank Switching Operation

I2C can access 256 addresses directly (i.e. 0x00 through 0xFF).

SMBus can access 128 addresses directly (i.e. 0x00 through 0x7F).

NB3H5150 has an address space which goes up to 0x14F. Therefore, a “bank switching” mechanism is included to allow access to all addresses no matter which bus protocol is used. Effectively, the two bank select bits are appended to the most-significant end of the seven-bit byte offset, creating a nine-bit address. The bank switch control bits(6:7) are located in Register 0x21.

The most significant two bits of that register are used for bank selection; the least significant six bits are used for the READBYTECOUNT Function.


[링크 : http://www.onsemi.com/pub_link/Collateral/NB3H5150_I2C_MANUAL.PDF]

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

i2c mode - tm4c  (0) 2018.04.26
i2c BUS에 pull-up, pull-down  (0) 2018.04.26
i2c 정리  (4) 2012.01.10
I2C  (2) 2011.11.28
SMBus 넌 머냐? - System Management Bus  (2) 2009.01.14
Posted by 구차니
embeded/raspberry pi2015. 9. 2. 16:23


CPU의 시리얼 번호를 기반으로 MAC을 생성 하는 듯?

그나저나.. BogoMIPS가 멋대로 바뀌네? ㄷㄷㄷ


타이머로 변경되면서 클럭 변경되면 다르게 나오려나?

$ cat /proc/cpuinfo

processor       : 0

model name      : ARMv7 Processor rev 5 (v7l)

BogoMIPS        : 38.40

Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

CPU implementer : 0x41

CPU architecture: 7

CPU variant     : 0x0

CPU part        : 0xc07

CPU revision    : 5 


$ cat /proc/cpuinfo

processor       : 3

model name      : ARMv7 Processor rev 5 (v7l)

BogoMIPS        : 57.60

Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

CPU implementer : 0x41

CPU architecture: 7

CPU variant     : 0x0

CPU part        : 0xc07

CPU revision    : 5


Hardware        : BCM2709

Revision        : a21041

Serial          : 00000000a37ce24e


$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq; cat /proc/cpuinfo

900000

processor       : 0

model name      : ARMv7 Processor rev 5 (v7l)

BogoMIPS        : 57.60

Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

CPU implementer : 0x41

CPU architecture: 7

CPU variant     : 0x0

CPU part        : 0xc07

CPU revision    : 5


$ sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq; cat /proc/cpuinfo

600000

processor       : 0

model name      : ARMv7 Processor rev 5 (v7l)

BogoMIPS        : 38.40

Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm

CPU implementer : 0x41

CPU architecture: 7

CPU variant     : 0x0

CPU part        : 0xc07

CPU revision    : 5


---

라즈 B


# cat /proc/cpuinfo

processor       : 0

model name      : ARMv6-compatible processor rev 7 (v6l)

Features        : half thumb fastmult vfp edsp java tls

CPU implementer : 0x41

CPU architecture: 7

CPU variant     : 0x0

CPU part        : 0xb76

CPU revision    : 7


Hardware        : BCM2708

Revision        : 000e

Serial          : 0000000055593a15


# ifconfig

eth0      Link encap:Ethernet  HWaddr B8:27:EB:59:3A:15

---



$ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:7c:e2:4e
          inet addr:192.168.10.23  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1685 errors:0 dropped:2 overruns:0 frame:0
          TX packets:358 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:107201 (104.6 KiB)  TX bytes:52547 (51.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1104 (1.0 KiB)  TX bytes:1104 (1.0 KiB)


$ cat /sys/class/net/eth0/address

b8:27:eb:7c:e2:4e


[링크 : http://www.robert-drummond.com/2013/05/23/how-to-find-the-mac-address-of-your-raspberry-pi/]

Posted by 구차니
회사일2015. 9. 2. 16:06

네이밍 센스가... 다른건가


[링크 : http://www.ktncusa.com/_media/EZHD-CameraChart_vs1.2.pdf]

[링크 : https://www.youtube.com/watch?v=3SGll7OdHdI]

'회사일' 카테고리의 다른 글

lwip + freeRTOS  (0) 2015.12.09
raw video streaming  (0) 2015.09.16
SDI 12G ... 6G  (0) 2015.05.18
HD-AHD / HD-TVI / HD-CVI / EX-SDI  (0) 2015.04.16
ltib - linux target image builder  (0) 2014.11.24
Posted by 구차니
분류가 모호한 글2015. 9. 1. 16:50

까먹기 전에 일단 링크나..


[링크 : http://excoa.com/work/기본형-스탠딩데스크]

[링크 : http://www.coredesk.kr/coredesk/index.html]

'분류가 모호한 글' 카테고리의 다른 글

NVD - National Vulnerability Database  (0) 2016.02.01
dense 3d reconstruction  (0) 2015.09.22
acoustic phased array speaker  (0) 2015.08.20
각종 오디오 코덱 가격  (0) 2015.01.26
img 와 iso  (0) 2014.08.29
Posted by 구차니

이번달에 그래도 몇개 안세워서 그런가..

앨범도 신청하고

라즈베리 빌드도 어찌어찌 하긴했고..

openGL이야 좀 미뤄두기로 했으니..


예정에 없던 지름으로 라즈베리 가지고 논다고 시간을 좀 소비..



다음달에는... openGL 하나만 잡아 볼까... ㅠㅠ

게임도 좀 하고 싶은데 ㅠㅠ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

시간 빠르다..  (0) 2015.10.10
돈 나올 구멍은 없고...  (0) 2015.10.02
애본다 바빠 ㅠㅠ  (0) 2015.08.22
경복궁 / 창덕궁 야간개장 예매 준비!  (0) 2015.08.05
국민은행 + KB 손해보험 -_-  (3) 2015.08.04
Posted by 구차니
embeded/raspberry pi2015. 8. 27. 08:24

자유낙하 실험... 은 아니고

가방에 넣어 두었는데

가방이 떨어지면서 먼가 불쾌한 철퍽 하는 소리..

꺼내보니 액정까진 아니고 액정 보호유리가 깨지고..

켜보니... ㅠㅠ


터치 축 틀어짐 -_-!!!!

캘리브레이션 한다고 될진 모르겠지만 끄아아아아 ㅠㅠ



사요나라

바이바이

잘가

ㅠㅠ





그러니 다시 사야하나? ㅠㅠ

[링크 : http://eleparts.co.kr/EPXDR9TM]

Posted by 구차니
embeded/ARM2015. 8. 26. 09:28

cortex-m3만 사용했는데 문득 M0 라던가 다른 모델군이 있는게 생각이 나서 검색..

일단은.. cortex-m3 는 그래도 나름! 풀 스펙에 가까운 표준형 cortex-m 시리즈라고 보면

M0는 숫자가 적은 만큼 마이너 버전이다.

그리고 M0/M1은 M3와 다르게 ARMv6 계열.. ㄷㄷㄷ

또한 Thumb 호환성도 조금 더 낮고(그래서 저전력/gate 수가 적다고)

결정적으로.. Hardware divider가 제외되어있다. 그나마 Hardware multiplier가 있는게 다행인가..


조금.. 의아한건..

M3/4/7이 Harvard 아키텍쳐인데 반해

M0/1은 폰 노이만으로의 회귀...


[링크 : https://en.wikipedia.org/wiki/Von_Neumann_architecture]

[링크 : https://en.wikipedia.org/wiki/Harvard_architecture]


[링크 : https://en.wikipedia.org/wiki/ARM_Cortex-M]


그런데 보다 보니 Saturated math라는게 보여서 링크를 따라가니.. 오홍.. 좋아 보이는데?!?!?!

간단하게 설명하면 더 큰 변수로 캐스팅, 계산 값 범위 비교, 클 경우 최대값 넣기

이 세가지를 한방에 끝내주는 연산이다. overflow로 인한 예측하지 못한 값에 의한 오류도 막아주고(물론 오차는 존재하지만)

if문에 의한 branch를 줄여주는 부분에서 상당한 장점이 있을 것으로 보인다.

[링크 : https://en.wikipedia.org/wiki/Saturation_arithmetic]

[링크 : http://www.arm.com/products/processors/cortex-m/]

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

arm11 simd instruction  (0) 2015.10.01
cortex-A5/A7  (0) 2015.09.21
ARM926EJ / ARMv5TE  (0) 2015.07.28
Jazelle 관련 검색  (0) 2015.04.28
ltib 패키지 요구사항  (0) 2015.04.13
Posted by 구차니

지금 구매한 ADXL345는 Digital Accelerometer 이다.

가속도 센서인데.. 가속도랑 기울기랑 자이로랑 은근 좀 헷갈린다 -_-

[링크 : http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf]




가속도 센서(accelerometer)

- 이름대로 중력 가속도에 의한 3축의 값을 측정

각속도 센서(gyro)

- 각의 변화량을 측정

기울기 센서(tlit)

- 물리적인 변화를 통해 각도를 측정(느림)



자이로 센서는 적분에서의 오차

기울기 센서는 느린 응답특성

가속도 센서는 회전 중심축과 센서의 중심이 맞아야한다는 문제

[링크 : http://www.ntrexgo.com/archives/3930]


[링크 : http://mechaworld.tistory.com/11]

자이로 센서 구조

[링크 : http://www.epnc.co.kr/atl/view.asp?a_id=11932]

[링크 : http://techlog.gurucat.net/104]


---

아오 이 기억력... -_-

2010/06/24 - [하드웨어] - 가속도 센서 / 자이로 센서 / 기울기 센서의 차이점


+

보정 필터

[링크 : http://pinkwink.kr/254]

'이론 관련 > 하드웨어 관련' 카테고리의 다른 글

adc - single ended / differential  (0) 2015.11.17
adc - 시그마델타 / SAR  (0) 2015.11.16
NTC 온도센서?  (0) 2015.08.07
SDIO / Secure Digital Input Output  (0) 2014.12.26
ADC 원리  (3) 2010.08.09
Posted by 구차니

거리 정보와 디스패리티(Disparity)의 관계

매칭 시간을 줄여주는 에피폴라 제한조건 (epipolar constraint)



결론은.. 에피폴라 행렬을 만들어내기 위해서

openCV에서 스테레오 카메라 관련해서 체크보드 출력해서 calibration을 하는거다. 라는거?

[링크 : http://www.ntrexgo.com/archives/2280]



[링크 : http://darkpgmr.tistory.com/83]

[링크 : https://en.wikipedia.org/wiki/Epipolar_geometry]

'이론 관련 > 사진 광학 관련' 카테고리의 다른 글

삼각측량 소스코드...  (0) 2015.10.19
카메라의 원리  (0) 2015.09.09
샤프니스 계산  (0) 2015.05.28
rolling shutter effect / jello effect ..  (0) 2015.05.22
SAD(Sum of Absolute Differences) 알고리즘  (0) 2015.05.06
Posted by 구차니