Tekst na wyświetlaczu LCD
Rob Faludiego
4) Drut na Circuit

- Place the XBee adapter into the breadboard and wire up the power buses to each other. Następny, connect the VCC terminal of the XBee adapter to the positive rail and the ground terminal to the negative rail.

- Zrobiliśmy łatwiej zamocować uchwyt baterii do makiet poprzez przylutowanie niektórych nagłówków samców na jej pozytywne i negatywne okablowania prowadzi.

- Podłączyć akumulator bezpośrednio do podłoża i zasilania szyn.

- 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 “5V” 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, physical pin 2 as shown. That way whatever the XBee transmits will be received by the serial backpack on the LCD.
- I wreszcie, insert the XBee into the breakout board and connect the battery pack. Jeśli jest przełącznik na akumulatorze należy przełączyć go w pozycję ON. 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.


- Powyżej układ breadboard i schemat obwodu dla odniesienia.
Skocz do strony:
1 2 3 4
5