embeded/raspberry pi2015. 4. 24. 08:20

테스터가 없어서

회사 들고와서 전압을 체크 했는데

통전 시험 ok

전압 3.3v ok

전압 5.5v ok


머지 -ㅁ-?


---

device tree overlay 관련해서 lirc-rpi만 했는데

아래것들도 해줘야 하는건가 ...

# Uncomment this to enable the lirc-rpi module

#dtoverlay=lirc-rpi


# Uncomment this to override the defaults for the lirc-rpi module

#dtparam=gpio_out_pin=16

#dtparam=gpio_in_pin=17

#dtparam=gpio_in_pull=down


[링크 : https://www.raspberrypi.org/documentation/configuration/device-tree.md] 


dtoverlay=lirc-rpi

dtparam=gpio_out_pin=16

dtparam=gpio_in_pin=17

dtparam=gpio_in_pull=down

or appended to the overlay line like this:


dtoverlay=lirc-rpi:gpio_out_pin=16,gpio_in_pin=17,gpio_in_pull=down 


[링크 : https://www.raspberrypi.org/documentation/configuration/device-tree.md]



GPIO16/17은 먼데 설정을 해주지 -ㅁ-?


[링크 : http://elinux.org/RPi_BCM2835_GPIOs]



+

[링크 : http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/]

[링크 : http://aron.ws/projects/lirc_rpi/]

Posted by 구차니
embeded/raspberry pi2015. 4. 23. 09:12


before


after


집에가서 해봐야지 머.. ㅠㅠ


IR 리시버 수신 방향이라던가

높이 문제라던가 여러가지가 발생할 것으로 예상... OTL

Posted by 구차니

지르는데 이유가 있나? 걍 지르는거지 머 ㅋㅋ

그나저나..


래곤 에이지 : 오리진

Peggle

bejeweled

simcity 2000

wing commander 3

는 오리진 무료 게임으로 풀은적이 있는건데?!


데드 스페이스 2는 이미 있고

C&C 전편은 예전에 아마존에서 할인할때 샀고

일단 이번 지름 목적은 윙커맨더 4 ㅋ





+



어?peggle은 예전거랑 다른건가?!


Posted by 구차니
embeded/raspberry pi2015. 4. 22. 09:53

플랫폼

- Raspberry pi 2 B+

- openelec / kodi helix 14.x

- 늘솜 GPIO 확장 키트 + ir receiver(TSOP38238)



GPIO IR receiver

Don't have a CEC TV or a smartphone remote? For less than a dollar/euro, you can add an IR receiver to your Raspberry Pi that works with most MCE and Apple remotes (and a few others). Most Kodi install options for the Pi should work with the GPIO IR out of the box, or by enabling a setting from within Kodi. Go to a local electronics store or search on ebay for "TSOP4838" and use some simple jumper wires (or solder the pins directly, if you wish). (We need a link to a good, up to date GPIO IR guide. Most of the links I found are outdated and contain instructions for additional configurations that are no longer required. If you find a good link/guide, please add it to the wiki.)


If you are using OpenELEC just add this to your config.txt file:

device_tree_overlay=lirc-rpi

[링크 : http://kodi.wiki/view/Raspberry_Pi] 


[링크 : http://wiki.openelec.tv/index.php/Guide_To_lirc_rpi_GPIO_Receiver]


[링크 : http://wiki.openelec.tv/index.php/Guide_to_add_your_own_remote]

[링크 : http://www.alessandrocolla.com/configuring-ir-remote-control-openelec-5-0/]


config.txt에 넣어 나서 부팅로그

OpenELEC:~ # dmesg | grep -i lirc

[    5.581824] lirc_dev: IR Remote Control driver registered, major 248

[    5.601775] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.

[    6.495878] lirc_rpi: auto-detected active high receiver on GPIO pin 18

[    6.498306] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0

[    6.498585] lirc_rpi: driver registered!

[    6.822791] input: lircd as /devices/virtual/input/input1 


OpenELEC:~ # ps -ef | grep -i lirc

  213 root       0:00 /usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd --release=_UP

  386 root       3:28 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd

  390 root       0:00 /usr/sbin/lircd --uinput --driver=default --device=/dev/lirc0 --output=/run/lirc/lircd-lirc0 --pidfile=/run/lirc/lircd-lirc0.pid /etc/lirc/lircd.conf.rpi

  530 root       0:00 grep -i lirc 



나머지는... 땜질 다시 하고 나서 ㅠㅠ



경로가 미묘하게 다른거 같은데.. 다른 설정도 있나..

아니면 땜질하다가 부품 태워먹었나.. ㅠㅠ

irw /var/run/lirc/lircd-lirc0

-> irw /run/lirc/lircd-lirc0



# ir-keytable -p LIRC

Couldn't find any node at /sys/class/rc/rc*.

# ir-keytable -p LIRC -d /sys/class/lirc/lirc0

Unable to query evdev protocol version: Inappropriate ioctl for device



Posted by 구차니
embeded/raspberry pi2015. 4. 22. 08:07

최초 부팅시에 뜨는 화면을 다시 실행하는 유틸리티

예전에 적어둔거 같은데.. 어디갔지 -_-?


[링크 : https://www.raspberrypi.org/documentation/configuration/raspi-config.md]

Posted by 구차니
embeded/raspberry pi2015. 4. 22. 08:05

라즈베리 1b 기준으로 테스트 한 문서

(USB 포트가 2개라서 보드레이아웃이 B 인듯? 그리고 2015년에 2가 나왔으니..)

[링크 : http://www.mobileappsystems.com/blog/raspberry-pi-overclocking-overvolting]



turbo 모드로 할 경우 warranty에 영향이 없음이라는데...



We’ve been doing a lot of work to understand the impact of voltage and temperature on lifetime, and are now able to offer a “turbo mode”, which dynamically enables overclock and overvolt under the control of a cpufreq driver, without affecting your warranty. We are happy that the combination of only applying turbo when busy, and limiting turbo when the BCM2835’s internal temperature reaches 85°C, means there will be no measurable reduction in the lifetime of your Raspberry Pi.

[링크 : https://www.raspberrypi.org/introducing-turbo-mode-up-to-50-more-performance-for-free/]


Overclocking

NOTE: Setting parameters other than that available by 'raspi-config' will set a permanent bit within the SoC, making it possibly to detect that you Raspberry Pi has been overclocked. This was meant to void warranty if the device has been overclocked. Since 19th of September 2012 you can overclock your Raspberry Pi without affecting your warranty[2]


The latest kernel has a cpufreq kernel driver with the "ondemand" governor enabled by default. It has no effect if you have no overclock settings. But when you do, the arm frequency will vary with processor load. Non default values are only used when needed according to the used governor. You can adjust the minimum values with the *_min config options or disable dynamic clocking with force_turbo=1. [3]


Overclock and overvoltage will be disabled at runtime when the SoC reaches 85 °C to cool it down. You should not hit the limit, even with maximum settings at 25 °C ambient temperature. [4]

[링크 : http://elinux.org/RPiconfig]

Posted by 구차니
embeded/raspberry pi2015. 4. 21. 21:54

---

2015.04.22 추가

어? 생각해보니 여기가 아니다!!!

아무튼.. 이녀석.. 적외선 리시버를 장착한 채로는 사용불가!

위로 옮기던가 하기 전에는 사용못한다.

---


어? 늘솜 제품을 샀는데..

사진이랑 다르다!?!?!


확인을 해보니.. 이녀석.. 원래는 라즈베리 파이 A/B용 B+ 나 2 B+용이 아니다!!!


엘레파츠에서 파는 방열판과 높이가 안맞는다!!!

그래서 핀 헤더가 완전히 장착되지 못하고 뜨는데!!!! ㅠㅠ


일단 핀 배열 자체는 26핀 이후에 14핀이 추가된 개념이라 차이가 없어 보이니 일단 궈궈중

2015/02/26 - [개소리 왈왈/라즈베리 파이 2] - 라즈베리 2 하드웨어 관련 정보 및 win10 IoT



[링크 : http://www.alessandrocolla.com/configuring-ir-remote-control-openelec-5-0/]

[링크 : http://wiki.openelec.tv/index.php/Guide_to_add_your_own_remote]

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

라즈베리 파이 / raspbian + raspi-config  (0) 2015.04.22
라즈베리 오버클럭 테스트 링크  (0) 2015.04.22
지름 도착  (0) 2015.04.21
아 일단 질러 ㅋㅋㅋ  (2) 2015.04.20
ir bpf ?  (0) 2015.04.18
Posted by 구차니
embeded/raspberry pi2015. 4. 21. 11:06

땜질이나 하자~




고작 이거 때문에!!!! ㅠㅠ


그래도 이렇게 넣으면 깔끔하긴 하네..


크으으윽 저넘의 IR 리시버 ㅠㅠ


간만에 땜질하려니 깔끔하게 잘 안되네 ㅠㅠ


Posted by 구차니
embeded/raspberry pi2015. 4. 20. 17:31

배송비 포함 대략 1.1만 ㅋㅋ

일단은 주 목적은 저 넘의 ir receiver인데

4일 걸려서 1000원짜리 4개 살바에는

바로 사서 이쁘게 쓰자! ㅋㅋ





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

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

라즈베리 파이 2 늘솜 확장보드 - 어? 길이가..!!?  (0) 2015.04.21
지름 도착  (0) 2015.04.21
ir bpf ?  (0) 2015.04.18
라즈베리 파이 2 ir receiver 조사하기..  (0) 2015.04.18
initramfs 조사  (0) 2015.04.17
Posted by 구차니
embeded/raspberry pi2015. 4. 18. 11:11

bpf - band pass filter

[링크 : http://en.wikipedia.org/wiki/Band-pass_filter]


IR 수광부와 리모컨에서 사용하는 녀석이 무슨 차이인가 해서

조사를 해봤더니 Band Pass라는 녀석이 있는데




1kHz 짜리 BPF를 구성하는데 이렇게 다양하고 많은 부품이 필요하댄다 -_-

[링크 : http://www.scienceprog.com/diy-simple-band-pass-filter/] 1k bpf

[링크 : http://www.paulodowd.com/2013/06/arduino-38khz-bandpass-software-digital.html]



괜히.. 이런 리모컨 부품이 비싼게 아닌듯..

IR 수광부는 싼게 100원 근처인데 반해 리모컨용 수광부는 1000원 정도 하는거 보면...

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

지름 도착  (0) 2015.04.21
아 일단 질러 ㅋㅋㅋ  (2) 2015.04.20
라즈베리 파이 2 ir receiver 조사하기..  (0) 2015.04.18
initramfs 조사  (0) 2015.04.17
라즈베리 파이 2 커널모듈 빌드  (0) 2015.04.16
Posted by 구차니