Serial Pins

evive Serial Pins
Description
Learn how to use evive’s 3 serial ports for communication with different devices, and understand which pins to use and not use with each port. Explore PictoBlox’s serial communication blocks to make it easier to use serial ports.

Introduction

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:

  1. Serial0 on pins 0 (RX0) and 1 (TX0),
  2. Serial2 on pins 17 (RX2) and 16 (TX2), and
  3. Serial3 on pins 15 (RX3) and 14 (TX3).
evive Serial Pins

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.

evive Notes Icon
Note: Arduino MEGA has Serial port 1 on pins 19 (RX1) and 18 (TX1), but in evive, pin 19 is used for Navigation Key/Joystick, so we cannot use Serial port 1.

Serial Communication Blocks in PictoBlox

Serial communication blocks are available in the communication extension here.

Conclusion

In conclusion, serial communication is an important concept, and evive provides three serial ports for communication with different devices. Serial communication blocks are available in PictoBlox to make it easier to use serial ports. It is important to remember not to use digital pins 0 and 1 while using Serial port 0 and digital pins 14 and 15 while using Serial port 3.

Table of Contents