Serial Pins

June 2, 2017


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 communication extension.

set serial baud rate toThe block set the baud rate of the selected serial port.
bytes available on serialThe block reports, if there is any data available on the selected serial port. If data is available, then it returns true, else false.
read bytes on serialThe block reports the data available in the queue on the selected serial port. It reports one character at a time.
write on serialThe block sends the string message on the selected serial port.
Share this Documentation
Share on facebook
Share on twitter
Share on pinterest
Share on reddit
Share on print
Related Tutorials & Projects
It seems we can't find what you're looking for.
Featured Projects

Leave a Reply