2018年1月31日 星期三

Arduino Uno ATmega328文件

ATmega328
https://www.microchip.com/wwwproducts/en/ATmega328

ATmega328/P - Complete Datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42735-8-bit-AVR-Microcontroller-ATmega328-328P_Datasheet.pdf

ATmega328/P - Summary Datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42735-8-bit-AVR-Microcontroller-ATmega328-328P_Summary.pdf

權證筆記

> 認購權證:依照履約價格「購買」標的物的權利
預期未來股票上漲,要買入「認購權證」

> 認售權證:依照履約價格「販賣」標的物的權利
預期未來股票下跌,要買入「認售權證」

> 投資權證有幾個特色
1. 投資門檻低
2. 權證槓桿比率高
3. 損失有限,最多虧損整筆資金
4. 透過權證操作

> 權證適合下面兩種類型的投資人
1. 權證適合對未來股價有所預測,資金不足的投資人
2. 股市操作經驗豐富,操作短線的投資人

> 下面兩種類型投資人,盡量避免投資權證
1. 不了解權證,剛進入股票市場的投資人
2. 無法常常關注股票行情的投資人

> 影響權證價格的 5 大因素
1. 履約價格:到期時規定買進或賣出的價格
2. 權證所對應的股票價格
3. 市場利率:投資人對於所借的資金而需支付的代價
4. 股票波動率:指股票價格隨著時間經過的波動的程度
5. 存續期間:指權證距離到期日的天數

名詞解釋
> 權利金 = 內含價值 + 時間價值
1. 內含價值: 權證立即拿去履約,可以拿回來的利潤
內含價值 = (標的股價 - 履約價) x 行使比例
認購權證的內含價值 = 權的股價 > 履約價
認售權證的內含價值 = 標的股價 > 履約價

2. 時間價值: 反映權證未來在價內狀態有可能的價值
時間價值 = 權利金 - 內含權值
價外權證沒有內含價值,只有時間價值

> 履約價格
履約價 跟 標的物股價 的關係
可分為 價內、價平、價外。

1. 價內權證
認購權證:標的股價大於權證履約價 
認售權證:標的股價小於權證履約價

2. 價平權證
權證履約價 = 標的物股價

3. 價外權證
認購權證:標的股價小於權證履約價
認售權證:標的股價大於權證履約價

            股價 > 履約價    股價 = 履約價    股價 < 履約價
認購權證     價內 (獲利)      價平            價外
認售權譇     價外             價平            價內 (獲利)

> 行使比例
行使比例越高,享受權證槓桿倍數越大

A 權證價格為0.8 履約價為125元 行使比例為1  半年後到期
台積電 (2330) 目前價格為 120元
當一個禮拜後 台積電 (2330) 由 120元 變成 130元時 
權證價格會由 0.8元 變成約 5.8 元  ( 0.8+ (130-125)*1 = 5.8 )
權證漲幅約 625%

2018年1月26日 星期五

經濟專業名詞

> 消費者物價指數: (CPI) consumer price index

> 通澎率 = (CPI(今年) - CPI(去年)) / CPI(去年) 

股市專業名詞

> 可扣抵稅額: 要大於自己所得稅額,才有節稅效果

> 股票殖利率 = [現金股利] 除以 [股價]
若能 > 5% 最好

> 指數股票型證券投資信託基金: ETF (Exchange Traded Funds)

> 周轉率 = 股票交易數量 / 股票發行總數

> 每股盈餘: EPS (Earning per Share)
EPS = 公司淨賺的錢 / 股票發行總數

> 本益比 = 股價 / EPS

2018年1月25日 星期四

現金股利、股票股利計算方式

假如公司今年宣布發放
現金股利 1.5 元
股票股利 1 元

1. 現金股利 1.5 元表示

每一股配發 1.5 元

所以當我們買一張股票 (1000 股)

就可以收到 1,500 的現金股利 = 1000 股 X 1.5 元 = 1,500元


2. 股票股利 1 元表示

每一股配發 1 元

所以當我們買一張股票 (1 股面額 10 元)

就可以收到 1000 股能配 100 股 = 1000 股 / (10 元 / 1 元) = 100 股

=================================================================
參考價怎麼算呢?

a. 除息是用「減法」:股價減股息

b. 除權是用「除法」:股價除以(1+配股率)

c. 若同時除權息:

(股價減股息)除以(1+配股率)

 

假如現在股價為 82 元

現金股利 1.5 元,股票股利 1 元

a. 單看除息的參考價為:82-1.5= 80.5

b. 單看除權參考價為:82/(1+0.1)= 74.5

c. 同時除權息之參考價: (82-1.5)/(1+0.1)= 73.2

2018年1月17日 星期三

Raspberry Pi - 查看device tree

1. 安裝device-tree-compiler套件
$ sudo apt-get install device-tree-compiler
2. 查看device tree
$ dtc -I fs /proc/device-tree

Raspberry Pi - Raspberry Pi 3同時開啟藍芽跟串列埠

修改/boot/config.txt,加入以下三行
core_freq=250
dtoverlay=pi3-miniuart-bt
enable_uart=1

2018年1月16日 星期二

架設PPPoE Server/Client - 使用pon和poff

1. PPPoE Client
- Trigger PPPoE client to dial-up
pon dsl-provider
- Hang up the PPPoE session
poff
2. PPPoE Server組態設置 - Install pppoe
$ sudo apt-get install pppoe
- /etc/ppp/options - /etc/ppp/pppoe-server-options
auth
require-chap
default-mru
default-asyncmap
lcp-echo-interval 60
lcp-echo-failure 5
ms-dns 168.95.1.1
ms-dns 168.95.1.10
noipdefault
noipx
nodefaultroute
+ipv6
- /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
user * 1234 *
3. 啟用pppoe-server - User mode
/usr/sbin/pppoe-server -I eth0 -L 192.168.1.1 -R 192.168.1.10-100
- Kenrel mode
/usr/sbin/pppoe-server -k -I eth0 -L 192.168.1.1 -R 192.168.1.10-100

架設PPPoE Server/Client - 使用pppd

1. PPPoE Client

- User mode for IPv4
pppd pty "pppoe -I eth1 -m 1412" user user password 1234 usepeerdns nodetach noipdefault defaultroute mtu 1492 mru 1492 &
- User mode for IPv6
pppd pty "pppoe -I eth1 -m 1412" user user password 1234 usepeerdns nodetach noipdefault defaultroute mtu 1492 mru 1492 +ipv6 &
- Kernel mode IPv4
pppd plugin /usr/lib/pppd/2.4.5/rp-pppoe.so eth1 user user password 1234 usepeerdns nodetach noipdefault defaultroute mtu 1492 mru 1492 &
- Kernel mode IPv6
pppd plugin /usr/lib/pppd/2.4.5/rp-pppoe.so eth1 user user password 1234 usepeerdns nodetach noipdefault defaultroute mtu 1492 mru 1492 +ipv6 &
2. PPPoE Server - User mode
/usr/sbin/pppoe-server -I eth0 -L 192.168.1.1 -R 192.168.1.10-100
- Kenrel mode
/usr/sbin/pppoe-server -k -I eth0 -L 192.168.1.1 -R 192.168.1.10-100

Raspberry Pi - 架設PPPoE server

         ----------------------------------------------
         |        eth0          |         eth1        |
       LAN PC                 Router                WAN
  ip: 10.1.1.10          eth0: 10.1.1.1
  gw: 255.255.255.0      eth1: DHCP

1. 安裝pppoe套件
$ sudo apt-get install pppoe
2. /etc/ppp/options,無需修改 3. 修改/etc/ppp/pppoe-server-options
auth
require-chap
default-mru
default-asyncmap
lcp-echo-interval 30
lcp-echo-failure 5
ms-dns 168.95.1.1
ms-dns 168.95.1.10
noipdefault
noipx
nodefaultroute
require-chap: 使用chap認證方式,帳號密碼需加於/etc/ppp/chap-secrets require-pap: 使用pap認證方式,帳號密碼需加於/etc/ppp/pap-secrets ms-dns: DNS伺服器位址 +ipv6: 如需支持IPv6 4. 設置chap認證方式的帳號密碼,修改/etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
user * 1234 *
5. 啟用pppoe-server
sudo pppoe-server -I eth0 -L 10.1.1.1 -R 10.1.1.10-20
-I: 設置綁定的介面 -L: 設置綁定介面的位址 -R: 設置pppoe-server所分配的位址,可用"-"來設置範圍 6. 啟用IPv4 forwarding功能
$ sudo bash -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
7. 設置iptables,啟用DNAT功能
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
8. eth1介面的位址,在網路線插入時,dhcpcd會自動啟用去取得位址
$ ps -aux | grep dhcp
root       314  0.0  0.2   2884  1988 ?        Ss   14:04   0:00 /sbin/dhcpcd -q -b
9. 使用Windows寬頻連線測試
10.1 建立寬頻連線後,pppoe server會新增一個ppp0連線,位址為10.1.1.1
10.2 建立寬頻連線後,PC會取得位址為10.1.1.10,DNS位址如設置的168.95.1.1和8.8.8.8
11. 在使上用wireshark抓取封包,過濾條件為"pppoed || pppoes"
12. 參考來源 https://linux.die.net/man/8/pppoe-server https://linux.die.net/man/8/pppd

2018年1月11日 星期四

暫存器處理

#define ARM_SAI_MODE_Pos   8
#define ARM_SAI_MODE_Msk   (1U << ARM_SAI_MODE_Pos)


 /* Get HCLK prescaler */
  tmp = RCC->CFGR & RCC_CFGR_HPRE;
  tmp = tmp >> 4;
  presc = APBAHBPrescTable[tmp];

static __I uint8_t APBAHBPrescTable[16] = {0, 0, 0, 0, 1, 2, 3, 4, 1, 2, 3, 4, 6, 7, 8, 9};

2018年1月10日 星期三

STM32F407 USART PRINTF

Enalbe GPIO clock & UART clock
0x40023830 |= 0x00000004
0x40023840 |= 0x00040000

Connect PXx to USARTx_Tx & Rx
0x40020824 &= ~(0xF << 8)
0x40020824 |= 0x07 << 8
0x40020824 &= ~(0xF << 12)
0x40020824 |= 0x07 << 12

Configure USART Tx as alternate function 
0x40020800 |= 0x02 << (10 * 2)
0x40020808 |= 0x02 << (10 * 2)
0x40020804 |= 0x00 << 10
0x4402080C |= 0x01 << (10 * 2)

Configure USART Rx as alternate function
0x40020800 |= 0x02 << (11 * 2)
0x40020808 |= 0x02 << (11 * 2)
0x40020804 |= 0x00 << 11
0x4402080C |= 0x01 << (11 * 2)


================================================================
0x40023830 = 0x00000004
RCC_AHB1PeriphClockCmd /* Enable GPIO clock */

#define EVAL_COM1_TX_GPIO_CLK            RCC_AHB1Periph_GPIOC
#define EVAL_COM1_RX_GPIO_CLK            RCC_AHB1Periph_GPIOC

#define RCC_AHB1Periph_GPIOC             ((uint32_t)0x00000004)

RCC->AHB1ENR
#define PERIPH_BASE           ((uint32_t)0x40000000)
#define AHB1PERIPH_BASE       (PERIPH_BASE + 0x00020000)
#define RCC_BASE              (AHB1PERIPH_BASE + 0x3800)
__IO uint32_t AHB1ENR;       /*!< RCC AHB1 peripheral clock register, Address offset: 0x30

================================================================
0x40023840 = 0x00040000
RCC_APB1PeriphClockCmd /* Enable UART clock */

#define EVAL_COM1_CLK                    RCC_APB1Periph_USART3
#define RCC_APB1Periph_USART3            ((uint32_t)0x00040000)

RCC->APB1ENR
#define PERIPH_BASE           ((uint32_t)0x40000000)
#define AHB1PERIPH_BASE       (PERIPH_BASE + 0x00020000)
#define RCC_BASE              (AHB1PERIPH_BASE + 0x3800)
__IO uint32_t APB1ENR;       /*!< RCC APB1 peripheral clock enable register, Address offset: 0x40 

=================================================================
0x40020800 = 0x07 << 8
GPIO_PinAFConfig /* Connect PXx to USARTx_Tx*/

GPIOx->AFR
#define PERIPH_BASE           ((uint32_t)0x40000000)
#define AHB1PERIPH_BASE       (PERIPH_BASE + 0x00020000)
#define GPIOC_BASE            (AHB1PERIPH_BASE + 0x0800)
 __IO uint32_t AFR[2];   /*!< GPIO alternate function registers, Address offset: 0x20-0x24 

#define GPIO_PinSource10           ((uint8_t)0x0A)
#define GPIO_AF_USART3        ((uint8_t)0x07)  /* USART3 Alternate Function mapping */

0x07 << ((0x0A & 0x07) * 4)


0x40020800 = 0x07 << 12
#define GPIO_PinSource11           ((uint8_t)0x0B)
#define GPIO_AF_USART3        ((uint8_t)0x07)  /* USART3 Alternate Function mapping */

0x07 << ((0x0B & 0x07) * 4)

=================================================================

#define PERIPH_BASE           ((uint32_t)0x40000000)
#define AHB1PERIPH_BASE       (PERIPH_BASE + 0x00020000)
#define GPIOC_BASE            (AHB1PERIPH_BASE + 0x0800)

0x40020800 |= 0x02 << (10 * 2)
__IO uint32_t MODER;    /*!< GPIO port mode register,               Address offset: 0x00
GPIO_Mode_AF   = 0x02, /*!< GPIO Alternate function Mode */

0x40020808 |= 0x02 << (10 * 2)
__IO uint32_t OSPEEDR;  /*!< GPIO port output speed register,       Address offset: 0x08
GPIO_Speed_50MHz  = 0x02, /*!< Fast speed */

0x40020804 |= 0x00 << 10
__IO uint32_t OTYPER;   /*!< GPIO port output type register,        Address offset: 0x04
GPIO_OType_PP = 0x00,

0x4402080C |= 0x01 << (10 * 2)
__IO uint32_t PUPDR;    /*!< GPIO port pull-up/pull-down register,  Address offset: 0x0C
GPIO_PuPd_UP     = 0x01,

===================================================================

#define PERIPH_BASE           ((uint32_t)0x40000000)
#define APB1PERIPH_BASE       PERIPH_BASE
#define USART3_BASE           (APB1PERIPH_BASE + 0x4800)

0x40004810 |= 0x0000
__IO uint16_t CR2;        /*!< USART Control register 2,                Address offset: 0x10 
#define USART_StopBits_1                     ((uint16_t)0x0000)

0x4000480C |= 0x0 | 0x0 | 0x4 | 0x8
__IO uint16_t CR1;        /*!< USART Control register 1,                Address offset: 0x0C
#define USART_WordLength_8b                  ((uint16_t)0x0000)
#define USART_Parity_No                      ((uint16_t)0x0000)
#define USART_Mode_Rx                        ((uint16_t)0x0004)
#define USART_Mode_Tx                        ((uint16_t)0x0008)

0x40004814 |= 0x0
__IO uint16_t CR3;        /*!< USART Control register 3,                Address offset: 0x14
#define USART_HardwareFlowControl_None       ((uint16_t)0x0000)




__IO uint16_t BRR;        /*!< USART Baud rate register,                Address offset: 0x08

期貨筆記

期貨交易到期月份的意義?
以現在為例,目前是2月份,所以存在當月及連續月期貨為:2、3月 
另外連續三個季月,最接近的是3、6、9月,但是3月和連續月重覆 
所以要加上12月 
所以目前存在市場上,就是2、3、6、9、12月,總共五個月的期貨契約 

期貨的交易規則為,每個契約月份的星期三結算 ,也就是說 
2月份的期貨,會在2月的第三個星期三結算,也就是2/15日 
所以,2/16日後,市場上就不存在2月的期貨契約 的 

想要操作就必須買賣3月份的期貨,而3月份期貨會在3月份的第三個星期三結算 
依此類推,因為期貨有存在的期限,所以如果你不想在短時間內,被迫結算 
可以交易遠月份的期貨契約,也就是3、6、9、12月的 
那到期時間就會長很多,但是注意一下,遠月份的期貨契約成交量會很小 
流通性很差


為什麼要操作期指?
期指在功能上具有避險、套利、投機、價格發現的功能,利用期指好處多:
1.可規避系統風險。當持有現股時,認為現股具有上漲潛力,但無奈大環境不佳時,
則可利用放空期指來避掉系統風險。

2.可以單純看趨勢而不用費力找主流股。買賣股票有選股的煩惱,而期貨的標的物單純化,
只要研究大盤走勢即可,當投資人看好未來股市時,藉由買進期貨來增加投資部位的槓桿;看壞大盤時,
可藉由放空期貨獲利或藉由期貨來規避現貨下跌風險。

3.具有較大的槓桿。期貨最大的特色在於具有高度財務槓桿的優點,只要繳交5%~15%保證金即可交易,
槓桿倍數約10~20倍。

4.期指的交易稅遠低於股票的千分之3。因此在交易成本上,作期指的操作的成本遠低於股票。

參考來源
http://jsinfo2.wls.com.tw/z/zm/zme/zmea.djhtm

2018年1月9日 星期二

現股、融資、融券,電子下單操作

買賣股票的類別:現股、融資、融券 

融資、融券則有4個組合 

當日單:
    1.融資買進(看多) + 融券賣出       → 就是所謂的「當沖」,當日有買有賣同股票、同張數,資券相抵
    2.融券賣出(放空) + 融資買進(回補) → 就是所謂的「當沖」,當日有買有賣同股票、同張數,資券相抵
隔日單:
    1.融資買進(看多) + 融資賣出 
    2.融券賣出(放空) + 融券買進(回補) 

2018年1月3日 星期三

行政院農業委員會 - TGAP下載

行政院農業委員會 - TGAP下載
http://taft.coa.gov.tw/lp.asp?ctNode=276&CtUnit=80&BaseDSD=7&role=C

稻米良好農業規範
https://www.afa.gov.tw/Public/saftyAgriculture/2011315154037055.pdf

芋良好農業規範
https://taft.coa.gov.tw/public/data/01411465771.pdf

WM8994 文件

Data Sheet
https://d3uzseaevmutz1.cloudfront.net/pubs/proDatasheet/WM8994_v4.5.pdf

WM8960 文件

Data Sheet
https://d3uzseaevmutz1.cloudfront.net/pubs/proDatasheet/WM8960_v4.2.pdf

WM8960 6158 FL32 M REV1 Example Configurations
https://d3uzseaevmutz1.cloudfront.net/pubs/manual/WM8960_6158_FL32_M_REV1_Example_Configurations.pdf

Synopsys embARC 文件

embarc.org
http://embarc.org/

Git Hub
https://github.com/foss-for-synopsys-dwc-arc-processors

embARC OSP Documentation
https://embarc.org/embarc_osp/doc/embARC_Document/html/index.html

embARC OSP Wiki 
https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/wiki

GNU Toolchain for ARC documentation!
https://embarc.org/toolchain/

Keil MDK & CMSIS 文件

Getting Started Guides (PDF) - Getting Started with MDK
https://armkeil.blob.core.windows.net/product/mdk5-getting-started.pdf

CMSIS drvier
http://www.keil.com/pack/doc/CMSIS/Driver/html/index.html

MDK Version 5 CMSIS
http://www2.keil.com/mdk5/cmsis/

STM32F407VG 相關文件

1. Home > Microcontrollers > STM32 32-bit ARM Cortex MCUs > STM32 High Performance MCUs > STM32F4 Series > STM32F407/417 > STM32F407VG

Microcontrollers
http://www.st.com/en/microcontrollers.html

STM32 32-bit ARM Cortex MCUs
http://www.st.com/en/microcontrollers/stm32-32-bit-arm-cortex-mcus.html

STM32 High Performance MCUs
http://www.st.com/en/microcontrollers/stm32-high-performance-mcus.html?querycriteria=productId=SC2154

STM32F4 Series
http://www.st.com/en/microcontrollers/stm32f4-series.html?querycriteria=productId=SS1577

STM32F407/417
http://www.st.com/en/microcontrollers/stm32f407-417.html?querycriteria=productId=LN11

STM32F407VG
http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f4-series/stm32f407-417/stm32f407vg.html

STM32F4DISCOVERY
http://www.st.com/en/evaluation-tools/stm32f4discovery.html

STM32F4 DSP and standard peripherals library
http://www.st.com/en/embedded-software/stsw-stm32065.html

STMicroelectronics STM32F4 Series Device Support, Drivers and Examples
http://www.keil.com/dd2/stmicroelectronics/stm32f407vg/

2. Product Specifications
http://www.st.com/content/ccc/resource/technical/document/datasheet/ef/92/76/6d/bb/c2/4f/f7/DM00037051.pdf/files/DM00037051.pdf/jcr:content/translations/en.DM00037051.pdf

3. Reference Manuals
http://www.st.com/content/ccc/resource/technical/document/reference_manual/3d/6d/5a/66/b4/99/40/d4/DM00031020.pdf/files/DM00031020.pdf/jcr:content/translations/en.DM00031020.pdf

4. Programming Manuals
http://www.st.com/content/ccc/resource/technical/document/programming_manual/6c/3a/cb/e7/e4/ea/44/9b/DM00046982.pdf/files/DM00046982.pdf/jcr:content/translations/en.DM00046982.pdf

ARM MBED

https://os.mbed.com/

STM支援的mbed的板子
https://os.mbed.com/platforms/?tvend=10

Raspberry Pi - 硬體文件

1. Raspberry Pi 1
1.1 BCM2835 Peripheral specification
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf

1.2 GPU documentation
https://docs.broadcom.com/docs/12358545

1.3 ARM1176JZF-S Technical Reference Manual
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0301h/index.html

2. Raspberry Pi 2
2.1 BCM2836 ARM-local peripherals
https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf

2.2 Cortex-A7 MPcore Processor Reference Manual
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0464f/index.html

Raspberry Pi - 查詢樹莓派開發板版本

1. 查詢樹莓派開發板版本,有兩個方法。

2. 查詢/proc/device-tree/model
$ cat /proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2
3. 查詢/proc/cpuinfo,獲得Revision為a02082,查詢下表,得知此開發版為3B v1.2的版本。
$ cat /proc/cpuinfo

...
...
Hardware        : BCM2835
Revision        : a02082
Serial          : 0000000012345678
Old-style revision codes ==================================================== Code Model Revision RAM Manufacturer 0002 B 1.0 256 MB Egoman 0003 B 1.0 256 MB Egoman 0004 B 2.0 256 MB Sony UK 0005 B 2.0 256 MB Qisda 0006 B 2.0 256 MB Egoman 0007 A 2.0 256 MB Egoman 0008 A 2.0 256 MB Sony UK 0009 A 2.0 256 MB Qisda 000d B 2.0 512 MB Egoman 000e B 2.0 512 MB Sony UK 000f B 2.0 512 MB Egoman 0010 B+ 1.0 512 MB Sony UK 0011 CM1 1.0 512 MB Sony UK 0012 A+ 1.1 256 MB Sony UK 0013 B+ 1.2 512 MB Embest 0014 CM1 1.0 512 MB Embest 0015 A+ 1.1 256 MB / 512 MB Embest New-style revision codes in use: ==================================================== Code Model Revision RAM Manufacturer 900021 A+ 1.1 512 MB Sony UK 900032 B+ 1.2 512 MB Sony UK 900092 Zero 1.2 512 MB Sony UK 900093 Zero 1.3 512 MB Sony UK 9000c1 Zero W 1.1 512 MB Sony UK 920093 Zero 1.3 512 MB Embest a01040 2B 1.0 1 GB Sony UK a01041 2B 1.1 1 GB Sony UK a02082 3B 1.2 1 GB Sony UK a020a0 CM3 1.0 1 GB Sony UK a21041 2B 1.1 1 GB Embest a22042 2B 1.2 1 GB Embest a22082 3B 1.2 1 GB Embest a32082 3B 1.2 1 GB Sony Japan 4. 參考來源 https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md