It depends which version of D2 you're talking about, but from your description I'm guessing it's an earlier model which uses the part shown below. If it is, that's what you replaced, and you bought it off ebay rather than Fiido, the wiring is different and (from previous D2 issues raised here on...