Raspberry

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(Control)
(GPIO Control)
第54行: 第54行:
 
<br>
 
<br>
  
=== GPIO Control ===
+
== GPIO Control ==
  
 
* https://github.com/joan2937/pigpio
 
* https://github.com/joan2937/pigpio

2017年9月29日 (五) 17:26的版本

目录

1 Pinout

1.1 Model A and B

Rasp-gpio-pins-1.jpg

Raspberry-1-gpio-led.png

Rasp-gpio-pins-2.png

Rasp-gpio-pins-3.png



1.2 Models A+, B+, PI 2 B, PI 3 B

Gpio-pins-pi2.jpg

Gpio-numbers-pi2.png

Physical-pin-numbers.png


Raspberry-pi-pinout.png



2 Serial

2.1 Enable

/boot/cmdline.txt
 "console=serial0,115200" 

/boot/config.txt
#enable_uart=0


2.2 Disable

  • remove "console=serial0,115200" in /boot/cmdline.txt
  • add "enable_uart=1" into /boot/cmdline.txt


2.3 Connections

  • RASP_TXD --- HEX_TX
  • RASP_RXD --- HEX_RX


3 GPIO Control








































































个人工具
名字空间

变换
操作
导航
工具箱