Windows 10: Serial port data transmission and communication using batch file.

Discus and support Serial port data transmission and communication using batch file. in Windows 10 Gaming to solve the problem; Hello,I have been working on an Arduino project which involves sending data of a sensor to my PC via a serial port. The ideal goal is to achieve this... Discussion in 'Windows 10 Gaming' started by JiatongZhu, Nov 28, 2021.

  1. Serial port data transmission and communication using batch file.


    Hello,I have been working on an Arduino project which involves sending data of a sensor to my PC via a serial port. The ideal goal is to achieve this using a batch file that can read the data coming from the serial port and record them in a .txt file. In addition to that, I would also like to do the transmission wirelessly using an HC-05/HC-06 Bluetooth module and write the output to a .txt file using a batch file. My Bluetooth serial port is COM8 and the Arduino port is COM7. Thanks in advance.

    :)
     
    JiatongZhu, Nov 28, 2021
    #1
  2. mlee49 Win User

    Serial port data streaming

    Hey guys, I'm doing a project that involves sending data via a serial port. The data is streaming and I'd love to find a way to real time process it on the fly, but I'd settle for a simple serial port logger so I can import(copy and paste) the data into a txt/xls file for processing.

    Is there a simple way to read in data from a serial port and process it real time? The data being sent is a binary decimal data, I can get into more detail later.


    Is there a simple way to log the serial port data and keep it for easy export?


    Thanks everyone!
     
    mlee49, Nov 28, 2021
    #2
  3. mlee49 Win User
    Serial port data streaming

    Full project details:

    Transmit 3-axis acceleration data via wireless RF communications.

    A digital accelerometer sends data to a XBee RF module, the data is sent via serial commands with a Basic Stamp 2 micro-controller. The XBee transmits the data to a receiver called XStick which is a USB device that appears as a serial port.

    Right now the USB XStick has an open terminal to stream and view the data, but it's not user friendly and other than watching the data come in it doesn't do much else.

    I'd like to use this streaming serial port data to update a graph or alternative plot. I have no idea how to do this.

    Otherwise, I'd like to have a user friendly way of exporting the data to Excel for easy processing. Alternatively, a .csv file would be friendly for MatLab(if anyone wants to help *Smile Serial port data transmission and communication using batch file. :) ).

    So there, theres some more details. Thanks for reading.
     
    mlee49, Nov 28, 2021
    #3
  4. Serial port data transmission and communication using batch file.

    serial data transmission through RS232 port between two PC

    Since serial transmission is now very rarely used, your best bet is to use a search engine to in order to see how it's done. An easier way would consist of using a cross-over CAT5 cable.
     
    Frederik Long, Nov 28, 2021
    #4
Thema:

Serial port data transmission and communication using batch file.

Loading...
  1. Serial port data transmission and communication using batch file. - Similar Threads - Serial port data

  2. Is Data Transmission to delivery.mp.microsoft.com Using HTTP Protocol Normal?

    in Windows 10 Gaming
    Is Data Transmission to delivery.mp.microsoft.com Using HTTP Protocol Normal?: We have found that the user's computer transmits data to and from the address delivery.mp.microsoft.com with the transfer protocol HTTP. We have a couple of questions that we need your help answering. 1. Is it a normal phenomenon to transfer data with these addresses and use...
  3. Is Data Transmission to delivery.mp.microsoft.com Using HTTP Protocol Normal?

    in Windows 10 Software and Apps
    Is Data Transmission to delivery.mp.microsoft.com Using HTTP Protocol Normal?: We have found that the user's computer transmits data to and from the address delivery.mp.microsoft.com with the transfer protocol HTTP. We have a couple of questions that we need your help answering. 1. Is it a normal phenomenon to transfer data with these addresses and use...
  4. Serial port data transmission and communication using batch file.

    in Windows 10 Software and Apps
    Serial port data transmission and communication using batch file.: Hello,I have been working on an Arduino project which involves sending data of a sensor to my PC via a serial port. The ideal goal is to achieve this using a batch file that can read the data coming from the serial port and record them in a .txt file. In addition to that, I...
  5. Serial Port Driver

    in Windows 10 Drivers and Hardware
    Serial Port Driver: I need to install a serial port driver. Where can I find such a driver? https://answers.microsoft.com/en-us/windows/forum/all/serial-port-driver/4a31f06a-0c90-4c1d-9379-6e1b6d982898
  6. communications port

    in Windows 10 Drivers and Hardware
    communications port: hey I've got a problem . I am trying to setup arduino on my platform w10 and the communications port driver is inexistent. Tried several solutions but still nothing. Added legacy hardware and still no driver , tried to update it and still no result. Can you please help me...
  7. Communications Ports Access

    in Windows 10 Customization
    Communications Ports Access: I have two DMR radios. One works on Communications port 3, The other can't find Comm port 3. How do i access / open Communications Port 3? https://answers.microsoft.com/en-us/windows/forum/all/communications-ports-access/86fc81f2-5117-4225-b6e6-b475ddfef7a5
  8. Batch Program that Sends Hex String to Serial Port

    in Windows 10 Network and Sharing
    Batch Program that Sends Hex String to Serial Port: Hello, I am trying to create a simple batch program that will send a hex code (0xF5 0x00 0x01 0x02 0x02 0x01 0x06) out of COM1 at 9600 baud 8 bits No Parity 1 stop. I have tried to search up some methods already with no success. I have been able to send this code successfully...
  9. Serial com ports.

    in Windows 10 Drivers and Hardware
    Serial com ports.: I am trying to use a USB-RS232 lead on my laptop. I cannot create any COM ports and none are there by default. If I try this on my desktop it works perfectly. When trying to create a COM port I get an invalid parameter error and the creation fails Windows 10 Home...
  10. Are Serial Ports Available ?

    in Windows 10 Drivers and Hardware
    Are Serial Ports Available ?: I have a Shuttle (SH67) Computer running WIN10, 64 bit, for an O/S. Are there cards available to give me Serial Ports ? A Google search was useless !! Thanks, Richard S. 31197