A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "KID" charge controller => Topic started by: felix on December 08, 2015, 06:28:04 PM

Title: Kid Serial Data Wiring
Post by: felix on December 08, 2015, 06:28:04 PM
Hello, I read that the Kid can output serial data that can be read by a device such as a raspberry pi. Does any one know how to get the KID to output the data and how the wiring would look like to read that data from a PI? Firmware on the kid is 18.11 I appreciate any help. Thanks.
Title: Re: Kid Serial Data Wiring
Post by: dgd on December 08, 2015, 08:01:49 PM
Hardware:
You need to connect to the KID using rs232. Google Pi and rs232 and there are many examples of wiring an rs232 shield or building an interface using a MAX3232 ic.
You need to make a cable with DB9 female to connect to shield and at other end an RJ11 connector to plug into the KID serial port (not the USB socket)
Only 3 wires are used, Earth, Send and Receive, pins 5, 2 and 3 on DB9 and pins 4, 2 and 3 on RJ11
The Send on DB9 needs connected to Receive on RJ11
The Receive on DB9 connects to Send on RJ11
Earth DB9 to Earth RJ11
Software:
You need to write code to extract data from the KID
Search for details in this forum as info on what to do has been posted before

dgd

Title: Re: Kid Serial Data Wiring
Post by: Mario on January 07, 2016, 02:22:03 PM
Here is the PinOut:

DB9                        RJ11 ( Master jack in Kid CC)
5_GND          -------- 5_GND
2_RXD-IN      -------- 3_TX-OUT
3_TXD-OUT   -------- 4_RX-IN


Mario