14. Embedded Networking and Communications

For this week the task was to connect two modules through a network, for this I used the Xiao that I built last week, and the computer.

Description of the work process of the week14

The Serial port has a TTL and RP serial receiver-transmitter module, this allows us to communicate with other similar modules. The asynchronous serial protocol is widely used in the field of embedded electronics for communication. Controllers and devices use it to exchange information. This protocol is integrated into universal asynchronous receivers/transmitters (UART). When a device uses this protocol, its UART sends data over the "TX" line and receives data over the "RX" line.

That is why when two devices communicating on a serial port carry out communication from a symbol to a complete phrase, in order for them to understand each other they must be configured in the same way. That is why the communication parameters are:

  • Data Bits.
  • Stop bits.
  • Parity bit.
  • start bit.
  • Baud rate per second.

For this task, what I carried out was the communication between the XIAO and my computer, through Arduino where the message that was sent was: “Hello, I'm Rosy, welcome to my project.”

reflection and analysis

Looking for information for this task, I found a code to communicate with The Grove - OLED Display 0.96" (SSD1315), if you want you can enter the page.

Useful links

Evidence

Video