하드웨어2010. 2. 16. 11:50
디지털이라길래 신호가 PWM 대신 디지털일줄 알았는데(예를 들어 8bit 신호라던가?)
PWM이라서 먼가 조금 실망?!



[링크 : http://eleparts.co.kr/front/productdetail.php?productcode=010011000000012589&sort=]

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

USIM / SIM  (0) 2010.02.19
디커플링(decoupling) / 바이패스(bypass) 캐패시터  (0) 2010.02.16
감압식 / 정전식 터치패드  (6) 2010.02.09
터치 패널관련 문서  (4) 2010.02.09
resonator / X-TAL(crystal) / Oscillator  (0) 2010.02.08
Posted by 구차니
하드웨어2010. 2. 9. 16:48
resistive [rizístiv] a.
저항하는, 저항력 있는, 저항성의; 〖전기〗 저항의.

capacitive [kəpǽsətiv] a.
〖전기〗 전기 용량의, 용량성의.

용어대로라면, 감압식이라기 보다는 저항식 터치가 되어야 하지 않을까 생각이 되지만,
아무튼, 감압식은 두장의 패널로 좌표를 측정하는 방식이다.
누르면 저항이 변경되고 이 값을  4개의 핀으로 보내 ADC를 통해 좌표를 추출한다.(일종의 위치에 따른 가변저항?)


그에 반해, 정전식은
전기가 통할수있는(그렇다고 몇백 볼트는 아니겠지만) 유리같은 녀석에 신체와 같이 전하를 띄는 물체가
접촉하거나 근접하면 접촉면 내의 전하가 이동하여 생기는 변화를 측정하여 좌표를 측정한다.

정전식에는 두가지가 있는데
미세한 matrix 를 행/열 단위로 조사하여 접촉 지점을 특정하는 방법과,
절대 정전값을 통해 위치를 특정하는 방법이 있다고 한다.


행/열 스캔 < >그리드 스캔

아래의 링크를 보면 정전식의 두가지 구조를 볼수 있다.
[링크 : http://electronics.howstuffworks.com/iphone2.htm] << 그림만 봐도 머리에 쏙쏙!

Capacitive sensors can be constructed from many different media, such as copper, Indium tin oxide (ITO) and printed ink. Copper capacitive sensors can be implemented on standard FR4 PCBs as well as on flexible material. ITO allows the capacitive sensor to be up to 90% transparent (for single layer solutions). The size and spacing of the capacitive sensor are both very important to the sensor's performance. In addition to the size of the sensor, and its spacing relative to the ground plane, the type of ground plane used is very important. Since the parasitic capacitance of the sensor is related to the E-Field's path to ground, it is important to choose a ground plane that limits the concentration of E-Field lines without a conductive object present.


Designing a capacitance sensing system requires first picking the type of sensing material (FR4, Flex, ITO, etc). One also needs to understand the environment the device will operate in, such as the full operating temperature range, what radio frequencies are present and how the user will interact with the interface.


There are two types of capacitive sensing system. Transcapacitance, where the object (finger, conductive stylus) alters the transcapacitance coupling between row and column electrodes, which are scanned sequentially.[3] The second is Absolute Capacitance where the object (finger, etc.) senses the presence and absolute position horizontally and vertically on the surface. Subtraction of a preceding absolute position from the present absolute position yields the relative motion of the object/finger during that time.


[링크 : http://en.wikipedia.org/wiki/Capacitive_sensing]


구조적으로만 따지면, 감압식도 멀티터치가 불가능해 보이진 않지만 음.. 돈이 문제일려나?
아무튼 단순하게 값으로 받아내기에는 감압식이 간단하며
정전식은 별도의 처리과정을 통해(일종의 이미지 프로세싱/그룹핑) 터치/멀티 터치를 구현한다.

그리고 정전식은 전하를 지닌 물건이 아니면(노골적으로 말하자면 손!) 터치가 되지 않으며
온도나 습도 그리고 전하용량에 많은 영향을 받는다.
직접 아이폰을 사용해보진 않았지만, 극단적으로 장시간 무중력 상태에서 사용하면 터치가 안될지도 모르겠다?!
(인간의 몸의 정전용량은 한계가 있고, ground 처리로 바닥을 통해 빠져나가서 전하용량의 차이로 터치가 되는건데
다른 물체와 접촉하지 않은 상태에서의 인간의 전하용량이 언젠가는 터치패드와 동일해질수 있을것이고
그러면 결국에는 터치가 인식되지 않을 가능성이 있어 보인다.)

[링크 : http://ko.wikipedia.org/wiki/정전식_터치스크린]
[링크 : http://ko.wikipedia.org/wiki/감압식_터치스크린]
[링크 : http://en.wikipedia.org/wiki/Resistive_touchscreen]
[링크 : http://en.wikipedia.org/wiki/Capacitive_sensing]
Posted by 구차니
하드웨어2010. 2. 9. 00:34
터치패널 데이터시트를 보다보니 어떤 원리로 센싱을 하게 되는지 궁금해졌다.
일단 터치패널 + 터치 컨트롤러 조합으로 사용하게 되는데


터치패널은 단순하게 4개의 선을 빼줄뿐이고
터치 컨트롤러는 이 선에서 나오는 모종의 정보를 이용해서 좌표를 계산한다.

내용을 읽어보니, 저항막 방식으로
한곳이 눌리면 저항값이 변경되며(다르게 말하면 선이 연결됨)
그 순간의
X1 ~ X2 의 값을 통해 X 좌표를,
Y1 ~ Y2 의 값을 통해 Y 좌표를 얻어낸다.


머.. 이런식으로 구성된 일종의 가변저항의 느낌이려나?

[링크 : http://embedded.kut.ac.kr/projects/01graduate/touch/touch.htm]
Posted by 구차니
PXA-255로 대략 400Mhz 작동. 그리고 메모리는 32MB
시리얼은 115K로 작동(은근히 이거 찾는다고 귀차니즘..)

$cat /proc/cpuinfo
Processor       : Intel XScale-PXA255 rev 6 (v5l)
BogoMIPS        : 396.56

$cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  31162368 19542016 11620352        0   176128 14811136
Swap:        0        0        0
MemTotal:        30432 kB

$cat /proc/cmdline
init=/linuxrc mem=32M console=ttyS0,115200



'하드웨어 > PalmPalm Tynux Box' 카테고리의 다른 글

tynuxbox X와 H-JTAG (wiggler / parallel)  (0) 2013.07.02
tynux 커널소스 역추적  (0) 2012.07.29
RedBoot  (0) 2010.07.09
Tynux Box boot log  (0) 2010.07.09
PalmPalm Tynuxbox  (2) 2010.02.08
Posted by 구차니
하드웨어2010. 2. 8. 11:22
AVR을 공부하면서 여러가지가 있는데, 무슨 차이인지 몰랐다.

아무튼 레조네이터(resonator)는 굳이 번역하자면 공명기/공진기 인데
세라믹 공진기를 통해 주파수를 발진하고, 상대적으로 낮은 안정도를 보인다.(클럭이 불규칙)

오실레이터(OSC)는 X-TAL이 온도나 전압에 따라 불안정한 클럭을 보이는 것을 보정하기 위해
전압제어(VCXO - Voltage-controlled X-tal oscillator)을 하거나
온도보상(TCXO - Temperature-compensated X-stal oscillator)을 한다.

레조네이터 < X-TAL < OSC 순서로 안정화 됨

[링크 : http://pepsiman.tistory.com/62]


Crystal oscillator types and their abbreviations:

  • ATCXOAnalog temperature controlled crystal oscillator
  • CDXO — Calibrated dual crystal oscillator
  • DTCXO — Digital temperature compensated crystal oscillator
  • EMXO — Evacuated miniature crystal oscillator
  • GPSDO — Global positioning system disciplined oscillator
  • MCXOMicrocomputer-compensated crystal oscillator
  • OCVCXOoven-controlled voltage-controlled crystal oscillator
  • OCXOOven-controlled crystal oscillator
  • RbXORubidium crystal oscillators (RbXO), a crystal oscillator (can be an MCXO) synchronized with a built-in rubidium standard which is run only occasionally to save power
  • TCVCXO — Temperature-compensated voltage-controlled crystal oscillator
  • TCXO — Temperature-compensated crystal oscillator
  • TMXO - Tactical miniature crystal oscillator[71]
  • TSXO — Temperature-sensing crystal oscillator, an adaptation of the TCXO
  • VCTCXO — Voltage-controlled temperature-compensated crystal oscillator
  • VCXO — Voltage-controlled crystal oscillator
[링크 : http://en.wikipedia.org/wiki/TCXO]

Posted by 구차니
하드웨어2010. 2. 8. 11:06
일반적으로 디지털 통신이나 RF에서 (같은건가?) 사용하는 녀석이다.
CPU에서 24Mhz 이런게 들어 가는데 어떻게 기가급의 클럭이 나오나 궁금했는데
이녀석으로 클럭을 뻥튀기 해주는것으로 생각된다. PLL 이라는 Phase Lock Loop 어쩌구 하는데 먼소리여 ㄱ-

[링크 : http://somedayhug.tistory.com/38]
[링크 : http://www.rfdh.com/bas_rf/begin/pll.php3]

A CPU with a 10x multiplier will thus see 10 internal cycles (produced by PLL-based frequency multiplier circuitry) for every external clock cycle.
[링크 : http://en.wikipedia.org/wiki/CPU_multiplier]

[링크 : http://en.wikipedia.org/wiki/Frequency_multiplier]
[링크 : http://en.wikipedia.org/wiki/PLL]
Posted by 구차니
지인에게 삥(!) 뜯어온 녀석인데 언제 이거 공부하나 AVR도 아직 못했는데 ㅠ.ㅠ
아무튼 구하기 힘들다는데 역시 구글신에게 경배를 드리니 떡하고 나오는 이 링크!
CD 전체 내용인듯 한데 흐음..

중요한건.. 아래 링크는 Tynuxbox 2 라는것! ㅠ.ㅠ

[링크 : ftp://61.100.228.66/embeded_System/PalmPalm_Tynux_Box_II/PalmPalm_Tynux-II/document/]



[링크 : http://adams.kwangwoon.ac.kr/tynux.files/slide0001.htm]



음.. 여기서는 Tynuxbox X 라고 나오네 ㅠ.ㅠ


[링크 : http://levin01.tistory.com/1787]
[링크 : http://www.webdizen.net/blog/1555]

'하드웨어 > PalmPalm Tynux Box' 카테고리의 다른 글

tynuxbox X와 H-JTAG (wiggler / parallel)  (0) 2013.07.02
tynux 커널소스 역추적  (0) 2012.07.29
RedBoot  (0) 2010.07.09
Tynux Box boot log  (0) 2010.07.09
tynuxbox  (0) 2010.02.08
Posted by 구차니
하드웨어2010. 1. 20. 10:34
예전에 전정/제계쪽에서 로봇제어용으로 블루투스 쓴다고 한거 같아서
어느정도 속도가 나오가 문득 궁금해져서 검색하게 되었다.
아무리 느리다고 해도 RS-232보다는 빠르니 충분히 시리얼을 대체할 무선 통신 기술이긴하다.
RS-232로 일반적으로 사용하는 속도가 9600bps 에서 115kbps 이니 지그비로는 조금 느릴수도 있겠지만
저전력을 감안하면 지그비도 나쁘진 않을듯 하다.

음.. 그런데 임베디드에서 어떻게 쓰지?


블루투스 SIG에는 소니 에릭슨, IBM, 노키아, 도시바가 참여하였다.
IEEE 802.15.1 규격을 사용하는 블루투스는 PANs(Personal Area Networks)의 산업 표준이다.
블루투스는 ISM 대역인 2.45GHz를 사용한다.
버전 1.1과 1.2의 경우 속도가 초당 723.1 킬로비트(723.1kb/s)에 달하며,
버전 2.0의 경우 EDR(Enhanced Data Rate)을 특징으로 하는데, 초당 2.1 메가비트(2.1Mb/s)의 속도를 낼 수 있다

[링크 : http://ko.wikipedia.org/wiki/블루투스]
[링크 : http://en.wikipedia.org/wiki/Bluetooth]

직비(영어: ZigBee)는 IEEE 802.15.4(PHY, MAC)에 기반한 무선 기술 스펙이다.
직비는 산업, 과학, 의학용 무선 주파수(ISM 밴드) 내에서 작동한다.
또한, 유럽에서는 868 MHz, 미국과 오스트레일리아에서는 915 MHz, 범세계적으로는 2.4 GHz 무선 주파수를 사용한다.

The radios use direct-sequence spread spectrum coding, which is managed by the digital stream into the modulator. BPSK is used in the 868 and 915 MHz bands, and orthogonal QPSK that transmits two bits per symbol is used in the 2.4 GHz band. The raw, over-the-air data rate is 250 kbit/s per channel in the 2.4 GHz band, 40 kbit/s per channel in the 915 MHz band, and 20 kbit/s in the 868 MHz band. Transmission range is between 10 and 75 meters (33 and 246 feet) and up to 1500 meters for zigbee pro, although it is heavily dependent on the particular environment. The maximum output power of the radios is generally 0 dBm (1 mW).

[링크 : http://ko.wikipedia.org/wiki/직비]
[링크 : http://en.wikipedia.org/wiki/ZigBee]

Posted by 구차니
하드웨어2010. 1. 16. 01:23

돈도 없는 불쌍한 직딩이라. 감히 오실로스코프 하나 사지 못하고
찌질찌질하면서 예전 기억을 되살려 검색을 해보았다.
이름하여, 100원으로 오실로스코프 만들기! (사운드 카드이용)


구동하면 이런 화면이 나온다. 사운드카드로 마이크 녹음 스테레오 가능하다면 2채널을 찍을수 있다.
Amplitude와 Time은 사운드의 성능에 따라 다르지만
48Khz 에 16bit 라면, 24Khz 주파수(40usec)에 65535 단계 까지 가능할것으로 보인다.

물론 제한사항으로 입력값은 +-0.7V 라고 하던데
가변저항으로 입력값을 제한두는 것을 고려해야지 안그러면
사운드카드 날아갈수도 있다고 한다.



아래는 위의 화면을 Save 버튼을 이용해서 저장한것으로
PNG와 jpg로 저장을 하며, csv 포맷으로 파형에 대한 값을 텍스트로 출력해준다.

png로 출력된 파형

jpg로 출력된 파형


csv(텍스트)로 출력된 파형


[링크 : http://cafe.naver.com/ArticleRead.nhn?clubid=10750951&menuid=&searchtype=1&query=%EC%98%A4%EC%8B%A4%EB%A1%9C%EC%8A%A4%EC%BD%94%ED%94%84&page=5&articleid=6979]
[링크 : http://blog.daum.net/hammomo1961/11617408]
[링크 : http://www.bestest.net/blog/101?TSSESSION=7304df49488552526fc1f4bf6c28af42]

-- 무료는 아니나 상용이 아니면 사용가능 --
[링크 : http://www.zeitnitz.de/Christian/scope_faq]

-- 유료 / Trial --
[링크 : http://www.virtins.com/]
[링크 : http://www.zelscope.com/]

-- 리눅스 --
[링크 : http://xoscope.sourceforge.net/]

--------
물론 이런 허접한 오실로스코프 말고,
USB 타입으로 된 제대로된 제품도 있지만, 30~40 만원정도를 오간다.
[링크 : http://www.kitkorea.com/front/php/product.php?product_no=1662&main_cate_no=1&display_group=2] 50Mhz



2010.04.20 추가


[링크 : http://www.introductiontorife.com/sw_winscope.html]
Posted by 구차니
하드웨어2010. 1. 14. 12:24
요즘 모니터들은 그래픽카드와 통신을 해서 여러가지를 알려준다.
이러한 정보를 EDID라고 하며, 이러한 정보를 이용하여 그래픽카드는 사용가능한 해상도, 색상, 주파수를 설정한다.

[링크 : http://en.wikipedia.org/wiki/Extended_display_identification_data]
[링크 : http://ubuntu.or.kr/viewtopic.php?p=42956]

근데.. 이게 꼬이면 그래픽카드에서 이상하게 모니터를 설정한다는 문제가...
(해결방법 찾는중 OTL)
Posted by 구차니