Skip to content

9ABDULLAH9/java-networking-TCP-UDP-withSerial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-networking-TCP-UDP-withSerial

This project was produced by the Yıldız Rocket Team software department support team for use in the rocket test system. The components and details used in the project are mentioned below.

User inputs:

  • user_ip
  • user_port

Equipment used:

  • Raspberry Pi
  • STM32 F446RE
  • Connection cable

Details:

Written in java programming language using IntelliJ IDEA. Socket structure provides communication using TCP/IP and UDP protocols. Client class is converted to .jar file and thrown to Rasberry. The client reads the data from the STM32 via serial port, saves the data to a buffer and sends it to the server. We used the “jSerialComm.jar” library for serial port reading. The server parses the data from the client with the help of the DataParse class and prints it to a .csv file one after the other.

Conversion to .jar file

File menu-> Project Structure or (Ctrl+Alt+Shift+S)-> Artifacts tab-> Click on the “+” button on the right-> JAR-> From modules with dependencies-> Select your base class and click OK. jar conversion

The next step is to build: Build menu-> Build Artifacts-> Build

jar conversion_2

Finding user ip:

Open cmd-> write "ipconfig" we use IPv4 Adress

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages