'embeded'에 해당되는 글 1340건

  1. 2023.11.06 terasic sockit
  2. 2023.11.02 멀티미터 TR 테스트
  3. 2023.11.02 부품 도착! + 주문 취소!
  4. 2023.11.01 오늘의 지름
  5. 2023.11.01 risc-v 저가보드 / sipeed maix amigo
  6. 2023.10.31 MCP2515 on rpi
  7. 2023.10.30 mcp2515 can
  8. 2023.10.27 risc-v linux without mmu, uclinux
  9. 2023.10.27 kendryte k210, fft 가속?
  10. 2023.10.27 지름도착 - usb 인두기
embeded/FPGA - ALTERA2023. 11. 6. 15:08

중고나라에서 떠서 고민중

 

 

2013년 당시 249 달러로 엄청 저렴하게 나왔던 모양

AUGUST 15, 2013 BY JEAN-LUC AUFRANC (CNXSOFT) - 2 COMMENTSON $249 TERASIC SOCKIT DEVELOPMENT KIT FEATURES ALTERA CYCLONE V SX DUAL CORE A9 + FPGA SOC
$249 Terasic SoCKit Development Kit Features Altera Cyclone V SX Dual Core A9 + FPGA SoC

[링크 : https://www.cnx-software.com/2013/08/15/249-terasic-sockit-development-kit-features-altera-cyclone-v-sx-dual-core-a9-fpga-soc/]

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

 

xilinx의 zynq를 채택한 zedboard가 589$인데, 코로나 품귀로 인해서 가격이 미친듯이 오른걸려나?

299$ 아카데믹, 395$ 커머셜 가격으로 판매된 기록이 있나 보다.

The zedboard Board is a single-board computer based on Xilinx's Zynq device family. It uses a Xilinx Zynq Z-7020 Zynq device (dual core ARM Cortex-A9 cores ~800MHz paired with a xilinx Artix 7 fpga). See Zynq features for more processor features. [Price is USD 299 academic , USD 395 commerical ].

[링크 : https://elinux.org/Zedboard]

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

HSMC(High Speed Mezzanine Card)  (0) 2023.10.02
altera(intel fpga) m9k m10k  (0) 2023.05.14
altera uart ip  (0) 2023.05.14
altera - partial reconfigure  (0) 2023.04.24
altera nios 2 epcs to ram  (0) 2023.03.28
Posted by 구차니
embeded/전자회로2023. 11. 2. 23:11

어떻게 써야하나? 설명서 버려버려서 ㅠㅠ

 

약자는 hybrid forward common emiiter 라는데 대문자면 직류 소문자는 교류의 증폭율이라고 한다.

For the common-emitter bi-polar junction transistor amplifier h21 is called hfe. 'h' is for hybrid, 'f' is for ' forward, 'e' is for common Emitter.

[링크 : https://m.blog.naver.com/dreamcid/90064194925]

 

  ㅇ 직류 베타 (dc beta)  :  βDC, hFE
     - 때론, `직류 전류 이득(DC Current Gain)`,`공통 이미터 전류 이득` 등으로도 불리움

     - 직류 컬렉터 전류를 직류 베이스 전류로 나눈 것
        .   βDC = IC/IB = hFE

     - 특징
        . β ≫ 1
        . 온도, 트랜지스터 특성 편차 등의 변동성에 따른 영향에 취약함

  ㅇ 교류 베타 (ac beta)  :  βAC, βac, hfe
     - 또는, `교류 전류 이득(AC Current Gain)`이라고도 불리움

     - 교류 컬렉터 전류를 교류 베이스 전류로 나눈 것
        .   βAC = △IC/△IB | Vce=일정  = ic/ib = hfe

     - 특징
        . 특정 고정된(바이어스 하에서) Q 점에서의 기울기를 나타냄
        . 교류 베타 βAC는, 비선형적으로 변할 수 있음
           .. 즉, 직류 컬렉터 전류량에 따라, 기울기(βAC) 값이 변하게됨
           .. 또한, 출력 부하 변동에 대해서도 영향을 받음

[링크 : http://www.ktword.co.kr/test/view/view.php?no=4484]

[링크 : https://m.blog.naver.com/asoldieroc/222013784354]

 

 

순서는 EBC 인가?

[링크 : https://item.gmarket.co.kr/Item?goodscode=819975379]

 

 

집에 굴러 다니던 A1273 이라는  TR 인데  인터넷 찾아보니  PNP  라고 나온다.

EBC가 아니라 ECB 패턴인지 아래와 같이 꽂아야 353 증폭율이 나온다.

 

이번에 구매한 2N3904 NPN

테스터의 왼쪽 NPN에 EBC 순서로 연결하니 259배

 

2N3906 PNP도 EBC 순서로 하니 247배

 

다른데 연결해보는데 접점이 좋진 않아서 잘 측정이 안되는 느낌이라

나중에 구매하게 된다면 저런 원형 커넥터가 아니라 핀헤더 방식으로 된 걸 구매하는게 나을지도 모르겠다

 

'embeded > 전자회로' 카테고리의 다른 글

지름도착 - usb 인두기  (0) 2023.10.27
소소한 지름  (0) 2023.10.24
트리 회로  (0) 2023.10.21
다이오드, 트랜지스터  (0) 2023.10.18
tr을 구매해볼까나..  (0) 2023.10.18
Posted by 구차니
embeded/risc-v2023. 11. 2. 19:58

1.

이제 귀찮아서(!) 사진도 안 찍는 ㅋㅋ

 

그나저나 서보 테스터는 ic 하나로 만들어진 느낌인데 그런 용도로 만들어진 칩이 있나?

아무튼.. can도 해봐야 하고 할거 많구만..

 

근데 라즈베리는 죄다 회사에 둬서 언제 해보려나 -ㅁ-

 

 

2.

risc-v 보드는 조이스틱 만 그 가격이라 취소

다 해서 10만원이면 좀 부담인데...

'embeded > risc-v' 카테고리의 다른 글

risc-v sv39  (0) 2023.11.18
milk-v duo(risc-v)  (0) 2023.11.18
오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
Posted by 구차니
embeded/risc-v2023. 11. 1. 15:18

maix amigo 보드는 오래걸리더라도 오면 좋겠네

다른 부품은 소소하게 지른줄 알았는데 의외로 갯수로 모이니 비싸짐..

 

maix amigo 보드는 전에 사려고 하던 보드의 완성품 느낌이다.

다만 maix bit은 카메라가 하나고

max amigo는

케이스에 정전식 터치 스크린과 배터리, 카메라 2개, 사운드 카드(i2s), 3축 가속도 센서가 달려있다고 한다.

그런데 왜케 싸지?

 

 

+

[링크 : https://zenn.dev/okuoku/scraps/1dec9c3a40e65e]

'embeded > risc-v' 카테고리의 다른 글

milk-v duo(risc-v)  (0) 2023.11.18
부품 도착! + 주문 취소!  (0) 2023.11.02
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
kendryte k210, fft 가속?  (0) 2023.10.27
Posted by 구차니
embeded/risc-v2023. 11. 1. 00:20

이걸 살까 했는데

Sipeed MAix BiT Kit for RISC-V AI+IoT 110991190

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

 

더 싼거 없나 오픈마켓 찾아보니 헉..!?

저런 덜렁 거리는거 살 바에는 이런 좀 완제품 느낌이 나는게 나을 듯?

[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=D668181124] 29700 무배.. 직구

 

원래는 6만원은 족히 나올 녀석인데 믿어도 되나?

Sipeed Maix Amigo - All-in-One AIoT Development Platform Based on RV64GC (RISC-V) SKU 102110463

[링크 : https://www.seeedstudio.com/Sipeed-Maix-Amigo-p-4689.html] 48.80$ 재고 없음

[링크 : https://wiki.sipeed.com/soft/maixpy/en/develop_kit_board/maix_amigo.html]

[링크 : https://dl.sipeed.com/MAIX/MaixPy/ide/_/v0.2.5] maxipy ide

 

 

 

 

 

 

'embeded > risc-v' 카테고리의 다른 글

부품 도착! + 주문 취소!  (0) 2023.11.02
오늘의 지름  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
kendryte k210, fft 가속?  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
Posted by 구차니
embeded/raspberry pi2023. 10. 31. 23:05

MCP2515를 라즈베리에서 쓰려면 개조가 필요하다는데

아두이노가 5V IO 레벨이고 라즈베리가 3.3V 레벨이라 그런가? 왜 저렇게 복잡하게 개조하는건진 찾아봐야겠고

집에 16MHz OSC가 있나도 찾아봐야겠다.(12MHz 24MHz는 있는데 16MHz 만 없네 -_-)

[링크 : https://blog.naver.com/mts90/221644429413]

 

반대로 SPI 를 위한 레벨시프터가 있으면 해결되려나?

[링크 : https://www.devicemart.co.kr/goods/view?no=1384307] 2채널 3.3V<->5V 레벨 시프터 / 1000원

 

구매시 16MHz 인지 확인하는것도 방법이려나

[링크 : https://m.blog.naver.com/kimhj9/221790064284]

 

트랜시버의 전압을 바꾸어 주는거라면 라즈베리 끼리 테스트 할때 그냥 3.3V 넣어서

양쪽다 동일 전압레벨로 맞추면 통신이 안되려나?

 

설정 내용을 보니 spi를 통해서 can 통신 장치 추가 까지 문제 없어 보인다.

$ vi /boot/config.txt
dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=12
dtoverlay=spi-bcm2835-overlay

$ sudo apt-get install can-utils

$ ls /sys/bus/spi/devices/spi0.0/net
can0

$ ls /sys/bus/spi/devices/spi0.0
driver  modalias  net  of_node  subsystem  uevent

$ ls /sys/bus/spi/devices/spi0.0/net/
can0

$ ls /sys/bus/spi/devices/spi0.0/net/can0/
addr_assign_type  carrier_changes  duplex             iflink            operstate       speed         uevent
address           device           flags              link_mode         phys_port_id    statistics
addr_len          dev_id           gro_flush_timeout  mtu               phys_port_name  subsystem
broadcast         dev_port         ifalias            name_assign_type  phys_switch_id  tx_queue_len
carrier           dormant          ifindex            netdev_group      queues          type

// 5. Setup CAN interface, I use 125k baudrate.
$ sudo ip link set can0 up type can bitrate 125000
$ sudo ifconfig
can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:16  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[링크 : https://forums.raspberrypi.com/viewtopic.php?t=141052]

 

TJA1050 - High speed CAN tranceiver

[링크 : https://www.nxp.com/docs/en/data-sheet/TJA1050.pdf]

 

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

3d 프린트 한 라즈베리 케이스  (0) 2024.02.21
mariadb 라즈베리 파이 설정값  (0) 2024.01.02
서보 pan/tilt 조립  (0) 2023.09.23
서보 팬틸트 브라켓 구매  (0) 2023.09.19
DHT22 도착!  (0) 2023.09.19
Posted by 구차니
embeded/arduino(genuino)2023. 10. 30. 19:11

아두이노나 라즈베리 CAN HAT 은 3~4만원은 해서 구매하기 부담스러웠는데

MCP2515 라는 녀석은 CAN to SPI 라고 해야하나?

CAN 통신을 독립적으로 수행해주는 원칩 솔루션이 있으니 다음에 사봐야겠다.

 

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

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

 

차량에 OBD 연결하기도 한다는데 의외로 2.54mm 핀 헤더와 잘 맞는듯?

[링크 : https://clemencyking.tistory.com/26]

 

보드가 8MHz와 16Mhz가 있다는데

크리스탈은 4 / 8 / 20 MHz 권장인가?

HS SPI의 경우 10Mbps 라는데 아무래도 클럭 멀티플라이어가 없다면

20MHz를 넣어줘야 HS SPI 로 작동하게 될 것 같긴하네.

[링크 : https://ww1.microchip.com/downloads/en/DeviceDoc/MCP2515-Stand-Alone-CAN-Controller-with-SPI-20001801J.pdf]

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

arducam esp8266 https post 예제  (0) 2024.01.31
433MHz RF 통신  (0) 2023.12.07
아두이노 dht11  (0) 2022.11.14
아두이노 Serial.print()와 Serial.write()  (0) 2022.11.14
아두이노 USB HID  (0) 2021.05.07
Posted by 구차니
embeded/risc-v2023. 10. 27. 18:07

uclinux 올라간 예제를 찾아보는 중

git clone https://github.com/vowstar/k210-linux-nommu.git
cd k210-linux-nommu
export PROJ_ROOT=$(pwd)
sh ./prepare_buildroot.sh

[링크 : https://www.cnx-software.com/2020/02/17/how-to-build-run-linux-on-kendryte-k210-risc-v-nommu-processor/]

[링크 : https://github.com/vowstar/k210-linux-nommu.git]

 

아키텍쳐를 어떤걸 쓰는지 부터 봐야 하려나?

PREFIX=/opt/riscv-nommu
TARGET=riscv32-unknown-linux-gnu
ARCH=rv32ima
ABI=ilp32

[링크 : https://github.com/chmmn/riscv-uclinux]

 

 

보드에 128Mbit Flash만 달려서 램은 얼마인지 몰랐는데, 온칩 메모리로 SRAM 8MB 라고 한다.

  • SoC – Kendryte K210 dual core 64-bit RISC-V processor @ 400 MHz (overclockable up to 800 MHz) with
    • KPU CNN hardware accelerator
    • APU audio hardware accelerator with support for up to 8 mics, up to 192 KHz sample rate
    • FPIOA (Field Programmable IO Array) mapping 255 functions to all 48 GPIOs on the chip.
    • 8 MB general purpose SRAM including 5.9MB usable as AI SRAM memory
    • AXI ROM to load user program from SPI flash
  • Storage – micro SD card slot, 8MB SPI flash
  • Display I/F – MCU LCD FPC connector for optional 2.4″ display
  • Camera I/F – DVP camera FPC connector
  • USB – 1x USB type-C port for power and programming
  • Expansion – Breadboard friendly headers with UART, IIC, SPI, I2S, PWM, etc…
  • Misc – 2x buttons, RGB LED
  • Power Supply – Via USB type-C port
  • Performance + Power Consumption – 0.25TOPS @ 0.3W ,400MHz. 0.5 TOPS @ 800 MHz
  • Dimensions – 5.08 x 2.54 mm

[링크 : https://www.cnx-software.com/2018/11/15/maix-development-boards-sipeed-m1-risc-v-ai-module/]

 

K210 芯片基本参数

内核 RISC-V Dual Core 64bit, with FPU
主频 400MHz (可超频至600MHz)
SRAM 内置8M Byte

[링크 : https://wiki.sipeed.com/hardware/en/maix/maixpy_develop_kit_board/maix_bit.html]

 

아무튼 MMU가 없더라도 8MB/32MB 에 400MHz 니까, 적절하게 가지고 놀 수 있는 무언가가 가능할지도?

'embeded > risc-v' 카테고리의 다른 글

오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
kendryte k210, fft 가속?  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
cuda on riscv  (0) 2021.09.09
Posted by 구차니
embeded/risc-v2023. 10. 27. 17:49

Sipeed MAix BiT Kit for RISC-V AI+IoT
라는 제품에 들어있는 risc-v mcu의 성능을 보려는데 벤치마크에 어라..? FFT ?!

The Maix Bit is a low-cost development board from Sipeed, featuring the Kendryte K210 from Canaan.
The Kendryte K210 is an SoC that includes:

  • Dual-core 64-bit RISC-V,
  • KPU (Knowledge Processing Unit),
  • APU (Audio Processing Unit),
  • FFT (Fast Fourier Transform) accelerator,
  • etc.

[링크 : https://www.luffca.com/2021/10/maixpy-fft-maix-bit/]

 

데이터시트나 

NPU, FFT, AES, SHA 가속기능이 있다. 특이하네..

그리고 KPU의 입력소스로서 영상 입력 기능(DVP). DVP가 LCD 출력도 겸하나?

1.1 Overview
Knowledge Processing Unit (KPU, aka Neural network Processing Unit).
KPU is a general-purpose neural network processor that implements convolutional
neural network calculations with low power consumption. It can acquire the size,
coordinates and types of detected objects in real time, and detect and classify
faces or objects. When using kpu, the neural network model must be generated with
the model compiler.
1.2 Features
KPU has the following characteristics:
• Supports the fixed training model that the common training framework trains
according to specific restriction rules
• There is no direct limit on the number of network layers, which supports separate configuration of each layer of convolutional neural network parameters,
including the number of input and output channels, input and output line width
and column height.
• Support for two convolution kernels 1x1 and 3x3
• Support for any form of activation function
• The maximum supported neural network parameter size in real-time work is
5.5MiB to 5.9MiB
• Maximum support network parameter size when working in non-real time is (Flash
capacity) - (software size)

2.1 Overview
Advanced Encryption Standard (AES) acceleration engine. The AES module uses hardware to implement AES operation acceleration.
2.2 Features
K210 have a built-in AES(Advanced Encryption Standard acceleration engine). Compared with software, it can greatly improve the speed of AES operation. The AES
accelerator supports multiple encryption/decryption modes (ECB, CBC, GCM) and multiple length of KEY (128, 192, 256).


7.1 Overview
Digital Video Port (DVP) unit is a camera interface unit that supports forwarding
camera input image data to KPU or memory.
7.2 Features
The DVP unit has the following features:
• Support RGB565, RGB422 and single channel Y gray scale input mode
• Support for setting frame interrupt
• Support setting transfer address
• Supports writing data to two addresses at the same time (output format is
RGB888 and RGB565 respectively)
• Support for discarding frames that do not need to be processed


8.1 Overview
Fast Fourier Transform (FFT) Accelerator.
The FFT accelerator implements the radix-2 decimation-in-time (DIT) Cooley–Tukey
FFT algorithm*
1 acceleration in hardware.
8.2 Features
The FFT accelerator currently supports 64-point, 128-point, 256-point, and 512-
point FFTs and IFFTs. Inside the FFT accelerator, there are two SRAMs with a size
of 512 * 32 bits. After the configuration is completed, the FFT sends a TX request
to the DMA, and the data sent by the DMA is placed in one of the SRAMs until the
data volume satisfies the current FFT operation needs, and the FFT operation begins at this point. The butterfly operation unit reads data from the SRAM which
containing the valid data, and writes the data to another SRAM after the end of the
operation. The next butterfly operation reads the data from the SRAM just written,
when the operation ends write to another SRAM. This process alternates this way
until the entire FFT operation is completed.


9.1 Overview
Secure Hash Algorithm (SHA) accelerator supports hardware acceleration of the
sha256 algorithm.
9.2 Features
• Supports hardware acceleration of the sha256 algorithm

[링크 : https://www.canaan.io/wp-content/uploads/2020/02/kendryte_standalone_programming_guide_20190311144158_en.pdf]

[링크 : https://www.canaan.io/product/kendryteai]

 

 

 

'embeded > risc-v' 카테고리의 다른 글

오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
cuda on riscv  (0) 2021.09.09
Posted by 구차니
embeded/전자회로2023. 10. 27. 16:38

8w 15초에 달궈지는 제품이라는데

나중에 켜봐야지 ㅋㅋ

 

아무튼 220v 인두기가 달궈져서 쓰는데만 5분은 걸리던 느낌이라

스펙대로 15초면 hakko 만큼은 아니어도 쓸만할 듯

 

+

사용해보니 실온에서 13초 정도 지나니 연기가 올라온다.

핀 헤더 한개 정도는 녹이는데 열량이 부족해서 2~3개 막 문지르면서 녹일 순 없는 것 같고

비상시(?)에 소소하게 하기에는 충분한 듯 하다.

 

 

+

회사에서 사용중인 녀석이 hakko.. 75W 짜리

[링크 : https://www.coupang.com/vp/products/288511514]

 

+

3d 프린터 마감 도구라고 해서 2.7만원에 파는데

얘는 3d 프린터용 답게(?) 면적을 누를수 있는 총 4가지 유형의 팁을 제공한다.

[링크 : https://front.wemakeprice.com/product/2508379888]

'embeded > 전자회로' 카테고리의 다른 글

멀티미터 TR 테스트  (0) 2023.11.02
소소한 지름  (0) 2023.10.24
트리 회로  (0) 2023.10.21
다이오드, 트랜지스터  (0) 2023.10.18
tr을 구매해볼까나..  (0) 2023.10.18
Posted by 구차니