Author Topic: Self-made PI-200I cable  (Read 6736 times)

Offline Caipi82

  • New Member
  • *
  • Posts: 3
Self-made PI-200I cable
« on: February 12, 2011, 12:02:02 PM »
Hi,
I want to build a PI-200I cable by myself.  I will use an old standard USB cable and, it’s called at Germany, standard “8 Pin mini-DIN” plug.
Know I don´t know the exact pin connection. Can somebody measuring an original PI-200I cable please?

I know:

USB configuration:
+5V (red)
GND (black)
Data+   (green)
Data-   (white)

Mini-Din plug / GM Plug:
No. 8 = yellow cable; communication ; RX        
No.7 = GND (black)
No.3 = +5V  (red)
And so on...

I don´t know what I should do with the Data-??
Perhaps is DATA- grounded??? I won’t  test it ...

Perhaps I didn´t find the answer at the Forum!!! And somebody can show me the right one.

MonkeMagic wrote: “-There are 4 wires going from the USB connector to the controller - red, black, yellow and GREEN“


Perhaps is the green one Data- !?!??!

Thanks for help.
« Last Edit: February 12, 2011, 12:04:14 PM by Caipi82 »

Offline MonkeyMagic

  • Cheeky Chimp
  • Technical Officer
  • PhD. Magic
  • ******
  • Posts: 1,041
Re: Self-made PI-200I cable
« Reply #1 on: February 12, 2011, 02:55:36 PM »
Sorry you're on the wrong path mate...

The PI-200 cable has an in-line circuit that communicates with the controller.

If you want to simply "make a USB cable" and expect to use the GM software no chance...

Honestly, with the time I've spent trying to capture the rs232 strings you are much better off just buying one.

It is not a usb cable with an 8-pin connector on the end. Plus the one you have is an Audio Din socket/Macintosh connector that I use frequently for my ebikes however, unfortunately does not suit the GM 8-pin plug (you will bend the pins)

So if you intend to write software to communicate with the controller, you will need a GM cable anyway to record the necessary strings.

I can connect and disconnect via rs232 serial but I haven't yet worked out the programming sequence. That was from a couple of days work, it is possible to do this with a customised serial terminal.

Being a cheeky monkey, I don't think I would release it's entirety anyway as you can potentially send any programming parameter (outside of the screen you see in the software) if that is possible then everyone would be blowing their wheels up maxing out the values lol

My last post contained where to start... I would just go with the cable



Offline Caipi82

  • New Member
  • *
  • Posts: 3
Re: Self-made PI-200I cable
« Reply #2 on: February 12, 2011, 09:51:50 PM »
Thanks for the fast response.
Know I can say, yes, true it´s so clear  :D
I hate communication problems.  I´m a little bit stupid. Because, I had the same problem some time before. Do you know the development kit from AVR?? ATAVRMC320. http://www.atmel.com/dyn/products/tools_card.asp?category_id=163&family_id=607&subfamily_id=1723&tool_id=4387

I have this board and they use a similar topology. Drive application at the main controller and USB communication at an additional controller. Communication between the both controllers is RS232/UART. The BLDC control software is open source (with hall sensor and sensor less).
Some small talk....   
The board specification is:
MC300 maximum ratings with components as delivered:
Input:
• Vin: 10 – 20VDC
• Vm: 0 – 40VDC, Immax = 6A
Output ratings:
• Vcc = 3.3/5V, Imax = 0.5A
• Vha = 5V, Imax = 0.1A 
The driver stage consists of four half-bridges capable of 40V / 30A (Warning! Other
components such as shunt resistors limit the maximum current to 6A).

Replace the shunt resistor and this could be a good way to a PIE –controller.

I will test it at this year... the time!!!


Now I will buy a cable for the PIE!! Good bye next 40€ away :).

Thanks for help.