embeded/FPGA - ALTERA2020. 6. 19. 21:46

결론만 적자면.. DE0-Nano 가지고 있는데 LE는 훨신 많은 녀석

다만 얘는 LED랑 DIP 스위치 정도 밖에 없어서 교육용 보드가 좋긴한데

얼마나 자료가 있는지 미지수라.. 고민중

 

돈도 돈이고, 이사를 위해서 짐 줄이기 중이라 보류

 

DE0-Nano

Cyclone® IV EP4CE22F17C6N FPGA
22,320 Logic elements (LEs)

 

[링크 : https://www.terasic.com.tw/cgi-bin/page/archive.pl?No=593]

 

SoCMaster-XP100

altera excalibur (Zynq 같은 ARM9 + FPGA 구성)

[링크 : https://slidesplayer.org/slide/14579881/]

[링크 : https://docsplayer.org/20179759-실험1.html] 10만 게이트

 

EPXA1 시리즈일 가능성이 높아보임. 게이트야 10만인데 LEs로는 4160..

 

[링크 : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/exc_arm_hwdref_mnl.pdf]

 

표준 JTAG을 채용한것으로 보여 USB Blaster 같은 것으로 현재 사용이 가능할 것으로 보임

[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=B439033929]

 

 

Hybus X-HYPER320TKU

PXA320

[링크 : https://hyuniday.tistory.com/2]

 

FPGA 독립 실험이라...

 

Cyclone EP1C6240PQFP

잘보니 아래 Dot Matrix 라고 써잇는데가 Byte Blaster라고 실크가 써있네?

[링크 : https://docsplayer.org/20543999-X-hyper320tku_응용교재_v1-1-hwp.html]

 

EP1C6은 5980 LEs로 일단은 가장 높은 스펙.

그리고 ARM과는 독립적으로 IEB 보드만 공부할 수 있다는데 교재에 따로 내용이 있으려나?

[링크 : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ds/ds_cyc.pdf]

 

 

한백전자 HBE-Combo D1

Altera ACEX EP1K100QC208-3

[링크 : https://www.happycampus.com/report-doc/4450628/]

 

LPT 포트 만을 제공하고, 어디서 본걸로는.. FPGA 보드만 바꾸어서 ALTERA/xilinx 쓸 수 있었던 거 같은데..

SocMaster나 별반 차이는 없는 LEs

[링크 : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ds/archives/acex.pdf]

'embeded > FPGA - ALTERA' 카테고리의 다른 글

큰 맘 먹고 질렀으나..  (0) 2020.06.22
APEX FPGA quartus 지원 버전  (0) 2020.06.22
timequest time analyzer?  (0) 2018.06.28
altera quartus2 simulation 도움말  (0) 2018.06.28
modelsim 시뮬레이션과 initial  (0) 2018.06.27
Posted by 구차니
embeded/raspberry pi2020. 6. 17. 18:42

일단은 6V에서 9V로 올리니 모터쪽에 6V가 걸리긴 한데

문제는 두개 동시 구동하면 4V까지 떨어져서 골골골골 -_-

내가 잘못쓰고 있는건가? 방열판도 열이 장난아니고. 이걸 어떻게 해야 하려나?

 

 

 

 

핸드폰에 앱 올리고

 

일단 작동은 하는데, 조금 가지고 노니 배터리가 금세 닳네?

 

골골대길래 전압을 재보니

아까 6.3V 에서 5.7V로 왜이리 빨리 딿아 -ㅁ-?

 

전진 + 우측 눌러보니 5.7V가 4.0V로 전압강하

이러니 골골대지 하...

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

rpi bt ble advertise mode(beacon)  (0) 2020.10.12
rpi voip  (0) 2020.09.22
라즈베리 RC는 일단 구동에는 실패  (0) 2020.06.10
rpi / android h264 streaming  (0) 2020.05.24
hostapd 802.11n 설정하기 시도중  (0) 2020.05.16
Posted by 구차니
embeded/arduino(genuino)2020. 6. 15. 14:49

FM 라디오

재미있어 보이는 장난감인데 살까 말까..

 

[링크 : http://vctec.co.kr/product/프로그래밍-가능-스테레오-fm-라디오-모듈.../10533/]

[링크 : https://blog.naver.com/roboholic84/221618690454]

 

+

2022.08.08

[링크 : https://m.blog.naver.com/kjnam100/220694105789]

[링크 : https://github.com/kjnam100/radio_tea5767]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 USB HID  (0) 2021.05.07
아두이노 시리얼 플로터  (0) 2020.09.08
지름신 축적중  (0) 2020.06.10
ULN2003 보드 / 28BYJ-48 스텝 모터  (0) 2020.05.05
L298N 보드 사용 준비  (0) 2020.04.28
Posted by 구차니
embeded/arduino(genuino)2020. 6. 10. 21:30

호환인가 불법복제인가.. 무지 싸네?

 

[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=B507572246]

[링크 : https://atadiat.com/en/e-hands-on-test-saleae-usb-logic-analyzer-24mhz-8ch-clone/]

'embeded > arduino(genuino)' 카테고리의 다른 글

아두이노 시리얼 플로터  (0) 2020.09.08
TEA5767 살까 말까..  (0) 2020.06.15
ULN2003 보드 / 28BYJ-48 스텝 모터  (0) 2020.05.05
L298N 보드 사용 준비  (0) 2020.04.28
L293D 아두이노 드라이버  (0) 2020.04.22
Posted by 구차니
embeded/raspberry pi2020. 6. 10. 20:06

무거워서 못 움직임 ㅠㅠ

체중계 올려보니 무게는 안나오지만 체감으로는 500~600g 이상 될것 같은데..

이전에도 Ni-Cd 배터리 1.2V * 5로 작동하던 녀석이라 그런건지

아니면 모터 드라이버 구매한게 전류나 전압강하가 심한건지 힘이 부족해서 구동을 못한다.

 

 

라즈베리 2B + 무선랜 + 보조 배터리 + 1.5V * 4개 + 안드로이드 앱 해서 일단은 종료..

 

소스는 아래 공개.

회로도도 조만간 정리해서 올려야 할 듯.

[링크 : https://github.com/minimonk82/android_rpi_rc]

[링크 : https://github.com/minimonk82/android_rpi_rc]

 

+

전압 강하가 좀 심하다고 그러네.. 다른 보드를 찾아봐야 하나?

대략 2V 정도 강하한다고 한다.

 

[링크 : https://blog.naver.com/chandong83/221309861855]

[링크 : https://blog.naver.com/specialist0/220702544887]

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

rpi voip  (0) 2020.09.22
라즈베리 파이 자동차 전원 업그레이드?  (0) 2020.06.17
rpi / android h264 streaming  (0) 2020.05.24
hostapd 802.11n 설정하기 시도중  (0) 2020.05.16
hostapd 통신이 안되네? -> 되네!  (0) 2020.05.15
Posted by 구차니
embeded/odroid2020. 6. 2. 17:54

모니터 소비전력을 생각을 안하고 있었는데..

오늘 생각나서 재보니

 

MOTV LED21fs 1920x1080 해상도로 DVI 입력시

16.6W 정도 소비된다.

 

XU4로 동영상 재생시 6W 정도니까.

22W 정도 소비..

 

i5-2500, HD7850 데탑이

전원 꺼졌을때 1.57W

idle 상태에서 60~70W

fluid motion 적용해서 동영상 돌리면 110~120W 먹네..

 

아무튼 그 덕에.. 전기세가 많이 억제 된건가?

 

+

2020.06.04

노트북을 켜보니 idle 에서 24W

로드 조금 걸리면 35W 오락가락 하는데 이정도면.. 오드로이드로 낑낑대면서 쓸 바에는

모니터 + XU4 보다 약간 더 먹는 노트북이 더 이득인가?

아무튼 노트북이 데탑 보다 반 이상 조금 먹네..

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

odroid c2 ubuntu 20.04 64bit  (0) 2021.08.23
odroid c2  (0) 2021.08.22
odroid XU4 H.265 가능이라니  (0) 2020.05.08
odroid xu4 ADC 2CH  (0) 2020.03.28
odroid xu4 image 테스트  (0) 2020.03.28
Posted by 구차니
embeded/raspberry pi2020. 5. 24. 14:07

raspivid 와 몇가지 유틸리티 이용해서 스트리밍 하고

안드로이드에서 h264 스트림을 디코딩해서 출력해주는 녀석.

이걸 이용하면 내가 원하는걸 빨리 만들수 있을듯?

 

[링크 : http://frozen.ca/streaming-raw-h-264-from-a-raspberry-pi/]

[링크 : http://frozen.ca/rpi-camera-viewer-for-android/]

 

[링크 : https://play.google.com/store/apps/details?id=ca.frozen.rpicameraviewer]

Posted by 구차니
embeded/raspberry pi2020. 5. 16. 10:00

ht_capab 에서 HT40으로 되어있어서 에러가 나던데

일단은 conf 파일 예제에 있던 대로 HT40- 으로 하니 문제없이 작동하긴 한다.

ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]

[링크 : https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf]

 

로그를 분석해보니 HT40이 문제가 아니었군

 5월 16 09:46:44 raspberrypi kernel: WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 0
 5월 16 09:46:45 raspberrypi kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 5월 16 09:46:45 raspberrypi hostapd[1455]: Driver does not support configured HT capability [DSSS_CCK-40]
 5월 16 09:46:45 raspberrypi hostapd[1455]: wlan0: interface state UNINITIALIZED->DISABLED
 5월 16 09:46:45 raspberrypi hostapd[1455]: wlan0: AP-DISABLED
 5월 16 09:46:45 raspberrypi hostapd[1455]: wlan0: Unable to setup interface.
 5월 16 09:46:45 raspberrypi hostapd[1455]: wlan0: interface state DISABLED->DISABLED
 5월 16 09:46:45 raspberrypi hostapd[1455]: wlan0: AP-DISABLED
 5월 16 09:46:45 raspberrypi hostapd[1455]: wlan0: CTRL-EVENT-TERMINATING
 5월 16 09:46:45 raspberrypi hostapd[1455]: hostapd_free_hapd_data: Interface wlan0 wasn't started
 5월 16 09:46:45 raspberrypi hostapd[1455]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
 5월 16 09:46:45 raspberrypi kernel: WARN::dwc_otg_hcd_urb_dequeue:639: Timed out waiting for FSM NP transfer to complete on 7
 5월 16 09:46:45 raspberrypi systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE

 

iwlist 명령을 통해서 capability를 볼 수 있는 듯

$ iw list
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short long limit: 2
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CCMP-256 (00-0f-ac:10)
                * GCMP-128 (00-0f-ac:8)
                * GCMP-256 (00-0f-ac:9)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
        Band 1:
                Capabilities: 0x17e
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT TX/RX MCS rate indexes supported: 0-7, 32
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (no IR)
                        * 2472 MHz [13] (20.0 dBm) (no IR)
                        * 2484 MHz [14] (20.0 dBm) (no IR)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * connect
                 * disconnect
                 * set_qos_map
                 * set_multicast_to_unicast
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ AP, mesh point } <= 8,
                   total <= 8, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports low priority scan.
        Device supports scan flush.
        Device supports AP scan.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports configuring vdev MAC-addr on create.
        Supported extended features:
                * [ RRM ]: RRM
                * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211

[링크 : https://unix.stackexchange.com/questions/405282/finding-capabilities-of-wifi-driver-device]

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

라즈베리 RC는 일단 구동에는 실패  (0) 2020.06.10
rpi / android h264 streaming  (0) 2020.05.24
hostapd 통신이 안되네? -> 되네!  (0) 2020.05.15
RC카 node.js was 제작 1차 완료  (0) 2020.05.14
node.js raspi-pwm  (0) 2020.05.14
Posted by 구차니
embeded/raspberry pi2020. 5. 15. 16:24

DHCP로 주소도 받아와서 핸드폰에서는 문제없이 되는줄 알았는데

노트북에서 해보니 ssh는 permission denied가 뜨고, nginx로 띄워둔 홈페이지는 접근이 되지 않는다.

 

도대체 핸드폰에서는 어떻게 되었던 거지?

 

+ 2020.05.16

다시 정신 차리고 해보니 자기 자신 아이피를 넣고 있으니 안되지 -_-

문제없이 잘된다.

+

 

그리고 hw_mode=g로 설정을 해놔서 802.11n을 지원하는 녀석임에도 불구하고 54Mbps로만 잡힌다.

둘다 테스트를 추가로 해봐야 할 듯..

# ieee80211n: Whether IEEE 802.11n (HT) is enabled
# 0 = disabled (default)
# 1 = enabled
# Note: You will also need to enable WMM for full HT functionality.
# Note: hw_mode=g (2.4 GHz) and hw_mode=a (5 GHz) is used to specify the band.
#ieee80211n=1

# ht_capab: HT capabilities (list of flags)
# LDPC coding capability: [LDPC] = supported
# Supported channel width set: [HT40-] = both 20 MHz and 40 MHz with secondary
# channel below the primary channel; [HT40+] = both 20 MHz and 40 MHz
# with secondary channel above the primary channel
# (20 MHz only if neither is set)
# Note: There are limits on which channels can be used with HT40- and
# HT40+. Following table shows the channels that may be available for
# HT40- and HT40+ use per IEEE 802.11n Annex J:
# freq HT40- HT40+
# 2.4 GHz 5-13 1-7 (1-9 in Europe/Japan)
# 5 GHz 40,48,56,64 36,44,52,60
# (depending on the location, not all of these channels may be available
# for use)
# Please note that 40 MHz channels may switch their primary and secondary
# channels if needed or creation of 40 MHz channel maybe rejected based
# on overlapping BSSes. These changes are done automatically when hostapd
# is setting up the 40 MHz channel.
# HT-greenfield: [GF] (disabled if not set)
# Short GI for 20 MHz: [SHORT-GI-20] (disabled if not set)
# Short GI for 40 MHz: [SHORT-GI-40] (disabled if not set)
# Tx STBC: [TX-STBC] (disabled if not set)
# Rx STBC: [RX-STBC1] (one spatial stream), [RX-STBC12] (one or two spatial
# streams), or [RX-STBC123] (one, two, or three spatial streams); Rx STBC
# disabled if none of these set
# HT-delayed Block Ack: [DELAYED-BA] (disabled if not set)
# Maximum A-MSDU length: [MAX-AMSDU-7935] for 7935 octets (3839 octets if not
# set)
# DSSS/CCK Mode in 40 MHz: [DSSS_CCK-40] = allowed (not allowed if not set)
# 40 MHz intolerant [40-INTOLERANT] (not advertised if not set)
# L-SIG TXOP protection support: [LSIG-TXOP-PROT] (disabled if not set)
#ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]

[링크 : https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf]

[링크 : https://airpage.org/xe/project_data/24937]

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

rpi / android h264 streaming  (0) 2020.05.24
hostapd 802.11n 설정하기 시도중  (0) 2020.05.16
RC카 node.js was 제작 1차 완료  (0) 2020.05.14
node.js raspi-pwm  (0) 2020.05.14
node.js onoff  (0) 2020.05.13
Posted by 구차니
embeded/raspberry pi2020. 5. 14. 19:18

일단은 대충 예전 기억 되살려서 대충대충 만들었음

 

 

 

무선랜 카드가 하나뿐인걸 라즈베리에 해놔서 PC에서 테스트할 방법이 현재는 없어서

다이소에서 하나 사던가 해야 할 듯 -_ㅠ

 

ip:3000/api/f

ip:3000/api/r

ip:3000/api/s

 

ip:3000/api/wl

ip:3000/api/ws

ip:3000/api/wr

 

으로 명령을 주도록 했고 PWM은 100%로 설정함

코드 복사하기에는 여러개라 귀찮으니 github를 이용하는 걸로 결정

 

이제.. 안드로이드 앱 만들면 되는건가...

 

[링크 : https://github.com/minimonk82/rpi_nodejs_rc/]

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

hostapd 802.11n 설정하기 시도중  (0) 2020.05.16
hostapd 통신이 안되네? -> 되네!  (0) 2020.05.15
node.js raspi-pwm  (0) 2020.05.14
node.js onoff  (0) 2020.05.13
라즈베리 파이 무선공유기 만들기(비밀번호 없이)  (0) 2020.05.13
Posted by 구차니