Page 342 - ARM Based Microcontroller Projects Using MBED
P. 342
328 13. UART PROJECTS
13.3 PROJECT 1—TWO NUCLEO BOARDS COMMUNICATING
THROUGH UART
13.3.1 Description
In this project two Nucleo-F411RE development boards called Sender Node and Receiver
Node are connected through UART interface. A temperature sensor is connected to the
Sender Node. This board reads the ambient temperature and sends it to the Receiver Node
every second where it is displayed on the PC screen.
13.3.2 Aim
The aim of this project is to show how the UART module can be used on the Nucleo-
F411RE development board and also how it can be programmed using Mbed.
13.3.3 Block Diagram
The block diagram of the project is shown in Fig. 13.3 where two Nucleo-F411RE deve-
lopment boards are connected to each other. The temperature sensor is connected to the
Sender Node and temperature readings are displayed on the PC screen connected to the
Receiver Node.
13.3.4 Circuit Diagram
Fig. 13.4 shows the circuit diagram of the project. SDA and SCL pins of the TMP102 tempe-
rature sensor is connected to pins PB_7 and PB_6 of the Sender Node, respectively. UART6
TX pin (PC_6) of the Sender Node is connected to UART6 RX pin (PC_7) of the Receiver Node.
FIG. 13.3 Block diagram of the project.
FIG. 13.4 Circuit diagram of the project.