有许多项目使用Raspberry PI作为系统的基础,但是在提供电源和与外部设备进行交互方面存在许多困难。我想分享为小型计算机创建小型防护罩,简化其应用并提高整个系统的可靠性的经验。
借助Raspberry PI解决的典型任务是小型家庭/工业自动化,其中有一组外围模块,这些外围模块由12-24伏电压供电并具有RS-485总线。为了使用与模块相同的电源为Raspberry供电,您必须放置一个5伏转换器并通过GPIO或USB连接器进行连接。为此添加了另一个USB-RS485或UART-RS485适配器,该适配器伸出USB或挂在GPIO连接器上。这样的设计选项不可靠。
— . , Raspberry PI 5 micro USB type . , 2.5 — 3 CPU. microUSB , , . Current Rating (Amps) 1.8. , , , Raspberry .
, 12 — 48 , .
Raspberry. USB. , , , .
? Raspberry! , , Raspberry . : USB , USB , . , :
. DC-DC LMR23630. 36 3 .
UART RS-485 MAX13487 . RE/DE.
.
.
56*21 .
, , — . , . , B4CKSP4CE. Raspberry, MODBUS RS-485. PI PWR . , - . MODBUS-PATY, .
. . RS-485. . . . stackoverflow:
Talking with the Maxim-IC guy, I was missing a pull-up resistor on the RO. Fixed it! Thank you for your time and hope my solution will help someone! – Alexandre Lavoie Nov 4 '14 at 21:19
, RO . Maxim-IC, .
B4CKSP4CE .
, :
, :
- MAX13487 GPIO.
- , .
- . , Raspberry PI Zero , .
- , . ( )
- /. ( )
.
.
- 6...36V
- 5V
- 3A
- UART — RS-485
- 5V