Yamaha Power Assist Bicycles - how to enable the motor to run? - Page 1
Forum section: electronics / projects

author: legacy
author_rank: Super Contributor
timestamp: September 06, 2018, 07:06:57 pm
content: Yamaha Power Assist Bicyclethe cables to the motorthe connector from the motor to the battery: only the red, black, and yellow wires are useddigital controllera pic of the motorso, I have recently found the above bicycle for sale at a super low price, but there is a reason for that: it misses the battery pack, and the connector is not very good. It sounds like the previous owner just wanted to shift it out of the door.Anyway, paid 100 Euro for the bicycle, and now I have to understand how to make it work.First of all, the battery pack was at 4A@25.2V, and there are three wires from the package to the motor engine: red, black, and yellow. The blue and white wires are only used by the battery charger.I don't know what the yellow wire is for, it looks like a sort of "power good" signal or "battery good" signal, and without that wire connected, the controller on the bicycle handlebar says the battery is no good, and it doesn't enable the motor to run, even if it takes the energy from the external PSU rather than a battery pack.Since I don't have an original battery package I can't try to investigate or reverse engineering signals.Do you happen by any chance happen to know what is the yellow wire for? And which kind of signal (e.g. 5V DC, higher?) does the motor-box need to receive in order to be enabled?Thanks in advance

author: NiHaoMike
author_rank: Super Contributor
timestamp: September 06, 2018, 10:56:49 pm
content: Probably just a thermistor to detect if the battery is getting too hot, especially for something quite low end. Try a 10k or 100k resistor to ground.

author: The Soulman
author_rank: Super Contributor
timestamp: September 06, 2018, 11:04:39 pm
content: Quote from: NiHaoMike on September 06, 2018, 10:56:49 pmFrom my experience with ebikes and nimh battery packs I can say that is most likely it.

author: digsys
author_rank: Unknown
timestamp: September 06, 2018, 11:23:49 pm
content: In some countries, like OZ, the controller HAS to see pulses coming in from the pedals, usually 1-2KM/hr, before it will allow the motor to come in. Just a FYI

author: m3vuv
author_rank: Super Contributor
timestamp: September 07, 2018, 01:13:24 am
content: better asking the question on endlesphere.com forums.

author: Zero999
author_rank: Super Contributor
timestamp: September 07, 2018, 08:23:49 am
content: Quote from: legacy on September 06, 2018, 07:06:57 pmI know I'm being picky but batteries are specified in Amp hours, i.e. Ah, not Amps.A fully charged 4Ah battery will be able to provide 4A for an hour, or 1A for 4 hours before running completely flat.The maximum battery discharge current might be higher, but it's not normally given on the name plate.

author: legacy
author_rank: Super Contributor
timestamp: September 07, 2018, 09:58:19 am
content: digital controllerQuote from: The Soulman on September 06, 2018, 11:04:39 pmthanks, guyjust a doubt, look at the picture, it seems the digital controller on the bicycle handlebar is able to show if the battery is at { 1/4, 2/4, 3/4, 4/4 } of its charge: how can show it?I mean by which signals? directly from the 25.2V on the red and black cables (so, from a cabling done inside the motor), or *maybe* by the yellow wire?The original battery was LiPo: how do you measure the charge status? (how much energy the battery can still provide)When I switch-On the digital controller on the bicycle handlebar (by giving 25.2V on the red and black cable) I see all the four Leds power down, that means 0/4 of charge

author: legacy
author_rank: Super Contributor
timestamp: September 07, 2018, 10:02:06 am
content: Quote from: Hero999 on September 07, 2018, 08:23:49 amit's written on the plastic of the battery connector on the bicycle frame where the battery goes mounted, besides sentences written in Japanese: it explicitly says 25.2V and 4A, which is also the value of the fuse on the connector as the maximum current deliverable.

author: legacy
author_rank: Super Contributor
timestamp: September 07, 2018, 12:24:22 pm
content: as a sort oflipo fuel gauge, it would be interesting to understand how the digital controller (or the circuit built-in with the battery package) estimates the approximate how much ‘fuel’ is left in the tank, and represents it by turning on the four LEDs, and - possibly - also it can enable or disable the motor engine accordingly.My pure speculation, I don't believe it needs to be accurate at all, p.e. four simple signal LEDs which warns you about low battery level

author: Zero999
author_rank: Super Contributor
timestamp: September 07, 2018, 12:37:41 pm
content: Quote from: legacy on September 07, 2018, 10:02:06 amOh I see, then unless it's a typo, it will be the voltage rating of the motor and the current consumption, not the battery capacity.

author: MK14
author_rank: Super Contributor
timestamp: September 07, 2018, 12:56:26 pm
content: I would have guessed the battery amp/hour would be around 20 amp/hour.I don't know what exact model you have. But in general ...QuoteWhich would be around 20 Amp/hour if it was 25 Volts. Could be different, as yours could be a much older model.https://globenewswire.com/news-release/2018/03/27/1453898/0/en/Yamaha-Announces-Power-Assist-Electric-Bicycle-Full-Specs-and-Pricing.html

author: legacy
author_rank: Super Contributor
timestamp: September 07, 2018, 07:16:47 pm
content: Quote from: MK14 on September 07, 2018, 12:56:26 pmProbably.But I can't tell you more since I am not in contact with the previous owneranyway, I am willing to open the motor-block, more pics will follow ...

author: m3vuv
author_rank: Super Contributor
timestamp: September 08, 2018, 12:12:50 am
content: how many wires go into the motor 2/3 or 8?,and the colors most brushless motors are 3 phase,the phase wires are blue yellow and green,then you sometimes have hall sensor wires,normaly a thin red,blue,green,yellow and black,if the motor has 3 wires,its brushless,8 its brushless with hall sensors,and just 2 wires its a brushed motor,hope this helps,cheers m3vuv.

author: NiHaoMike
author_rank: Super Contributor
timestamp: September 08, 2018, 01:27:54 am
content: 100W doesn't sound like much when cheap Walmart specials are 300W or more nowadays. It was probably designed when battery technology was much less advanced and increasing the power would give too little range.

author: legacy
author_rank: Super Contributor
timestamp: September 08, 2018, 09:49:50 am
content: the motor enginelet's open the motorbrushless with 3 phasessensor for the bicycle crankan explode of the enginethe controller (WTF is that?)

author: legacy
author_rank: Super Contributor
timestamp: September 08, 2018, 09:58:47 am
content: so, the motor has a digital controller (DSP?), unfortunately, I can't read what is written on the top of the big squared black chip, but I really wonder WHY there are so many wires going to the interface-box (the thing with LEDs and button) on the bicycle handlebartoo many wires, really too many! one of them, the grey one is connected to the yellow wire from the battery (NTC?!?!?); and for sure a subset of these wires are for the gear.but why the digital controller that controls the brushless doesn't just use an RS422 or RS485 to communicate with what clearly appears like an interface? It everything is embedded with motor box, why do so many wires need to go outside?

author: legacy
author_rank: Super Contributor
timestamp: September 08, 2018, 09:59:47 am
content: as proof of concept, is it anything like this for the battery?

author: legacy
author_rank: Super Contributor
timestamp: September 08, 2018, 10:14:00 am
content: Quote from: NiHaoMike on September 08, 2018, 01:27:54 amYup, and probably this was the reason why the bicycle needed to go and the dude shifted it out for sale for a ridiculous price. It makes sense

author: perieanuo
author_rank: Frequent Contributor
timestamp: September 08, 2018, 09:44:11 pm
content: Quote from: legacy on September 08, 2018, 09:59:47 amExactly,you have a battery controller (bms) for 4 elements,the controller balance the charge to every element separated.ntc is more often 10k or 100k .Envoyé de mon iPad en utilisant Tapatalk

author: legacy
author_rank: Super Contributor
timestamp: September 19, 2018, 04:10:47 pm
content: I added a 100Kohm resistor between the yellow wire and ground, but no progress

author: legacy
author_rank: Super Contributor
timestamp: September 21, 2018, 10:38:32 am
content: other ideas? tips?

author: NiHaoMike
author_rank: Super Contributor
timestamp: September 21, 2018, 01:27:12 pm
content: Try 10k, which is the more common kind of NTC anyways.