# BrickPi

**BrickPi** 是一款开源机器人控制板，由 Dexter Industries 制造，可将 LEGO MINDSTORMS NXT 和 EV3 的电机与传感器连接到[树莓派](https://www.edgepedia.org/zh/raspberry-pi)（Raspberry Pi）上，以树莓派取代 Mindstorms 控制砖块，充当机器人的大脑。<sup>[1](https://www.dexterindustries.com/about-2/)</sup> 该板堆叠在树莓派之上，为 Mindstorms 外设提供接口，通过自带电池组为机器人供电，并可用 Python、Scratch、C、Java 等语言编程。<sup>[1](https://www.dexterindustries.com/about-2/)</sup><sup> • </sup><sup>[2](https://www.dexterindustries.com/BrickPi/brickpi3-getting-started/)</sup>

| 关键信息 | 详情 |
|---|---|
| 制造商 | Dexter Industries，一家教育机器人公司；2019 年被 Modular Robotics 收购<sup>[1](https://www.dexterindustries.com/about-2/)</sup><sup> • </sup><sup>[3](https://www.dexterindustries.com/about/)</sup> |
| 功能 | 将 LEGO MINDSTORMS NXT 和 EV3 的电机与传感器连接到树莓派<sup>[4](https://github.com/DexterInd/BrickPi3)</sup> |
| 接口（初代 BrickPi） | 最多 4 个电机和 5 个传感器；9 至 12 V 电池为电机、传感器和树莓派供电<sup>[1](https://www.dexterindustries.com/about-2/)</sup> |
| 电子元件 | 两颗兼容 Arduino 的 Atmega328 微控制器，运行频率 16 MHz；电机电源由德州仪器 SN754410 切换<sup>[5](https://www.dexterindustries.com/about-2/design/hardware-design/)</sup> |
| 起源 | Kickstarter 众筹于 2013 年 5 月启动；数日内募得目标金额 1,889 美元的 800% 以上<sup>[6](https://www.dexterindustries.com/kickstarter-project-brickpi-for-raspberry-pi/)</sup><sup> • </sup><sup>[7](https://techcrunch.com/2013/06/11/brickpi/)</sup> |
| 编程 | Python、Scratch、C 和 Java 库；固件以 Arduino 编写<sup>[2](https://www.dexterindustries.com/BrickPi/brickpi3-getting-started/)</sup><sup> • </sup><sup>[7](https://techcrunch.com/2013/06/11/brickpi/)</sup> |
| 价格 | BrickPi3 套件标价 99 至 179 美元；BrickPi3 Core 套件为 169 美元<sup>[2](https://www.dexterindustries.com/BrickPi/brickpi3-getting-started/)</sup><sup> • </sup><sup>[8](https://www.dexterindustries.com/brickpi-core/)</sup> |

## 用途

LEGO Mindstorms 是广泛使用的机器人平台，但其专有控制砖块限制了搭建者在项目需要网络连接、Web 服务或标准编程工具时的发挥空间。Dexter Industries 打造 BrickPi 正是为了补上这些功能：将机器人接入 Web 服务、把多台机器人联网、通过 Wi-Fi 远程操控机器人，同时保留搭建者已有的 Mindstorms 传感器和电机。<sup>[9](https://www.dexterindustries.com/brickpi/)</sup> 该板以树莓派取代 Mindstorms 砖块（即 Mindstorms 系统的大脑），面向已拥有 Mindstorms 传感器和电机的用户。<sup>[8](https://www.dexterindustries.com/brickpi-core/)</sup>

该项目及其设计均为开源，硬件设计和软件源代码发布在 GitHub 上。<sup>[1](https://www.dexterindustries.com/about-2/)</sup><sup> • </sup><sup>[7](https://techcrunch.com/2013/06/11/brickpi/)</sup>

## 硬件

**初代 BrickPi。** 初代板的核心是两颗兼容 Arduino 的 Atmega328 微控制器，运行于 16 MHz 时钟，通过串行线与树莓派通信。9 至 12 V 电池直接为电机提供驱动电源，并稳压至 5 V 供微控制器、树莓派、传感器接口和指示灯使用。电机由德州仪器 SN754410 驱动器控制，PWM 信号来自 Arduino；所有传感器和电机接口均采用 Dexter Industries 的 NXT 插座，适配 LEGO MINDSTORMS NXT。该板封装在坚固的外壳中，壳上开孔可卡扣在乐高积木上，因此整个组件可作为积木搭建机器人的底座。<sup>[1](https://www.dexterindustries.com/about-2/)</sup><sup> • </sup><sup>[5](https://www.dexterindustries.com/about-2/design/hardware-design/)</sup>

**BrickPi3。** 当前硬件世代 BrickPi3 通过 SPI 接口与树莓派通信，因此任何带 SPI 接口的树莓派型号均可使用。固件和 Python 驱动还支持自定义模拟传感器和 I2C 传感器，多数 NXT 和 EV3 第三方传感器在添加自定义 Python 支持后应可使用。<sup>[4](https://github.com/DexterInd/BrickPi3)</sup> BrickPi3 Core 套件包含控制板、一个六面亚克力外壳（各面均可连接 LEGO Technic 积木）、外壳五金件和一块可充电锂离子电池；树莓派、Mindstorms 部件和乐高积木需另行购买。<sup>[8](https://www.dexterindustries.com/brickpi-core/)</sup>

## 树莓派兼容性

BrickPi3 兼容所有型号的树莓派，包括树莓派 5，不过树莓派 4 和[树莓派 5](https://www.edgepedia.org/zh/raspberry-pi-5) 功耗较高，可能需要额外散热。<sup>[4](https://github.com/DexterInd/BrickPi3)</sup> 制造商称树莓派 3B+ 是与 BrickPi 搭配使用的最佳板卡，功耗最低而性价比最高。<sup>[4](https://github.com/DexterInd/BrickPi3)</sup>

对树莓派 5 的支持于 2026 年 2 月推出，通过 Raspberry Pi OS Trixie（Debian 13）镜像和更新的基于 pip 的库实现。BrickPi3 的板载电源无法提供树莓派 5 所需的 5 V、4 至 5 A 电力，因此树莓派 5 需要独立电源；亚克力外壳又没有风扇空间，因此建议改用小型散热片。<sup>[10](https://brickpi.com/knowledge-base.html)</sup> 较旧的软件路径各有局限：传统的 Raspbian For Robots（Stretch）镜像仅在树莓派 3 及更早型号上稳定运行，树莓派 4 在 Legacy Buster 32 位上受支持，旧的基于 curl 的安装程序仅适用于 Buster。<sup>[10](https://brickpi.com/knowledge-base.html)</sup>

## 软件

BrickPi 可用 Python、C、Scratch 等语言编程，让搭建者在其机器人发明上使用标准工具。<sup>[1](https://www.dexterindustries.com/about-2/)</sup> BrickPi3 的 Python 库以 `brickpi3` 包的形式发布于 PyPI，并通过项目 GitHub 仓库的安装脚本安装，该脚本同时会刷写固件。<sup>[4](https://github.com/DexterInd/BrickPi3)</sup><sup> • </sup><sup>[11](https://pypi.org/project/brickpi3/)</sup> 该板的固件以 Arduino 编写，以便于修改，可通过 ISP 编程器或配合转接板的 [Arduino Uno](https://www.edgepedia.org/zh/arduino-uno) 上传。<sup>[12](https://github.com/dexterind/brickpi)</sup>

由于树莓派运行完整的操作系统，机器人可通过网络访问：用户以 SSH 连接 `brickpi.local`，无头配置时可在命令行中设置 Wi-Fi。<sup>[10](https://brickpi.com/knowledge-base.html)</sup> 该平台的一篇早期评测描述了通过 VNC 登录、在树莓派桌面上为电机和传感器编程的体验，并指出 BrickPi 支持所有 Mindstorms 电机和传感器，是在扩展 Mindstorms EV3 的同时向学生介绍树莓派和开源编程语言的一种途径。<sup>[13](https://opensource.com/article/17/3/brickpi)</sup>

## 历史

Dexter Industries 于 2013 年 5 月在 [Kickstarter](https://www.edgepedia.org/zh/kickstarter) 上发布 BrickPi，将其博客上用树莓派控制乐高的多个项目整合为一，并表示社区反馈是发起众筹的主要原因。<sup>[6](https://www.dexterindustries.com/kickstarter-project-brickpi-for-raspberry-pi/)</sup> 该众筹数日内便超过目标金额 800% 以上；[TechCrunch](https://www.edgepedia.org/zh/techcrunch) 报道称，其认捐金额接近 90,000 美元，来自 1,270 多名支持者，而原定目标为 1,889 美元，延伸目标包括增加传感器和接口，以及在原有 Python 库之外增加 C/C++ 库。<sup>[6](https://www.dexterindustries.com/kickstarter-project-brickpi-for-raspberry-pi/)</sup><sup> • </sup><sup>[7](https://techcrunch.com/2013/06/11/brickpi/)</sup> 到 2013 年 8 月，众筹已成功筹得资金，BrickPi 随后开售。<sup>[6](https://www.dexterindustries.com/kickstarter-project-brickpi-for-raspberry-pi/)</sup>

2019 年，Cubelets 的制造商 [Modular Robotics](https://www.edgepedia.org/zh/modular-robotics-company) 收购了 Dexter Industries，并继续生产 BrickPi，与 GoPiGo、GiggleBot、GrovePi 和 PivotPi 机器人并行。<sup>[3](https://www.dexterindustries.com/about/)</sup>

## 在乐高机器人平台中的定位

BrickPi 占据的细分市场由搭建者已有的硬件决定。与 EV3 智能砖块相比，它用一台完整的 Linux 计算机取代专有控制器，带来 Wi-Fi 联网、Web 服务和主流编程语言，代价是额外的设置工作：在标准树莓派发行版上，UART 和 GPIO 需要先行配置，控制板才能按预期工作。<sup>[9](https://www.dexterindustries.com/brickpi/)</sup><sup> • </sup><sup>[14](https://www.technodabbler.com/brick-pi-raspberry-lego/)</sup> 一份大学项目报告还指出了一个实际功率限制：用 12 V 直流电池同时驱动 4 个电机，不足以给全部 4 个电机和树莓派供电。<sup>[15](https://www.doc.ic.ac.uk/teaching/distinguished-projects/2015/l.hoang.pdf)</sup>

传感器支持因世代而异。ev3dev 项目的平台对比指出，BrickPi 和 BrickPi+ 的固件 UART 传感器实现有缺陷，且仅支持 LEGO EV3 传感器（颜色、红外、超声波、陀螺仪、触控），而 BrickPi3 对 EV3 传感器的支持有所改进；BrickPi3 在四个输入接口之外还增加了一个 Grove I2C 接口。<sup>[16](https://www.ev3dev.org/docs/platform-comparison/)</sup>

自发布以来，该产品周边的格局已经改变。乐高于 2022 年停产 Mindstorms 系列，以 [LEGO Education](https://www.edgepedia.org/zh/lego-education) SPIKE Essential 和 Prime 系统取而代之。<sup>[17](https://www.lego.com/en-us/categories/coding-for-kids/science-kits?opt-out-modal=show)</sup> 树莓派如今推出自家的 Build HAT，与 LEGO Education 合作设计，可在任何配备 40 针 GPIO 的树莓派上控制 SPIKE 产品线中的 LEGO Technic 电机和传感器，涵盖的是较新的 SPIKE 时代部件，而非 BrickPi 所支持的 NXT 和 EV3 外设。<sup>[18](https://www.raspberrypi.com/documentation/accessories/build-hat.html)</sup> 对于拥有 NXT 和 EV3 硬件的搭建者而言，BrickPi 仍是让这些设备继续配合树莓派使用的途径。<sup>[8](https://www.dexterindustries.com/brickpi-core/)</sup>

## References

1. [The BrickPi Unites the Raspberry Pi and LEGO, Dexter Industries](https://www.dexterindustries.com/about-2/)
2. [BrickPi3 Getting Started, Dexter Industries](https://www.dexterindustries.com/BrickPi/brickpi3-getting-started/)
3. [About Dexter, Dexter Industries](https://www.dexterindustries.com/about/)
4. [DexterInd/BrickPi3, GitHub](https://github.com/DexterInd/BrickPi3)
5. [BrickPi Hardware Design, Dexter Industries](https://www.dexterindustries.com/about-2/design/hardware-design/)
6. [Kickstarter Project: BrickPi for the Raspberry Pi!, Dexter Industries](https://www.dexterindustries.com/kickstarter-project-brickpi-for-raspberry-pi/)
7. [BrickPi Is A Robotics Hacking Platform That Combines Raspberry Pi And LEGO Mindstorms, TechCrunch (June 11, 2013)](https://techcrunch.com/2013/06/11/brickpi/)
8. [BrickPi Core, Dexter Industries](https://www.dexterindustries.com/brickpi-core/)
9. [BrickPi, Dexter Industries](https://www.dexterindustries.com/brickpi/)
10. [BrickPi3 Knowledge Base, brickpi.com](https://brickpi.com/knowledge-base.html)
11. [brickpi3, PyPI](https://pypi.org/project/brickpi3/)
12. [DexterInd/BrickPi, GitHub](https://github.com/dexterind/brickpi)
13. [Program LEGO Mindstorms robots over WiFi with BrickPi, Opensource.com](https://opensource.com/article/17/3/brickpi)
14. [How Can You Combine Raspberry Pi and LEGO with BrickPi?, Technodabbler](https://www.technodabbler.com/brick-pi-raspberry-lego/)
15. [NXT Intelligent Brick vs BrickPi, Imperial College London distinguished project report (2015)](https://www.doc.ic.ac.uk/teaching/distinguished-projects/2015/l.hoang.pdf)
16. [Platform Comparison, ev3dev](https://www.ev3dev.org/docs/platform-comparison/)
17. [LEGO Science Kits FAQ, LEGO.com](https://www.lego.com/en-us/categories/coding-for-kids/science-kits?opt-out-modal=show)
18. [Build HAT, Raspberry Pi Documentation](https://www.raspberrypi.com/documentation/accessories/build-hat.html)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Service and consumer robots › Educational robot kits and platforms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/brickpi

English original: https://www.edgepedia.org/brickpi
