LCD文本显示屏
由Rob法吕迪
4) 接线的电路

- 放置的XBee适配器插入了电源总线的电路板和电线相互. 下, VCC端子的XBee适配器连接到正电源电压和接地端子的负轨.

- 我们更容易地装上电池盒,实验电路板的焊接一些男性的头到它的正面和负面的引线.


- Because the LCD is using a serial backpack, it will need to be connected by just three wires for power, ground and receive. We inserted them into the terminal block and used the screws on top to tighten the connection. (This particular backpack was marked “5在” on the terminal block but the documentation assured us that it was really 3.3V.)

- Connect the LCD’s power wire and ground wire to the respective rails on the breadboard as shown. Two AA batteries will provide 3V, which is close enough to the 3.3V rating of the LCD to power it effectively. The receive or RX connection will be routed to the TX or DOUT pin of the XBee.

- The receive or RX for the LCD should be connected to the TX or DOUT pin of the XBee, 物理引脚 2 如图所示,. That way whatever the XBee transmits will be received by the serial backpack on the LCD.
- 最后, insert the XBee into the breakout board and connect the battery pack. 如果有一台交换机上的电池组,请务必将其切换到“开启”位置. You should see the LCD’s backlight come on. Now any text sent to the XBee should show up on the LCD! See the Basic Chat example for more information on sending text.

