查看Raspberry的源代码
←
Raspberry
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
== Pinout == === Model A and B === [[文件:Rasp-gpio-pins-1.jpg | 600px]] [[文件:Raspberry-1-gpio-led.png]] [[文件:Rasp-gpio-pins-2.png | 600px]] [[文件:Rasp-gpio-pins-3.png | 600px]] <br><br> === Models A+, B+, PI 2 B, PI 3 B === [[文件:Gpio-pins-pi2.jpg | 900px]] [[文件:Gpio-numbers-pi2.png | 900px]] [[文件:Physical-pin-numbers.png | 900px]] [[文件:Raspberry-pi-pinout.png | 900px]] <br><br> == Serial == === Enable === <pre> /boot/cmdline.txt "console=serial0,115200" /boot/config.txt enable_uart=1 </pre> <br> === Disable === Remove "console=serial0,115200" from /boot/cmdline.txt If you want to use the uart as IO device, add "enable_uart=1" into /boot/config.txt Or you can do it by run "sudo raspi-config" , enter "Advanced Options" and then enter "Serial" .... <br> === Connections === * RASP_TXD --- HEX_TX * RASP_RXD --- HEX_RX <br> == GPIO Control == * https://github.com/joan2937/pigpio * raspi-gpio * RAW: http://www.pieter-jan.com/node/15 * https://makezine.com/projects/tutorial-raspberry-pi-gpio-pins-and-python/ <br><br> == Timezone == <pre> $ cat /etc/timezone Etc/UTC $ sudo echo "Asia/Shanghai" > /etc/timezone </pre> add following into /etc/profile: <pre> TZ=Asia/Shanghai export TZ </pre> $ sudo reboot <br><br> == Static IP == add following into /etc/dhcpcd.conf: <pre> interface eth0 static ip_address=192.168.1.45/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 </pre> <br><br> == ESP8266/ESP8089 == [[文件:Raspi-esp8089.png]] Note that the CH_PD signal is connected to the ID_SD signal. This must be mapped as a GPIO (GPIO0) and switched to an output and driven low then switched to an input again before the driver is loaded in order to reset the module. This will be added in the near future in the driver. <br><br> <br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br>
返回到
Raspberry
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面