3/29/2017 11:38 AM | |
RNF(Antares):lblSharedPostList_Posts 25 RNF(Antares):lblSharedPostList_Rating
|
Hello, I am doing a project in IOT2040. I need to get a serial data (RS232) from a vibration sensor through X30/ X31. Before interfacing the sensor i checked the serial communication using the python codes that i have attached here. However 'HELLOWORLD' is not getting printed.. the screenshots of output are also attached. can anyone help me in how to choose the port /dev/tty** Is there any driver needed? I am using a serial to usb converter inorder to connect X30/X31 to host windows system. Thank you ------------------------------------------------------------------------------------------ RNF(Antares):lblHtmlPost_Attachmentseial.zip (298 RNF(Antares):lblHtmlPost_DownloadCount) |
RNF(Antares):lblHtmlPostEditNotes_EditedBy RNF(Antares):lblHtmlPostEditNotes_EditedWhenNew subject after splitting |
|
4/28/2017 10:41 AM | |
RNF(Antares):lblSharedPostList_Posts 25 RNF(Antares):lblSharedPostList_Rating
|
Sorry for the late reply For that you have to download and install a package named pyserial |
4/28/2017 11:01 AM | |
RNF(Antares):lblSharedPostList_Joined 4/22/2016 RNF(Antares):lblSharedPostList_LastVisit 1/22/2021 RNF(Antares):lblSharedPostList_Posts 25 RNF(Antares):lblSharedPostList_Rating
|
Hello anjaliran, no roblem. I had problems with the installing of PIP for python @ V2.1.2 like this description ==> This shows how to get pip:https://www.rs-online.com/designspark/python-and-lorawan-enabling-the-siemens-iot2020 But in the new SD version V2.1.3 is PIP already installt and it works. |
8/24/2017 8:22 AM | |
RNF(Antares):lblSharedPostList_Joined 6/19/2017 RNF(Antares):lblSharedPostList_LastVisit 1/25/2021 RNF(Antares):lblSharedPostList_Posts 4424 RNF(Antares):lblSharedPostList_Rating
|
New question published by Matty2020 is split to a separate thread with the subject IOT2040 communicate with a PLC using Modbus over RS485 . Best regards |