1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2025-01-31 12:13:47 +01:00

Document for AIC touch

This commit is contained in:
whowechina 2024-06-03 11:23:43 +08:00
parent d0ae08bd7e
commit 5f6d0d3022
13 changed files with 142 additions and 11 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -68,7 +68,13 @@ https://github.com/whowechina/
## About the License ## About the License
It's CC-NC. So DIY for yourself and for your friend, don't make money from it. It's CC-NC. So DIY for yourself and for your friend, don't make money from it.
## Building "AIC Pico (PN532)" ## List of Building Choices
- [AIC Pico PN532](#Building-AIC-Pico-PN532)
- [AIC Pico PN5180](#Building-AIC-Pico-PN5180)
- [AIC Key](#Building-AIC-Key)
- [AIC Touch](#Building-AIC-Touch)
## Building AIC Pico PN532
Seriously, this is the easiest one among all my Pico series projects. Seriously, this is the easiest one among all my Pico series projects.
### Components ### Components
* 1x Rasberry Pi Pico or Pico W (clones work too). * 1x Rasberry Pi Pico or Pico W (clones work too).
@ -93,6 +99,8 @@ For the top part, choose one that fits your need.
* **aic_pico_top_tall_ams.3mf** * **aic_pico_top_tall_ams.3mf**
Taller top part, multi-color printing. Taller top part, multi-color printing.
Top parts should be printed upside-down.
### Wiring ### Wiring
<img src="doc/pico_pn532_wiring.png" width="70%"> <img src="doc/pico_pn532_wiring.png" width="70%">
@ -110,7 +118,7 @@ I'll let these images do the talk.
* The mode switch on PN532 must be in "I2C" mode, picture below shows the correct settings. * The mode switch on PN532 must be in "I2C" mode, picture below shows the correct settings.
<img src="doc/pn532_i2c.jpg" width="40%"> <img src="doc/pn532_i2c.jpg" width="40%">
## Building "AIC Pico (PN5180)" ## Building AIC Pico PN5180
If you opt for the PN5180 NFC module, note that the housing design is up to you. Ensure it fits your design or you can use it without a case. Be prepared to solder more wires compared to the PN532 version. If you opt for the PN5180 NFC module, note that the housing design is up to you. Ensure it fits your design or you can use it without a case. Be prepared to solder more wires compared to the PN532 version.
### Wiring ### Wiring
@ -118,7 +126,7 @@ If you opt for the PN5180 NFC module, note that the housing design is up to you.
Note: WS2812B LED Strip wiring is the same as the PN532 version. Note: WS2812B LED Strip wiring is the same as the PN532 version.
## Building "AIC Key" ## Building AIC Key
AIC Key is a variation of the AIC Pico - a keypad is integrated. Much more difficult to build than the "AIC Pico" as it has many tiny components to solder. AIC Key is a variation of the AIC Pico - a keypad is integrated. Much more difficult to build than the "AIC Pico" as it has many tiny components to solder.
### Components ### Components
@ -150,7 +158,7 @@ AIC Key is a variation of the AIC Pico - a keypad is integrated. Much more diffi
<img src="doc/bonito_stickers.png" width="50%"> <img src="doc/bonito_stickers.png" width="50%">
<img src="doc/bonito_action.jpg" width="50%"> <img src="doc/bonito_action.jpg" width="50%">
* PCB, just visit JLCPCB (https://jlcpcb.com/) and place an order there. Leave everything default, 1.6mm thickness, whatever color you like. PCB gerber files are in "Production/PCB" folder. For PN532 version, use "aic_key_pn532_v*.zip", for PN5180 version, use "aic_key_pn5180_v*.zip". * PCB, visit JLCPCB (https://jlcpcb.com/) and place an order there. Leave everything default, 1.6mm thickness, whatever color you like. The PCB gerber file is "Production/PCB/aic_key_v*.zip".
<img src="doc/pcbs.jpg" width="60%"> <img src="doc/pcbs.jpg" width="60%">
### 3D Prints ### 3D Prints
@ -165,6 +173,8 @@ AIC Key is a variation of the AIC Pico - a keypad is integrated. Much more diffi
* **aic_key_top_tact_ams.3mf** * **aic_key_top_tact_ams.3mf**
Top part for Panasonic tact switches, multi-color printing. Top part for Panasonic tact switches, multi-color printing.
Top parts should be printed upside-down.
### Assembly ### Assembly
Again I'll let these images do the talk. Remember to upload the firmware onto Raspberry Pi Pico before assemble. Again I'll let these images do the talk. Remember to upload the firmware onto Raspberry Pi Pico before assemble.
Please note, the latest PCB is compatible with both PN532 and PN5180, and you can solder according to your needs. The photos below are based on an earlier version of the PCB and may not correspond exactly, but I believe you will be able to understand. Please note, the latest PCB is compatible with both PN532 and PN5180, and you can solder according to your needs. The photos below are based on an earlier version of the PCB and may not correspond exactly, but I believe you will be able to understand.
@ -182,10 +192,13 @@ Remember set to I2C mode first.
<img src="doc/key_assemble_4.jpg" width="40%"> <img src="doc/key_assemble_4.jpg" width="40%">
<img src="doc/key_assemble_5.jpg" width="40%"> <img src="doc/key_assemble_5.jpg" width="40%">
**CAUTION:** There's a possibility that the antenna on the PN532 PCB may come into contact with the USB connector and cause RF problem. To prevent this, you can apply some insulating tape. **CAUTION:**
- There's a possibility that the antenna on the PN532 PCB may come into contact with the USB connector and cause RF problem. To prevent this, you can apply some insulating tape.
<img src="doc/key_pn532_tape.jpg" width="60%"> <img src="doc/key_pn532_tape.jpg" width="60%">
- Due to manufacturing errors, your PN532 module may not fit perfectly into the housing. If necessary, you can gently trim the edges of the PN532 module for a better fit.
#### PN5180 Version #### PN5180 Version
You need to cut off the original antenna and use the one in our PCB. You need to cut off the original antenna and use the one in our PCB.
@ -200,6 +213,59 @@ You may use some instant adhesive to fix stickers.
<img src="doc/key_assemble_10.jpg" width="46%"> <img src="doc/key_assemble_10.jpg" width="46%">
<img src="doc/pico_assemble_4.jpg" width="40%"> <img src="doc/pico_assemble_4.jpg" width="40%">
## Building AIC Touch
AIC Touch, another variant of AIC Pico, comes with an integrated touchscreen. However, its tiny FPC/FFC connector significantly increases the soldering and assembly difficulty.
### Components
* For the Raspberry Pi Pico, NFC module, 6x WS2812B 1204 LEDs and the R1 resistor part, follow the guide for AIC Key.
* C1, C2, C3, 0603 0.1uF capacitors, they contribute to a more stable power supply.
* R2, R3, pull-up resistors for the I2C bus, 0603 1Kohm ~ 4.7Kohm.
* 1.69 inch 240x280 LCD touchscreen (ST7789 + CST816). Several vendors are making this model, as long as one has the exact same looking, it will be fine. It looks like this.
<img src="doc/touchscreen.jpg" width="30%">
* The FPC/FFC flip cover connector for the touchscreen. 18P, 0.5mm Pitch, 1.0H (1mm height), front flip (flip cover at cable side), bottom contact. It looks like this:
<img src="doc/fpc_socket.jpg" width="30%">
* PCB file "aic_touch_v*.zip".
<img src="doc/pcbs.jpg" width="60%">
### 3D Prints
* **aic_touch_bottom.stl**
Bottom part.
* **aic_touch_top.stl**
Top part.
* **aic_touch_top_ams.3mf**
Top part for multi-color printing.
Top parts should be printed upside-down.
To achieve the best aesthetic results, I recommend using the combination of clear PLA and black PLA. For the top part, make the first 2 layers of the sub-object "Top" black, and all others clear.
<img src="doc/touch_3d_print.jpg" width="40%">
### Assembly
For most of the part, just follow the guide of AIC key.
Soldering the 18P-0.5mm-1.0H FPC/FFC connector can be challenging. Here are some tips to make the process easier:
* Use a small, sharp iron tip, the smaller the better.
* Set your soldering iron to a lower temperature, below 280 degrees Celsius.
* Apply a generous amount of high-quality solder flux to keep the pins "wet" during soldering.
* Use thin low-temperature solder wire (for example, diameter of 0.3mm).
* Start by soldering the mounting pins on both sides for proper alignment, then proceed with the 18 main pins.
* Don't feed solder wire directly onto the main pins.
* When soldering main pins, only apply a very small amount of solder to the iron tip.
* If you apply too much solder, a solder wick can be used effectively to remove the excess.
Remember to attach 1mm-thick soft pads to support the touchscreen. You can use 1mm 3M VHB double-sided tape, but do NOT remove the red film liner (don't let the tape stick to the touchscreen).
<img src="doc/touch_assemble_1.jpg" width="30%">
<img src="doc/touch_assemble_2.jpg" width="30%">
It's done.
<img src="doc/touch_assemble_3.jpg" width="30%">
## Firmware ## Firmware
* UF2 file is in `Production\Firmware` folder. * UF2 file is in `Production\Firmware` folder.
* There're several ways to boot into firmware update mode: * There're several ways to boot into firmware update mode:

View File

@ -71,7 +71,13 @@ https://github.com/whowechina/
## 关于许可证 ## 关于许可证
它是 CC-NC 授权。所以你只能给自己和你的朋友 DIY不能利用这个项目赚钱。 它是 CC-NC 授权。所以你只能给自己和你的朋友 DIY不能利用这个项目赚钱。
## 构建 "AIC Pico (PN532)" ## 多种制作版本选择
- [AIC Pico PN532](#制作-AIC-Pico-PN532)
- [AIC Pico PN5180](#制作-AIC-Pico-PN5180)
- [AIC Key](#制作-AIC-Key)
- [AIC Touch](#制作-AIC-Touch)
## 制作 AIC Pico PN532
说真的,这是我所有 Pico 系列项目中最简单的一个。 说真的,这是我所有 Pico 系列项目中最简单的一个。
### 组件 ### 组件
* 1x 树莓派 Pico 或 Pico W (克隆版也可以)。 * 1x 树莓派 Pico 或 Pico W (克隆版也可以)。
@ -96,6 +102,8 @@ https://github.com/whowechina/
* **aic_pico_top_tall_ams.3mf** * **aic_pico_top_tall_ams.3mf**
加高的顶部部分,多色打印。 加高的顶部部分,多色打印。
顶部部分需要上下颠倒打印。
### 接线 ### 接线
<img src="doc/pico_pn532_wiring.png" width="70%"> <img src="doc/pico_pn532_wiring.png" width="70%">
@ -113,7 +121,7 @@ https://github.com/whowechina/
* PN532 上的模式开关必须处于 "I2C" 模式,下面的图片显示了正确的设置。 * PN532 上的模式开关必须处于 "I2C" 模式,下面的图片显示了正确的设置。
<img src="doc/pn532_i2c.jpg" width="40%"> <img src="doc/pn532_i2c.jpg" width="40%">
## 构建 "AIC Pico (PN5180)" ## 制作 AIC Pico PN5180
如果你选择 PN5180 NFC 模块,壳子的设计要你自己来了,确保它适合你的要求就好,或者你可以不使用壳子。与 PN532 版本相比,准备好焊接更多的线。 如果你选择 PN5180 NFC 模块,壳子的设计要你自己来了,确保它适合你的要求就好,或者你可以不使用壳子。与 PN532 版本相比,准备好焊接更多的线。
### 接线 ### 接线
@ -121,7 +129,7 @@ https://github.com/whowechina/
注意WS2812B LED 条的接线与 PN532 版本相同。 注意WS2812B LED 条的接线与 PN532 版本相同。
## 构建 "AIC Key" ## 制作 AIC Key
AIC Key 是 AIC Pico 的一个变种 - 集成了一个小键盘。比 "AIC Pico" 更难构建,因为它有许多微小的组件需要焊接。 AIC Key 是 AIC Pico 的一个变种 - 集成了一个小键盘。比 "AIC Pico" 更难构建,因为它有许多微小的组件需要焊接。
### 组件 ### 组件
@ -153,7 +161,7 @@ AIC Key 是 AIC Pico 的一个变种 - 集成了一个小键盘。比 "AIC Pico"
<img src="doc/bonito_stickers.png" width="50%"> <img src="doc/bonito_stickers.png" width="50%">
<img src="doc/bonito_action.jpg" width="50%"> <img src="doc/bonito_action.jpg" width="50%">
* PCB只需访问 JLCPCB (https://jlcpcb.com/) 并在那里下订单。保持所有设置默认1.6mm 厚度你喜欢的任何颜色。PCB gerber 文件在 "Production/PCB" 文件夹。对于 PN532 版本,使用 "aic_key_pn532_v*.zip",对于 PN5180 版本,使用 "aic_key_pn5180_v*.zip"。 * PCB访问 JLCPCB (https://jlcpcb.com/) 并在那里下订单。保持所有设置默认1.6mm 厚度你喜欢的任何颜色。PCB gerber 文件在 "Production/PCB/aic_key_v*.zip"。
<img src="doc/pcbs.jpg" width="60%"> <img src="doc/pcbs.jpg" width="60%">
### 3D 打印 ### 3D 打印
@ -168,6 +176,8 @@ AIC Key 是 AIC Pico 的一个变种 - 集成了一个小键盘。比 "AIC Pico"
* **aic_key_top_tact_ams.3mf** * **aic_key_top_tact_ams.3mf**
适用于 Panasonic tact 开关的顶部部分,多色打印。 适用于 Panasonic tact 开关的顶部部分,多色打印。
顶部部分需要上下颠倒打印。
### 组装 ### 组装
我还是让这些图片来说明。记住在组装之前先将固件上传到树莓派 Pico。 我还是让这些图片来说明。记住在组装之前先将固件上传到树莓派 Pico。
注意,最新的 PCB 已经同时兼容 PN532 和 PN5180根据需要焊接即可。下面的照片是基于早期的 PCB 版本拍摄的,不能精确对应,但我相信你能够看明白。 注意,最新的 PCB 已经同时兼容 PN532 和 PN5180根据需要焊接即可。下面的照片是基于早期的 PCB 版本拍摄的,不能精确对应,但我相信你能够看明白。
@ -185,9 +195,11 @@ AIC Key 是 AIC Pico 的一个变种 - 集成了一个小键盘。比 "AIC Pico"
<img src="doc/key_assemble_4.jpg" width="40%"> <img src="doc/key_assemble_4.jpg" width="40%">
<img src="doc/key_assemble_5.jpg" width="40%"> <img src="doc/key_assemble_5.jpg" width="40%">
**注意:** PN532 PCB 上的天线有可能会接触到 USB 插座并导致射频问题。为了防止这种情况,你可以贴上绝缘胶带避免它们互相接触。 **注意:**
- PN532 PCB 上的天线有可能会接触到 USB 插座并导致射频问题。为了防止这种情况,你可以贴上绝缘胶带避免它们互相接触。
<img src="doc/key_pn532_tape.jpg" width="60%"> <img src="doc/key_pn532_tape.jpg" width="60%">
- 由于制造误差,您手上的 PN532 模块可能无法完美地适应外壳。如有必要,您可以略微修剪 PN532 模块的边缘来调整。
#### PN5180 版本 #### PN5180 版本
你需要切掉原来的天线并使用我们 PCB 中的天线。 你需要切掉原来的天线并使用我们 PCB 中的天线。
@ -203,6 +215,59 @@ AIC Key 是 AIC Pico 的一个变种 - 集成了一个小键盘。比 "AIC Pico"
<img src="doc/key_assemble_10.jpg" width="46%"> <img src="doc/key_assemble_10.jpg" width="46%">
<img src="doc/pico_assemble_4.jpg" width="40%"> <img src="doc/pico_assemble_4.jpg" width="40%">
## 构建 AIC Touch
AIC Touch 是 AIC Pico 的另一种版本,配备了触摸屏。不过它微小的 FPC/FFC 连接器大大增加了焊接和组装的难度。
### 组件
* 对于 Raspberry Pi Pico、NFC 模块、6x WS2812B 1204 LED 和 R1 电阻部分,请按照 AIC Key 的指南进行操作。
* C1、C2、C30603 0.1uF 电容,它们有助于更稳定的电源供应。
* R2、R3I2C 总线的上拉电阻0603 1Kohm ~ 4.7Kohm。
* 1.69 英寸 240x280 LCD 触摸屏ST7789 + CST816。有几个供应商在销售这个型号只要看起来完全相同就应该可以。它看上去长这个样子。
<img src="doc/touchscreen.jpg" width="30%">
* 触摸屏的 FPC/FFC 翻盖连接器。18P0.5mm 间距1.0H1mm 高度),前翻盖下接。它看起来像这样:
<img src="doc/fpc_socket.jpg" width="30%">
* PCB 文件 "aic_touch_v*.zip"。
<img src="doc/pcbs.jpg" width="60%">
### 3D 打印
* **aic_touch_bottom.stl**
底部部分。
* **aic_touch_top.stl**
顶部部分.
* **aic_touch_top_ams.3mf**
顶部部分,多色打印。
顶部部分需要上下颠倒打印。
为了获得最佳的外观效果,我建议使用透明 PLA 和黑色 PLA 的组合。其中顶部除了子对象“Top”的最开始两层用黑色外其他都用透明。
<img src="doc/touch_3d_print.jpg" width="40%">
### 组装
对于大部分内容,请参考 AIC Key 的制作。
焊接 18P-0.5mm-1.0H FPC/FFC 连接器很有挑战。以下是一些提示:
* 使用小而尖锐的烙铁头,越小越好。
* 将你的焊接铁温度设定在较低的温度,大约 280 摄氏度。
* 使用大量的高质量焊接助剂,以保持引脚在焊接过程中“湿润”。
* 首先焊接两侧的固定引脚以确保正确的对齐,然后焊接 18 个主引脚。
* 避免直接将焊锡丝喂到主引脚来焊接。
* 在焊接主引脚时,只需要在烙铁尖上附着极少量的焊锡。
* 如果你用了过多的焊锡,可以用吸锡带去除多余的焊锡。
记得贴一层 1mm 厚度的软垫以支撑触摸屏。你可以用 1mm 厚度的 3M VHB 双面胶带,但是不要移除红色的保护层(绝对不要让胶带粘在触摸屏上)。
<img src="doc/touch_assemble_1.jpg" width="30%">
<img src="doc/touch_assemble_2.jpg" width="30%">
搞定了。
<img src="doc/touch_assemble_3.jpg" width="30%">
## 固件 ## 固件
* UF2 文件在 `Production\Firmware` 文件夹中。 * UF2 文件在 `Production\Firmware` 文件夹中。
* 有几种方法可以进入固件更新模式: * 有几种方法可以进入固件更新模式:

BIN
doc/aic_touch_pcb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
doc/fpc_socket.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 427 KiB

After

Width:  |  Height:  |  Size: 296 KiB

BIN
doc/touch_3d_print.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

BIN
doc/touch_assemble_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

BIN
doc/touch_assemble_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

BIN
doc/touch_assemble_3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

BIN
doc/touchscreen.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB