Can anyone help identify the type of connector in the picture below? I need to make an extension cord for an electric bicycle's control throttle which happens to have that connector on it.
It's a 2 pin JST SM type connector. Look on page 3, top right. http://www.adafruit.com/datasheets/JSTSM.pdf
Could it be this?
I looked around on mouser's website and tried to find your connector - but you'd probably be more successful. I had to make some guesses on things like pitch in order to get results that were even remotely similar to your connector. Their parametric searching tool is really useful though, for situations like this. I found a lot of "almost right" type of connectors that might actually solve your problem, but it's hard to make out in your image what some of the details are.
I'd recommend starting here and adding your parameters
Looks like a Molex KK to me, like PC fan connectors. http://en.wikipedia.org/wiki/Molex_connector