(1) 製作鋼板: 為PCB 板製作一個鋼板,這是一次性的成本。鋼板上有洞的地方就是等等要上錫的位置。
2022年2月25日 星期五
PCB Layout 入門教學(八) ---PCBA 人工打件
(1) 製作鋼板: 為PCB 板製作一個鋼板,這是一次性的成本。鋼板上有洞的地方就是等等要上錫的位置。
2022年2月7日 星期一
關於 Raspberry Pi Pico
Raspberry Pi 基金會於 2021 年 1 月推出 Raspberry Pi Pico,正式進軍微控制器(MCU)領域。Pico 採用基金會自主設計的 RP2040 晶片,該晶片配備雙核 ARM Cortex-M0+(運行頻率最高可達 133MHz),內建 264KB SRAM 和 2MB Flash,其 GPIO 輸出為 3.3V。2024 年 11 月,基金會推出了 Raspberry Pi Pico 2 W 版本。其中「W」代表此版本內建 802.11n 無線網路功能,其核心晶片為 RP2350。
![]() |
| 7 × 7 mm QFN-56 package |
Raspberry Pi Pico 2的硬體規格:
- 雙Arm Cortex-M33或雙Hazard3處理器@150MHz
- 520 KB片上SRAM
- 2個UART。
- 2個SPI控制器。
- 2個I2C控制器。
- 24個PWM通道。
- 4個ADC通道。
- 1個USB 1.1控制器和PHY,支援主機和裝置。
- 12個PIO狀態機。
- 工作溫度-20°C至+85°C。
- 支援輸入電壓1.8–5.5V DC。
![]() |
| Raspberry Pi Pico |
Pi Pico 擴充板規格
[課程]Raspberry Pi Pico 物聯網應用實作
https://bit.ly/4hTRptE
- 理解 Raspberry Pi Pico 硬體架構與擴充功能,並能運用 GPIO、ADC、PWM 等技術進行基礎硬體控制與感測應用。- 熟悉 Thonny IDE 與 MicroPython 程式設計,具備多執行緒與時間控制能力。。- 能運用通訊協定與 Wi-Fi 模組實作 IoT 應用,包含資料傳輸、Web 伺服器與雙向 I/O 控制。
更多Web 技術開發課程- JavaScript 程式設計精修 https://bit.ly/3nF7bfH- web全端開發應用班 https://goo.gl/fjEHfT- IoT 物聯網實務班 https://bit.ly/2XwwHcx
2022年1月21日 星期五
機率
Random variable
- A discrete random variable X is a quantity that can assume any value x from a discrete list of values with a certain probability.
- The probability that the random variable X assumes the particular value x is denoted by Pr(X = x). This collection of probabilities, along with all possible values x, is the probability distribution of the random variable X.
| Discrete Probability Rules |
|---|
|
| Cumulative Distribution Function of a Discrete Random Variable |
|---|
| The cumulative distribution function (CDF) of a random variable X is denoted by F(x), and is defined as F(x) = Pr(X ≤ x). Using our identity for the probability of disjoint events, if X is a discrete random variable, we can write
where xn is the largest possible value of X that is less than or equal to x |
| Binomial PDF |
|---|
| If X is a binomial random variable associated to n independent trials, each with a success probability p, then the probability density function of X is:
where k is any integer from 0 to n. Recall that the factorial notation n! denotes the product of the first n positive integers: n! = 1·2·3···(n-1)·n, and that we observe the convention 0! = 1. |
| Definition: Expected Value of a Discrete Random Variable |
|---|
The expected value, , of a random variable X is weighted average of the possible values of X, weight by their corresponding probabilities:
where N is the number of possible values of X. |
2021年12月13日 星期一
2021年12月10日 星期五
為什麼Z-Score標準化後, 會得到平均數為0, 標準差為1
1.) How can I choose between normalization and standardization in different situations?
2021年11月10日 星期三
How to save and load fine-tuned model?
如何儲存Fine-tune BERT model 的網路權重及架構?
Custom mask layers require a config and must override get_config ...........
1. ) 若pre-trained bert model 只是用來作為sentence embedding 的話,. 那就只儲存後面自己接的網路架構..不用整個儲存(即不必含BERT model), 因此可忽略載入pre-trained bert model . 那就回到原本傳統的model.save() , load_models('xxxx.h5')
2.) pre-trained bert model 串接自己網路架構, 一起訓練, 如果是這種的, 就用方法2
只存weight (model.save_weights), 用原本model 架構去產生一個空的new_model, 然後new_model.load_weights
model.save_weights('my_model_weights.h5')
...
new_model = <build your model with your model building code>
new_model.load_weights('my_model_weights.h5')














, of a random variable X is weighted average of the possible values of X, weight by their corresponding probabilities:



