Serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus.
For evive, serial pins are used for communication between evive and a computer or sensors or any other devices. It has three serial ports available:
- Serial0 on pins 0 (RX0) and 1 (TX0),
- Serial2 on pins 17 (RX2) and 16 (TX2), and
- Serial3 on pins 15 (RX3) and 14 (TX3).
While communicating with the computer or for uploading Arduino sketch, evive uses serial port 0 via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output. Communication with HC05 (Bluetooth), ESP-12e (or 12f) ESP8266 (WiFi) or Xbee is done via serial port 3. Do not use digital pins 14 and 15 while using any of the three devices.
Serial Communication Blocks in PictoBlox
Serial communication blocks are available in communication extension.
|The block set the baud rate of the selected serial port.|
|The block reports, if there is any data available on the selected serial port. If data is available, then it returns true, else false.|
|The block reports the data available in the queue on the selected serial port. It reports one character at a time.|
|The block sends the string message on the selected serial port.|