Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RJ12 to USB cable in the part list? #16

Open
cyrils opened this issue Nov 21, 2021 · 7 comments
Open

RJ12 to USB cable in the part list? #16

cyrils opened this issue Nov 21, 2021 · 7 comments

Comments

@cyrils
Copy link

cyrils commented Nov 21, 2021

Hello, this sounds like a great little project for monitoring Renogy performance. However I was wondering what did you use for connecting RJ12 to USB port of pi? I searched online but did not find any standard rs232 cable built for this purpose. It would be great if you can add the cable used to the part list.

@pedrosk
Copy link

pedrosk commented Nov 25, 2021

+1 please give more detail how you connected Pi to the the controller.

Appreciate

@sashkab
Copy link

sashkab commented Dec 26, 2021

Based on this post on diysolarforum.com, following PINs are used:

  • 1 - TX
  • 2 - RX
  • 3 - GND

I did not use USB, but instead used Pi's GPIO with max3232 RS232 to TTL converter.

Oh, and I connected to Renogy Wanderer.

@cyrils
Copy link
Author

cyrils commented Dec 30, 2021

Thanks, I made a DIY cable, but lately I found this https://www.amazon.com/dp/B07JGRJR4V and I tested it and found working with Renogy Wanderer. Just that I had to use device id as 255, ie:

RenogyRover('/dev/tty.usbserial-D309XXXX', 255)

@jova1971
Copy link

jova1971 commented Mar 2, 2022

just a clarification for anyone else following along, there are a few Renogy Rj12 TO DB9 connection images out there that are wrong. as you look at the RJ12 Plug and see the gold pins the numbering starts from left to right 1 - 6, pin 1 is the Renogy's TX pin, pin2 Is the Renogy's RX pin, pin 3 is ground. you should get about 5.6 V when you test TX and GND
Renogy TX 1 ==> DB9 Pin 2 RX
Renogy RX 2 ==> DB9 Pin3 TX
Renogy GND 3 ==> DB9 Pin 5 GND

@KenwoodFox
Copy link

Thanks for all the pinouts and information, those chips look great! If anybody needs a schematic rep i think i've compiled @jova1971 and @sashkab 's input, ill report back when i get the prototype and confirm :)
image

@truncj

This comment was marked as outdated.

@jim0020
Copy link

jim0020 commented Jan 16, 2024

Just a reminder, as this cost me some time to figure out, you may need to find the correct modbus slave address to get this to work.

RenogyRover('/dev/ttyUSB0', 1)

For me, I had to change the 1 above to a 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants