您的位置:首页 > 编程语言 > ASP

树莓派(raspberry pi)能象Arduino一样外接传感器,控制器吗?

2013-01-19 14:00 851 查看
答案是YES

树莓派板子上有26只管脚,这些GPIO (general purpose I/O) 包括 SPI, I2C, 串口 UART, 3V3 and 5V 电源。

国内论坛就有文章“Raspbmc 设置红外线接收器”介绍如何为树莓派安装Raspbmc 操作系统,安装配置红外接收器进行遥控。

下图为树莓派的26只管脚PIN的定义



树莓派比普通的Arduino主板要贵不少,如果怕不小心烧坏了树莓派,可以在树莓派上安装Arduino转接板(Bridge)。

参考:
入门书 Getting Started with Raspberry Pi

Raspberry Pi to Arduino shields connection bridge http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=19724
淘宝 树莓派Arduino转接板Raspberry pi shield for Arduino ¥120.00 http://ukonline2000.taobao.com
树莓派论坛 http://www.shumeipai.net/forum.php
Raspbmc 设置红外线接收器 http://www.shumeipai.net/thread-12265-1-1.html
RPi Low-level peripherals 介绍了树莓派的26只管脚PIN
These GPIO (general purpose I/O) signals on the 2x13 header pins include SPI, I2C, serial UART, 3V3 and 5V power. http://elinux.org/RPi_Low-level_peripherals#GPIO_hardware_hacking http://www.raspberrypi.org/archives/384
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: