GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 3. GQ EMF EF Meter RF Spectrum Power Analyzer
 Serial connection & protocol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Electron

Switzerland
2 Posts

Posted - 01/09/2023 :  05:23:14  Show Profile  Reply with Quote
Dear all,

These days I am playing with an EMF-390 V2, which I intend to turn into an MQTT node (first using a PC running Python, later an Arduino or similar running Micropython).

But for this I need to get the communication running. The manual tells about serial communication (using 119200 8N1). But the only way to communicate with the device seems to be the vendor software (GQ EMF Pro 3.67 on Windows). So far, I had no luck accessing the device using a serial console.

The device itself appears as a valid COM device (/dev/ttyUSB0 on Linux, respectively as COM5 on my Windows machine). I have tried minicom (Linux) and PuTTY (both, Linux & Windows) without success.

Has anyone experience in this respect and can provide me some guidance / hints?






Reply #1

EmfDev

2219 Posts

Posted - 01/09/2023 :  11:41:44  Show Profile  Reply with Quote
Hi Electron, please check the baudrate should be 115200. No parity. Stop 1 bit.
Go to Top of Page
Reply #2

Electron

Switzerland
2 Posts

Posted - 01/10/2023 :  10:07:46  Show Profile  Reply with Quote
Sorry, I made a typo. It's actually 115200, 8N1, no flow control.

I actually got it to work. The problem seems to be that when anything other than a valid command is entered into a terminal, communication is instantly interrupted. That can't be made to work again with any other input.

The only way to get it talking again is to turn the device off, stop the terminal session, disconnect and reconnect the USB cable, and then restart the terminal.

So, this should not be an issue when using a program or script.

Edited by - Electron on 01/10/2023 12:05:10
Go to Top of Page
Reply #3

EmfDev

2219 Posts

Posted - 01/11/2023 :  12:42:20  Show Profile  Reply with Quote
Thats great! Does it also not work after you send a dummy <>> command? this should clear the serial buffer for the next command.
Go to Top of Page
Reply #4

juanmanuelluz

Argentina
1 Posts

Posted - 01/17/2023 :  15:25:45  Show Profile  Reply with Quote
Hi, Electron. I could use the comm in a PC with windows 10. With Docklight to send commands and receive. All was ok. You try to use Arduino? I try but it doesn´t respond. I use Arduino Due with Native USB. But not response for now.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.06 sec. Snitz's Forums 2000