secretshaa.blogg.se

Kwp2000 plus serial programming rs232
Kwp2000 plus serial programming rs232




Kwp2000 plus serial programming rs232
  1. #Kwp2000 plus serial programming rs232 install
  2. #Kwp2000 plus serial programming rs232 Pc

# (note that I happend a \r\n carriage return and line feed to the characters - this is requested by my device) Print 'Enter your commands below.\r\nInsert "exit" to leave the application.' # configure the serial connections (the parameters differs on the device you are connecting to) This is the application code: import time The application is a simple serial terminal which you can use to send commands (and receive output) to a serial connected device. I give you here a simple application which should let you understand how python serial apis are easy to use. Using the pySerial apis is pretty simple: just have a look at the project website to have an idea of the apis it gives you.

#Kwp2000 plus serial programming rs232 install

Just follow any guide on the web to install Python on your system and then follow the pySerial installation guide.

Kwp2000 plus serial programming rs232

I’ve been able to install and use them (in both Linux and Windows) without problems at all (while my classmates had lot of problems with java and comm apis…). Surprisingly I found that Python with the pySerial module is a pretty intelligent solution! The professor here suggested to use Java to implement the applications: unfortunately I found the API comm pretty complex in installation and configuration. for the practical parts of the exams we need to write applications which, using the RS-232 communication channels, controls the movements of the robots.

#Kwp2000 plus serial programming rs232 Pc

The PC to Controller connection is a serial RS-232 connection. In the practical part of the exam we have to write some applications to operating some didactics robots we have (Rhino XR-4 and SCARA Robots).Įach robot is connected to a Controller (Rhino Mark-4) which can be connected to a PC to send commands to the Controller in order to let the robots do things.

Kwp2000 plus serial programming rs232

Here at ULPGC I’m following a Robotics course.






Kwp2000 plus serial programming rs232