
Easyduino RP2040
Hanqaqa/Easyduino
Easily dive into different PCB KiCad designs of the most popular microcontroller devboards

a PCB converts 5 buttons into 1 analog output
Bf-028 is an open-source printed circuit board by botanicfields, from the botanicfields/PCB-ADC-Buttons-for-M5 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 63 × 28 mm with 22 parts on 9 nets, routed with 67 tracks and 54 vias.
It is built around the XC6206P332MR. Its parts include 6 resistors, 5 switches, 3 capacitors, 1 IC and 1 transistor. It belongs with the ESP32 boards of this library.
a PCB converts 5 buttons into 1 analog output
https://www.switch-science.com/catalog/7227/
押しボタンスイッチのチャタリングや接触抵抗による誤動作が皆無とは言えません。時刻の設定など、結果を確認しながら操作し、やり直しを可能とするなど、運用でカバーできる範囲でご利用ください。
複数ボタンの同時押しの判定はできません。
M5Stack Basic の GROVE コネクタに直結して使用することはできません。 「GROVE-ジャンパケーブル」などを用いて、アナログ入力の GPIO および 5V, GND に接続する必要があります。
「GROVE - 4ピン - ジャンパオスケーブル(5本セット)」
https://www.switch-science.com/catalog/6245/)
「GROVE - 4ピン-ジャンパメスケーブル (5本セット)」
https://www.switch-science.com/catalog/1048/
M5Stack Basic で、G35, G36, 5V, GND に接続した例
M5 シリーズ (ESP32) では、アナログ入力として一般に G32 ~ G39 が使用されます。 G2, G4, G12 ~ G15, G24 ~ G26 のアナログ入力機能は、Wi-Fi 等が使用しますので 一般には使いづらいです。G0 はプルアップがあるなどアナログ入力には向きません。
| モデル | GROVE | 主な用途 |
|---|---|---|
| M5Stack Basic | G22, G21 | I2C |
| M5Stack Core2 | G33, G32 | I2C, I/O, UART |
| M5StickC | G33, G32 | I2C, I/O, UART |
| M5Atom | G32, G26 | I2C, I/O, UART |
Everlight ALS-PT19
光センサの出力を読み出すプログラム、および 5 個の押しボタンの状態を読み出すプログラムです。JC_Button を流用・改変しています。
https://github.com/JChristensen/JC_Button
上記コードを呼び出すテスト用のプログラムです。
上記テストプログラムのメインプログラムです。
Qiita 「ESP32 のアナログ入力で、押しボタン 5 個を判別する」
https://qiita.com/BotanicFields/items/15d8d45836a4d2f6c87a
「RGB LED 276 for M5Atom」への接続例です。
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 1k | bf:BF_R_0603_1608Metric | R2, R3 |
| 2 | 1u | bf:BF_C_0603_1608Metric | C1, C2 |
| 1 | 0.1u | bf:BF_C_0603_1608Metric | C3 |
| 1 | 1.5k | bf:BF_R_0603_1608Metric | R4 |
| 1 | 10k | bf:BF_R_0603_1608Metric | R6 |
| 1 | 3.3k | bf:BF_R_0603_1608Metric | R1 |
| 1 | 5.1k | bf:BF_R_0603_1608Metric | R5 |
| 1 | ALS-PT19 | bf:BF@ALS-PT19_0603_1608Metric | Q1 |
| 1 | Analog | OPL_Connector:HW4-SMD-2.0-90D | J1 |
| 1 | DOWN | bf:BF@K2-6639SP | SW3 |
| 1 | LEFT | bf:BF@K2-6639SP | SW4 |
| 1 | LOGO | bf:BF@logo4 | G*** |
| 1 | RIGHT | bf:BF@K2-6639SP | SW1 |
| 1 | SELECT | bf:BF@K2-6639SP | SW5 |
| 1 | UP | bf:BF@K2-6639SP | SW2 |
| 1 | XC6206P332MR | Package_TO_SOT_SMD:SOT-23 | U1 |
The 18 most common of 22 parts.

Hanqaqa/Easyduino
Easily dive into different PCB KiCad designs of the most popular microcontroller devboards

makeo/PicoLoader
A cheap and easy to install modchip for the Nintendo GameCube!

sd2psx/pcb
The PCB must be produced in 0.8mm thickness. Production files are provided under the "Releases" tab. These do not include the through-hole OLED module.



KarlK90/yaemk-split-kb
5x8 Split keyboard with thumb-clusters, rotary encoders and oleds.

ebastler/E80-1800
QMK compatible PCB replacement for Cherry G80-1800

It measures 63 × 28 mm and has 2 copper layers, 1.6 mm thick.
22 parts, built around the XC6206P332MR. 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 botanicfields/PCB-ADC-Buttons-for-M5 repository on GitHub, at the commit this page was made from: the board is PCBV02L01/KiCad/bf-028.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).