Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Serial port Communication - How to connect laptop and raspbery pi

Serial port Communication - How to connect laptop and raspbery pi

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 438 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sankarapandiyanS Offline
    sankarapandiyanS Offline
    sankarapandiyan
    wrote on last edited by sankarapandiyan
    #1

    I have connected with normal usb cable (its only used for power supply ) Its not act as a serial port Communication

    After connected with power supply , I have run this command to display the port is open or not ... this is the command i have used---- ls /dev/tty*-----

    But the serial communication is not possible by using power supply .
    Give me some suggestions for serial port communication in between Laptop and raspberry Pi

    jsulmJ V 2 Replies Last reply
    0
    • sankarapandiyanS sankarapandiyan

      I have connected with normal usb cable (its only used for power supply ) Its not act as a serial port Communication

      After connected with power supply , I have run this command to display the port is open or not ... this is the command i have used---- ls /dev/tty*-----

      But the serial communication is not possible by using power supply .
      Give me some suggestions for serial port communication in between Laptop and raspberry Pi

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @sankarapandiyan Why don't you communicate via network instead of serial port?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      sankarapandiyanS 1 Reply Last reply
      1
      • sankarapandiyanS sankarapandiyan

        I have connected with normal usb cable (its only used for power supply ) Its not act as a serial port Communication

        After connected with power supply , I have run this command to display the port is open or not ... this is the command i have used---- ls /dev/tty*-----

        But the serial communication is not possible by using power supply .
        Give me some suggestions for serial port communication in between Laptop and raspberry Pi

        V Offline
        V Offline
        vmanso
        wrote on last edited by
        #3

        @sankarapandiyan if you want to communicate from laptop to raspi via serial, just use a FTDI cable and connect to the TX and RX pins of the RasPi. I don't recall off the top of my head the voltage level of the TX and RX pins on the RasPi. You just have to make sure you have that voltage level and buy the correct FTDI cable according to that.

        sankarapandiyanS 1 Reply Last reply
        3
        • jsulmJ jsulm

          @sankarapandiyan Why don't you communicate via network instead of serial port?

          sankarapandiyanS Offline
          sankarapandiyanS Offline
          sankarapandiyan
          wrote on last edited by
          #4

          @jsulm Yes i know , But i tried with serial port communication , Here i have a doubt so i posted .

          1 Reply Last reply
          0
          • V vmanso

            @sankarapandiyan if you want to communicate from laptop to raspi via serial, just use a FTDI cable and connect to the TX and RX pins of the RasPi. I don't recall off the top of my head the voltage level of the TX and RX pins on the RasPi. You just have to make sure you have that voltage level and buy the correct FTDI cable according to that.

            sankarapandiyanS Offline
            sankarapandiyanS Offline
            sankarapandiyan
            wrote on last edited by
            #5

            @vmanso Thanks a lot , I thought that the serial port communication done with Power supply , But now i understand , we require FTDI Cable , Thanks for solving my problem

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved