davidmunoztorrijos hat geschrieben: ↑Fr 10. Jun 2022, 13:31
Good afternoon.
Could you show us the connection of the cables between the Coulometer and the motorcycle?
Thank you very much.
First let me introduce you to the type of coulomb meter that we are dealing with:
At the left, you can see the standard version without bluetooth module, at the right side the one with bluetooth.
You can see that there is the hall sensor (the thing with the 19.5mm hole in the middle) plugged in, with a short (approx. 15cm) cable to the display device.
This cable needs to be made of a shielded 2 wire cable (GND -> shield, Vcc, sense) and it has two female 3-pin JST2.54 connectors at each end.
The cable with the 3 wires in yellow, red and black, is used for the power supply and voltage measuring. It uses a smaller female 3-pin JST2.0 connector.
Why am I telling you all these details? : because it's very likely that you need to make or buy some longer versions of the cables, when you mount the device inside the tank box.
For the hardcore tinkereres here: If you've examined the picture above thoroughly, you may have noticed that the coulomb meter without bluetooth is already prepared for a module.
Now you may think: I've got this version, can I simply attach a cheap bluetooth LE module, like a HM-10 or a BT05 clone of it? Yes you can, but the standard bluetooth app won't run with it, because the original module uses two different uuid's for writing and listening. But with my app, where I can choose which uuid's are used, it'll work
_________________
Now for the connection options.
I made some pictures for two variants, how to make the connection (there are plenty):
You can see that the thick yellow main power cable runs through the hall sensor. At which side of the main switch/fuse you mount the hall sensor doesn't really matter, only the direction is important.
The first variant (Anschaltevariante 1) gets the supply power for the coulomb meter from the connector for the rear light, where the green wire represents GND and the brown wire +12V (switched by the starter lock). Which means that the device is powered up (and will count the current) only when the key is inside the starter lock. That's ok if your bike is standing, and beeing charged, in your garage... but I won't recommend it while using a public charging point.
At the 2nd variant (Anschaltevariante 2) you can either power the coulomb meter from the switched +12V or directly from the battery voltage (+84V), using a toggle switch. This allows you to power up the coulomb meter whithout the key in the lock.
Both variants only measure the current that is drawn from the load (including recuperation, when the load acts as a generator).
At these variants you need to charge the E-Odin until it is full. The coulomb meter then detects the max. Voltage (usually 83.5V) and resets the battery percentage to 100%.
If everything is correct installed, you should measure a positive current when drawing power (e.g. when the motor is running).
If the current is negative, you need to run the main power cable through the hall sensor in reverse direction.
____________
If you want to measure the current as well while charging, you need to run a second wire through the hall-sensor.
This wire must be one line of the charging circuit (which is disjunctive from the main power circuit, due to the fact that our battery uses an extra connector for charging).
To do so, you need to insert an "intermediate piece" into the charging circuit, where you can open one wire and run it through the hall sensor in addition to the main power cable.
Parts for the intermediate piece:
For the intermediate piece you need some AWG10 wire (if PVC) or AWG12 wire (if silicon isolated), a male and a female XT90H connector and a pair of male and female XT150 connectors.
With this adapter, you can now run the wire with the XT150 connectors through the inner hole of the hall sensor.
Now, if the battery is charged, the coulomb meter should show a negative current. If it shows a positive one, just reverse the direction of the charging wire that runs through the sensor.
When you are going for the enhanced version (the one with the intermediate piece), you can get the power (GND and the 84V battery voltage) from the adapter.
____________
By the way: meanwhile my App is grown more complex and improved, so I won't post the *.aia file for the MIT App-Inventor here. But if you need the app, you can send me a PN and I'll build you the *.apk.
My App now is meant to run at a dedicated smartphone, that I can leave in the tank compartment where the coulomb meter is installed.
When the "watchdog" is activated, the App sends me a text message when the battery is fully charged.... or when the bike moves away from the location where I parked it.
I can even call my "E-Odin Smartphone" and get a text message back, with the charging status and the location of the bike.