USB to Serial - No Data
Moderators: OutBack Moderator Team, OutBack
-
byteman
- Forum Member
- Posts: 7
- Joined: Thu Nov 08, 2012 9:45 am
- My RE system: Trace SW4024
Outback FM60
8 EC2 Energizer Batteries
4 EC2 Crowne Batteries
4 Sharp 240 W Panels
8 75 W BP Panels (10 yrs old)
USB to Serial - No Data
I have a USB to serial converter cable. I've installed the drivers for both my XP laptop and a Linux box. Have the converter cable plugged directly into the Mate (which is plugged into an FM60 and displaying the menus). Have set baud rate per the communications guide.
Getting no data. The guide shows the pins going straight through - am I reading it wrong?
Getting no data. The guide shows the pins going straight through - am I reading it wrong?
-
HawaiianDrummer
- Forum Guru
- Posts: 382
- Joined: Thu Apr 02, 2009 1:42 am
- My RE system: 2-FM80's 2- FX3048's, Mate3s, Hub 10, 12 Kyocera
175 W panels, 21 Kyocera 225 W panels, 6- Ruixu 100 AH 48V. LIFEPO4 batteries for 600 AH Battery
bank, FNDC battery monitor and Kubota 11 KW Diesel Generator - Location: Ninole, Hawaii
Re: USB to Serial - No Data
Aloha, in the setup/mate/pg2 did you "enable PC"? This allows communications port RS232 for logging or control software. David
-
byteman
- Forum Member
- Posts: 7
- Joined: Thu Nov 08, 2012 9:45 am
- My RE system: Trace SW4024
Outback FM60
8 EC2 Energizer Batteries
4 EC2 Crowne Batteries
4 Sharp 240 W Panels
8 75 W BP Panels (10 yrs old)
Re: USB to Serial - No Data
Yes, I did "enable PC". I think the problem has something to do with "make sure you get the RTS, DTR state right" as I read in other posts. I've tried using minicom on a linux box, and putty on an xp machine, but not sure how to set the "RTS, DTS" state correctly?
-
Kent Osterberg
- Forum Emperor
- Posts: 1523
- Joined: Mon Jun 09, 2003 11:01 pm
- My RE system: SMA Sunny Boy 2500 with eight Mobil Solar Ra 180 modules
- Location: Cove, Oregon
- Contact:
Re: USB to Serial - No Data
Have you confirmed that pins 4 and 7 are being driven as per page 5 of the Mate Serial Communications Guide? Many USB to serial converters won't drive pin 4 high appropriately. One way to jerry-rig a cable to work is shown in Righthand Engineering's Making an Outback Adapter document.
-
byteman
- Forum Member
- Posts: 7
- Joined: Thu Nov 08, 2012 9:45 am
- My RE system: Trace SW4024
Outback FM60
8 EC2 Energizer Batteries
4 EC2 Crowne Batteries
4 Sharp 240 W Panels
8 75 W BP Panels (10 yrs old)
Re: USB to Serial - No Data
OK - I tied pin 5 to 7 - I'm getting around 8.5 volts from Pin 4 (+) and Pin 7 (-). Should that be enough to power the Mate serial port?
I suppose I should just try it, but the Mate is at a remote location around 50 miles away - I'd just like to know if it's possible with 8.5 volts?
Thanks...
I suppose I should just try it, but the Mate is at a remote location around 50 miles away - I'd just like to know if it's possible with 8.5 volts?
Thanks...
-
HawaiianDrummer
- Forum Guru
- Posts: 382
- Joined: Thu Apr 02, 2009 1:42 am
- My RE system: 2-FM80's 2- FX3048's, Mate3s, Hub 10, 12 Kyocera
175 W panels, 21 Kyocera 225 W panels, 6- Ruixu 100 AH 48V. LIFEPO4 batteries for 600 AH Battery
bank, FNDC battery monitor and Kubota 11 KW Diesel Generator - Location: Ninole, Hawaii
Re: USB to Serial - No Data
Aloha, If you tied #5 to #7 and got 8.5v (12 v is the min. needed as per specs) and you are not there to check the voltage? I'm confused??
-
Kent Osterberg
- Forum Emperor
- Posts: 1523
- Joined: Mon Jun 09, 2003 11:01 pm
- My RE system: SMA Sunny Boy 2500 with eight Mobil Solar Ra 180 modules
- Location: Cove, Oregon
- Contact:
Re: USB to Serial - No Data
8.5 volts is enough to meet the RS-232 voltage specification. If there is enough current available to keep that voltage with the Mate connected it should work.
-
byteman
- Forum Member
- Posts: 7
- Joined: Thu Nov 08, 2012 9:45 am
- My RE system: Trace SW4024
Outback FM60
8 EC2 Energizer Batteries
4 EC2 Crowne Batteries
4 Sharp 240 W Panels
8 75 W BP Panels (10 yrs old)
Re: USB to Serial - No Data
@awaiianDrummer - the linux machine is portable, the Mate is not. I forgot to take my voltmeter to the remote location (yes, stupid me), so I brought the linux box home to measure the serial voltage.
@Kent Osterberg - you are quite right - 8.5 volts is enough to power the Mate serial port. I am now getting the stream of 49 byte strings (about 1 line per second) as the documentation suggests. Thank you very much for your assistance.
For others who may stumble across this thread, my final solution (and hardware details) is as follows:
@Kent Osterberg - you are quite right - 8.5 volts is enough to power the Mate serial port. I am now getting the stream of 49 byte strings (about 1 line per second) as the documentation suggests. Thank you very much for your assistance.
For others who may stumble across this thread, my final solution (and hardware details) is as follows:
- Mate-b connected directly by Ethernet to an FM60
Manhattan USB to Serial Converter Cable model 205146
Pins 2,3,4,5,7 straight through from serial converter to Mate (with pins 5 & 7 tied together)
Linux Box is a Raspberry Pi with the latest Debian release installed
Software: Used minicom to view the data - set at 19200, N81 (flow control seems to make no difference)