
Pippitank esc adaptor
garypippi/pippitank
R1 = 67kΩ (47kΩ + 20kΩ) R2 = 10kΩ (8.4V時 1.091V、6.0V時 0.779V)

R1 = 67kΩ (47kΩ + 20kΩ) R2 = 10kΩ (8.4V時 1.091V、6.0V時 0.779V)
Pippitank engine is an open-source printed circuit board by garypippi, from the garypippi/pippitank repository on GitHub, published under the MIT licence. It is a 2-layer board of 84 × 69 mm with 82 parts on 44 nets, routed with 314 tracks and 38 vias.
It is built around the ATTINY1604-SSF, AP7375-50Y and RB160M-30TR, with the TJ60S04M3L-VB among its other parts. Its parts include 38 resistors, 18 capacitors, 8 connectors, 5 ICs and 3 fuses. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Known Issues
電力想定
シャント抵抗は1W7mΩ ±5%を調達 並列数は4、 上限30Aとして
ADC基準電圧は、精度を優先し1.1Vを使用する。 必要利得は
20.95 = 1100 / 52.5
利得はROUT/RINで設定する。
RINの範囲にはLT6106内部電流の制約がある。
内部電流の上限は1mA、30A時のセンス電圧52.5mVを流すには RIN ≥ 52.5mV / 1mA = 52.5Ω が必要。 データシート条件から RIN ≤ 500Ω
よって
52.5Ω < RIN < 500Ω
出力フィルタは2段LPF構成にする。
┌───────┬───────┬──────────────────────────────────────┐
│ 素子 │ 値 │ 用途 │
├───────┼───────┼──────────────────────────────────────┤
│ RIN │ 240Ω │ 入力抵抗 │
├───────┼───────┼──────────────────────────────────────┤
│ ROUT │ 4.7kΩ │ 出力抵抗(利得設定 兼 1段目LPFのR) │
├───────┼───────┼──────────────────────────────────────┤
│ COUT1 │ 0.1μF │ ROUT並列、1段目LPFのC(LT6106直近) │
├───────┼───────┼──────────────────────────────────────┤
│ Rs │ 100Ω │ 2段目LPFの直列R(配線途中〜ADC直前) │
├───────┼───────┼──────────────────────────────────────┤
│ COUT2 │ 10nF │ 2段目LPFのC(ADC直近) │
└───────┴───────┴──────────────────────────────────────┘実装時はケルビン接続
車体、砲塔への電流測定。 負荷はRPi Zero W、RPi Camera、サーボx2、プッシュ型ソレノイド、各MCU
シャント抵抗は1W40mΩ ±1%を調達 並列数は2、 上限5Aとして
ADC基準電圧は、精度を優先し1.1Vを使用する。 必要利得は
11.0 = 1100 / 100
出力フィルタは2段LPF構成にする。
┌───────┬───────┬──────────────────────────────────────┐
│ 素子 │ 値 │ 用途 │
├───────┼───────┼──────────────────────────────────────┤
│ RIN │ 240Ω │ 入力抵抗 │
├───────┼───────┼──────────────────────────────────────┤
│ ROUT │ 2.4kΩ │ 出力抵抗(利得設定 兼 1段目LPFのR) │
├───────┼───────┼──────────────────────────────────────┤
│ COUT1 │ 0.1μF │ ROUT並列、1段目LPFのC(LT6106直近) │
├───────┼───────┼──────────────────────────────────────┤
│ Rs │ 100Ω │ 2段目LPFの直列R(配線途中〜ADC直前) │
├───────┼───────┼──────────────────────────────────────┤
│ COUT2 │ 10nF │ 2段目LPFのC(ADC直近) │
└───────┴───────┴──────────────────────────────────────┘実装時はケルビン接続
測定地点
抵抗分圧について、精度優先で内蔵基準電圧1.1Vを使用する MAX8.4として
R1 = 67kΩ (47kΩ + 20kΩ) R2 = 10kΩ (8.4V時 1.091V、6.0V時 0.779V)
MAX4.2の場合は R1=47kΩ にすれば良い(4.2V時 0.737V)
LT6106の電流測定と同じく、2段LPF構成で配置する
Vin ── R1 ──┬──[配線]── Rs ──┬── ATtiny ADC
│ │
R2 C2(10nF)
│ │
├── C1(0.1μF) GND
│
GND┌───────┬──────────┬──────────────────────────────────────┐
│ 素子 │ 値 │ 用途 │
├───────┼──────────┼──────────────────────────────────────┤
│ R1 │ 67kΩ等 │ 分圧上段(信号源側) │
├───────┼──────────┼──────────────────────────────────────┤
│ R2 │ 10kΩ │ 分圧下段(信号源側、R1とセット) │
├───────┼──────────┼──────────────────────────────────────┤
│ C1 │ 0.1μF │ R2並列、1段目LPF(信号源側) │
├───────┼──────────┼──────────────────────────────────────┤
│ Rs │ 100Ω │ 2段目LPFの直列R(電流系と共用規格) │
├───────┼──────────┼──────────────────────────────────────┤
│ C2 │ 10nF │ 2段目LPF(ADC直近、電流系と共用規格)│
└───────┴──────────┴──────────────────────────────────────┘Pch-MOSFET および シャント抵抗の発熱監視用に NTCサーミスタを1点実装する。
VCC(5V) ── R_pu 47kΩ ──┬──[配線]── Rs ──┬── ATtiny ADC (PA7)
│ │
NTC 47kΩ C2 (10nF)
│ │
├── C1 (0.1μF) GND
│
GND温度 vs ADCコード (VDD=5V, 10bit, B=4050K):
┌──────┬─────────┬────────┬─────────┐
│ 温度 │ NTC抵抗 │ 電圧 │ ADCコード │
├──────┼─────────┼────────┼─────────┤
│ 0°C │ 163kΩ │ 3.88V │ 795 │
│ 25°C │ 47kΩ │ 2.50V │ 512 │
│ 60°C │ 11.3kΩ │ 0.97V │ 198 │
│ 85°C │ 4.84kΩ │ 0.47V │ 96 │
│100°C │ 3.06kΩ │ 0.31V │ 63 │
└──────┴─────────┴────────┴─────────┘Pch-MOSFET裏面の銅箔ベタに密着させ、シャント抵抗発熱も熱結合で捕捉する。 シャットダウン閾値はマージンを取り ADCコード 110 (公称 82°C) 付近で発動、 最悪ケース (B+3%, R25+5%) でも実温度 85°C を超える前に遮断される想定とする。
┌───────┬──────────┬─────────────────────────────────────┐
│ 素子 │ 値 │ 用途 │
├───────┼──────────┼─────────────────────────────────────┤
│ R_pu │ 47kΩ ±5% │ プルアップ(信号源側) │
├───────┼──────────┼─────────────────────────────────────┤
│ NTC │ 47kΩ │ NTH5G20P40B473J(信号源側) │
├───────┼──────────┼─────────────────────────────────────┤
│ C1 │ 0.1μF │ 1段目LPF(信号源側、NTC並列) │
├───────┼──────────┼─────────────────────────────────────┤
│ Rs │ 100Ω │ 2段目LPFの直列R(全系統共用規格) │
├───────┼──────────┼─────────────────────────────────────┤
│ C2 │ 10nF │ 2段目LPF(ADC直近、全系統共用規格) │
└───────┴──────────┴─────────────────────────────────────┘ATtiny1604の消費電力は小さいので、BAT接続時は常に稼働させる
BAT(+) ---+---------- (VIN) AP7375 (VOUT) -+--- (A)▷|(K) --- VCC rail --- ATtiny1604
| | | D2 UPDI 5V pin
| CIN=1μF | |
| | | COUT=10μF
BAT(-) ---+------------------+-------------+BAT未接続状態でもArduino Uno経由でUPDI書き込みできるよう、AP7375出力とVCC rail間にショットキーダイオードを挿入する。
AP7375 --+-- (A)▷|(K) ----+----- ATtiny VCC (pin 1)
| D2 |
| +--- UPDI header 5V pin
C2=10μF |
| C_bypass=0.1μF
GND GND| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 0.1μF | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | C3, C4, C5, C6, C7, C8, C9, C10, C18 |
| 8 | 100Ω | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R30, R31, R32, R33, R34, R35, R36, R37 |
| 8 | 7mΩ | Resistor_SMD:R_2512_6332Metric | R12, R13, R15, R18, R19, R21, R22, R23 |
| 7 | 0.01μF | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | C11, C12, C13, C14, C15, C16, C17 |
| 6 | 10kΩ | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R5, R6, R9, R20, R38 |
| 4 | 47kΩ | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R4, R7, R26 |
| 3 | 240Ω | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R14, R16, R27 |
| 3 | 4.7kΩ | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R10, R11, R25 |
| 3 | Conn_01x02_Pin | Connector_AMASS:AMASS_XT60PW-M_1x02_P7.20mm_Horizontal | J1, J3, J4 |
| 3 | LT6106 | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U2, U3, U5 |
| 2 | 20kΩ | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R8 |
| 2 | 30A | Pippitank:Keystone_3557_15 | F1, F2 |
| 2 | 40mΩ | Resistor_SMD:R_2512_6332Metric | R28, R29 |
| 2 | Conn_01x02_Pin | Connector_AMASS:AMASS_XT30PW-M_1x02_P2.50mm_Horizontal | J7, J8 |
| 1 | 10μF | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | C2 |
| 1 | 1kΩ | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R17 |
| 1 | 1μF | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | C1 |
| 1 | 2.4kΩ | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R24 |
| 1 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | 5A | Pippitank:Keystone_3557_15 | F3 |
| 1 | AP7375-50 | Package_TO_SOT_SMD:SOT-23_Handsoldering | U1 |
| 1 | ATtiny1604-SS | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U4 |
| 1 | Conn_01x03_Pin | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J5 |
| 1 | Conn_01x03_Pin | Connector_JST:JST_XH_S3B-XH-A_1x03_P2.50mm_Horizontal | J2 |
| 1 | Conn_01x04_Pin | Connector_JST:JST_XH_S4B-XH-A_1x04_P2.50mm_Horizontal | J6 |
| 1 | LED | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1 |
| 1 | RB160M-30TR | Diode_SMD:D_SOD-123F | D2 |
| 1 | TJ60S04M3L | Package_TO_SOT_SMD:TO-252-3_TabPin2 | Q1 |
| 1 | Thermistor_NTC | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | TH1 |
| 1 | ~ | Pippitank:SSAJ120100 | SW1 |
The 78 most common of 82 parts.

garypippi/pippitank
R1 = 67kΩ (47kΩ + 20kΩ) R2 = 10kΩ (8.4V時 1.091V、6.0V時 0.779V)


ephemeridis/props_board
ESP32 based control board for costumes and props featuring USB PD enabled charging






22-soeda/ROBOONE-Auto-RaspiHAT
KiCad design for ROBOONE Automatic RaspberryPi HAT
It measures 84 × 69 mm and has 2 copper layers, 1.6 mm thick.
82 parts, built around the ATTINY1604-SSF, AP7375-50Y, RB160M-30TR and TJ60S04M3L-VB. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the garypippi/pippitank repository on GitHub, at the commit this page was made from: the board is pcb/pippitank-engine/rev_a/pippitank-engine.kicad_pcb and its schematic pcb/pippitank-engine/rev_a/pippitank-engine.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).