Maynuo m9812 usb to serial isolated interface - Page 1
Forum section: electronics / testgear

author: shaynet
author_rank: Newbie
timestamp: August 09, 2014, 12:37:54 pm
content: hey thereI've just got a brand new Maynuo m9812 dc load and i'm too cheap to buy the isolated interface cableso i decided to make my ownbut the thing is that there's something unclear in the manual - in the serial interface, the RX and TX signals are on different pins on a single page in the manual (see attachment)i went according to what Synapsis did:https://www.eevblog.com/forum/testgear/maynuo-m9812-usb-question-(and-mainboard-photo)/but can anyone confirm that?also can anyone please tell me if i haven't missed anything in my schematic? (attached)p.s.can anyone recommend me an enclosure for the thing (i remember that I've seen an enclosure once that is just perfect - narrow one one side with a cutout for a usb B socket and wide on the other side to accommodate a 9 pin D-sub connector)thanks

author: mij59
author_rank: Frequent Contributor
timestamp: August 09, 2014, 01:12:29 pm
content: Hi,I have build a similar interface using the ADUM1201 for my REK RK8511, it should be the same as the Maynuo.Pin 2 on the RK8511 is RXDPin 3 on the RK8511 is TXDI had to add a pull up resistor on TXD, it's an open collector output.

author: TurboTom
author_rank: Super Contributor
timestamp: August 14, 2016, 12:17:38 pm
content: I recently bought an M9712 as well (by the way, I'm pretty impressed by the performance, especially considering the price I payed) that came without the isolated USB adapter. I thought about modifying an "el-cheapo" USB/serial adapter with a digital isolator, similar to the setup shown above. But then I reconsidered since I'm anyway always short of USB ports. I thought to myself that there must be a different, more elegant way to get the load attached to the PC. While surfing the web I stumbled across these really inexpensive "WiFi-stamps" that talk to the attached microcontroller via an UART-like interface. Since I'm not really good at programming, I searched further for a "virtual serial port" via such a WiFi stamp and found the "esp-link" page:http://hackaday.com/2015/09/18/transparent-esp8266-wifi-to-serial-bridge/This was finally the "go" for me to try my idea - and guess what: The whole thing was really a no-brainer. I had to find a few tools that ease the uploading procedure of the program into the ESP-12-E WiFi stamp that I used, had to dig out a USB to TTL-UART adapter for programming and that was basically all that's necessary to get going. If you like, have a look at the attached pictures/photos of the whole thing. With the "HW Virtual Serial Port 3.1.1" driver to emulate the COM port on the PC, the Maynuo "M9700" application had no difficulty communicating with and controlling the DC load. And of course, using a wireless link provides as good electrical isolation as can be. The only drawback I found so far is that the "WiFi Dongle" as I call it draws quite some power from the M9712, the consumption is round about one watt and it also gets pretty warm. Future will have to tell if suppying this amount of power is a problem for the DC load, so far it appears to be working perfectly well.If someone's interested in duplicating this small project, please let me know - then I will provide some more in-depth information and maybe prepare a package with the neccessary files and tools. The PCB I made is single-sided and can easily be "cooked" at home.Cheers,Thomas

author: wraper
author_rank: Unknown
timestamp: August 14, 2016, 12:27:23 pm
content: Actually isolated adapter is not required, that port is earthed anyway. The part which is connected to the input terminals is floating. All is needed is level shifter, because the port has ttl voltage level. Something like MAX232 would do the job. Or just USB/UART(TTL) converter, like FT232, CH340, CP2102 and others.

author: TurboTom
author_rank: Super Contributor
timestamp: August 14, 2016, 12:38:51 pm
content: Sorry Wraper - that's not correct. The enclosure (and the shell of the communication port) of the M9x1y devices is referenced to ground/earth but the internal circuitry is floating. I just checked the resistance and actually I measure between the negative DC load terminal and the ground at the communication port (pin 5) less than 200mOhms. This means if you want to use the load floating without the negative terminal referenced to ground (i.e. as a high-side load), you have to use an isolated communication method since the PC ground is usually directly connected to earth.Cheers,Thomas

author: Leuams
author_rank: Contributor
timestamp: December 28, 2016, 05:24:15 pm
content: Just a word of warning to anyone thinking about buying the M133 isolated communication module from Maynuo. I bought one when I first purchased my M9812 a few months ago and it worked great. The key word is worked. The Prolific chip inside (PL2303) must be a counterfeit since it has been disabled by the windows driver. Guess I will be making a cable.

author: wraper
author_rank: Unknown
timestamp: December 28, 2016, 05:32:22 pm
content: Quote from: Leuams on December 28, 2016, 05:24:15 pmWhat do you mean by "disabled by windows driver". Does it work with driver downgraded? I'm not aware of driver killing counterfeit Prolific ICs.

author: dav
author_rank: Regular Contributor
timestamp: December 30, 2016, 04:36:39 pm
content: I suppose to have the same problem.I own an M133 module (bought in bundle with my Maynuo M9812), but never used before.Just a few days ago I connected this module to my PC (Win 10 O.S.); it's recognized as "Prolific USB-to-Serial Comm Port", but there is a yellow mark and "Error Code 10" in Windows Device Manager.I tried to contact Maynuo and I'm waiting for his reply.

author: mij59
author_rank: Frequent Contributor
timestamp: December 30, 2016, 06:08:25 pm
content: My home made interface had the same problem, fixed it with thishttp://www.ifamilysoftware.com/news37.htmlon Windows 10 64 bit.