bikeman said:
Hi there,
I'm putting together a kit, haven't received any sensors or motors yet. So I dont know how the connectors etc look like. I have compiled this list of wirering from this thread and others. Please check if I got it right, maybe it could serve as a start for reference/instruction?
We can try to help
bikeman said:
For Phase wires,
a - Blue
b - Green
c - Yellow
I prefer
A = Yellow
B = Green
C = Blue
bikeman said:
Somewhere I read crystalyte standard would be: A Green, B Blue, C Yellow, What is the standard for the motors?
Hall sensors,
+5v - 5v Hall
Sa - Blue
Sb - Green
Sc - Yellow
Gnd-1 - Ground
Same as above, I prefer A=Yellow, B=Green, C=Blue
Standards? lol...
bikeman said:
Programmer shipped with a mating header connector.
Solder that into the row of holes right above the date stamp.
Orientate it to the left. You can confirm you have it right by seeing that the red/orange go to +5 and the black goes to ground.
I sent you a pair of 4pin connectors.
Throw away the header
Solder in one of the 4 pin connectors (the one with the protected pins)
Outside the controller, cut the USB cable and solder the mating 4 pin connector to that.
When you wish to program, plug the USB cable into the computer, hit GO, then plug in the 4 pin connector
This will flash the chip.
If you use the header then you end up with 30' of USB cable bundled up on your bike when you almost never use it.
Look at my pictures for a color code or make one up by inspecting the pin locations on the header.
bikeman said:
BK linked to ground permantly, to activate eBrake feature, the actual braking is done via EBS- and Ground. MUST have diode D32 to work.
EBS- and GND (a switch ebrake between) will activate the brakes
EBS+ is for a +12 v brake light found in say a car or a motorbike on earlyer boards this worked as the transistor Q6 is required and was surface mounted on these boards it is not the transistor is missing there is just 3 holes (NPN) Q Pinout?
SP throttle input ,
TB is to do with security, apperently You can set active low or high in software, wich locks the wheel (eBrake i suppose) connects to a separate alarm.
TA is the input for a pedelec sensor.
CR and GND (momentary switch between) cruise control: the way it works is that you turn the throttle as far as you want to then press the cruise control switch you then let the throttle return to rest and the controller will ceep the motor going at throttle place you had it in UNTIL either the Ebrake is applied ,the throttle is turned or the cruise controll is presesd again,
Thanks for the info.
bikeman said:
Powerswitch
Connect the switch between V+batt (anywhere) and VCC-L
Yes. I like to drill a hole for the connector on the back cover, uppper left corner. If you set it up right it will "lock" itself in there so that it wont turn when you tighten it. Just leave clearance for the caps and fets.
bikeman said:
CA
Black is +5, Yellow is GND, Red is signal.
Throttle feedback from CA, requires a diod and a resistor, hook in to SP (throttle line).
CA connector, where to wire the Hall to the amplified hall circuitry on the board?
Attach it to any of the three hall signals, A, B, or C.
BE VERY CAREFUL!
There are 3 different pigtails running around!!!
None of them match the CA standard
Please refer to the CA directions for pin locations.
You dont need the throttle feedback - you can hook it to the ebrake if you are lazy but you will lose functionality.
I have a few suggestions:
Hall: Go through the hole on the board and catch one of the hall signals on the bottom of the board. This is easier. You dont need an amplified hall signal.
Shunt: There is an extra hole on the GND side of the shunt. Use this for both the negative reference and the CA ground. On the top side of the shunt you can trace the sense trace coming off. Go over half an inch and scrape away the mask from the trace. Solder in the high side of the shunt there and you will be sure to get a true 4Wire reading.
If I sent you a 250uOhm shunt then cut Keywins shunt off the board and solder mine on the BOTTOM. There is a spot where it fits perfect. You will probably read between 300uOhms and 320uOhms when all is said and done.
bikeman said:
Q I have a Pickup for front wheel spoke magnet, could I just cut this wire and connect it to any of the hall signals?
Yes. Go into the CA and cut the two black wires (they go to the hall input and GND). Dig the hall wire out of the loom and solder it into the hall input on the CA.
This is a much cleaner way to go with more resolution.
bikeman said:
Q Why is there a shunt - and a shunt +? Is it for the occasion when the shunt is'nt connected to (either of) Ground or batt+ direcly? Could you just wire CA shunt- to ground in this case? Outside the controller. and only supply the shunt+?
NO
The CA ground and shunt - must be as close to each other as possible and must be right at the bottom of the shunt. Whatever distance you put the CA GND + Shunt - from the actual bottom of the shunt will not only add to your shunt resistance, but could throw your readings off. Please tie them together as shown right at the shunt. If you use an external shunt, then tie them together at that shunt.
The Shunt measurement is a very sensitive measurement...
bikeman said:
resistors network in 48V, 72V, 100V? Here are the suggested values:
1.8 || 1.8 || 1.8
input 70v~ 105v
1.5 || 1.5 || 1.5
input 60v~ 86v
1.8 || 1.8 || 0.68
input 50v~64v
1.5 || 1.5 || 0.68
input 30v~54v
Yes. Dont forget to rub off one of the 3 base resistors and replace them with the 3W 3Kohm resistor I sent you.
Sounds like you are well on your way.
A trick may be to search the thread with the term "methods".
I write "methods" at the end of every single post I make - This will make it easier for you to find pictures of these things.
I have taken pictures of everything - they are just spread about.
Ask away if you find any more questions.
-methods