engine sound on TC
Terrified by fact, that while having less than 10km ride, I had two folks that didn't noticed/heard a TC coming their way, I've decided that it would be nice to have some kind of engine sound produced by TC while riding.
I've googled a bit and found Sound Racer's "Electric Vehicle Sound Module EVSMA-1" and decided to give it a try.
In the video I've attached you can hear TC producing sound of Harley's Twin-V engine, but module comes with one more motorcycle sound (Suzuki GSX), couple of car engine sounds, and software for adjusting parameters of engine sounds, as well as creating new ones from recordings of some engine.
Module is set-up to do "3 gears virtual gear shifting" based on parameters in software.
Video was recorded in my office warehouse, so I've adjusted the volume to about 1/4 of maximum.
Module fits nicely (but tightly) into the space on the front-left side of the battery compartment, leaving the room below it for the cabling and connectors. I have used hook&loop self-adhesive tape to attach it to a outer side of a batteries compartment (so it can be easily detached).
Speaker fits nicely in the compartment below the front battery. Since it is near ground, some kind of dust/water-proof speaker is highly recommended (one on the picture came with the module and it is IP68 rated).
Module is powered by 12V from the TC's own 60-12V DC-DC converter located on the front-right side of the battery compartment, like on the picture below, pointed by the blue arrow. On DC-DC converter yellow lead is +12, and black is ground.
Only additional connection module needs to work properly, is pulse signal from a hall sensor (in order to get speed, and extrapolate RPM of the engine (again, configurable in software)). TC's engine is equipped with 3-phase hall sensor, and signal from one of the phases is sufficient for module to work (and signal level of 3V is also sufficient enough). Connector of a TC's hall sensor is 6 pole connector with the black (ground), red (+V), yellow, blue and green leads (each one is with pulses from hall sensor). "Steal" pulse signal from only one of them (I've used yellow lead). I've found hall sensor connector on my TC lying in a space below DC-DC converter, pointed by red arrow on the picture below.
I've used some cable clamps i order to attach to a TC cables without cutting them.
The only software adjustment I've made to a sound files is max frequency of pulses according to what I have measured on TC hall sensor with throttle opened fully. It is 168 Hz for restricted TC, and 328 for unrestricted.
Hope this info helps anyone.
Special thanks to @flyingelectric for pointing me in a right direction, regarding hall sensors on TC engine.
WARNING: Be aware that cutting wires in cable that comes from the right handle, like described below, quite possibly breaks warranty (at least on the handle, if not on whole bike).
Problem described in the original post, is solved using 2 pcs of 12V SPDT relays (standard car relays), with coils connected in parallel, one to switch 4V control circuit that that changes Parking/Ready, and the other to provide 12V to sound generator. It could be one DPDT relay, but I could not find it on the market at the moment.
In order to use handle parking switch to activate relays, two wires that goes from the connector to the switch (in my case green and white) must be cut (near, but not too close to connector) and reconnected them, like described:
1. side that goes to a switch is connected in series to a relay coils, so it goes like: +12V from DC-DC converter (red) -> fuse -> switch -> coils of both relays (contacts 85) -> then from other coil contacts (86) to the ground from DC-DC converter (black))
2. side that goes to a connector is connected to the 1st relay COM (30) and NO (87) contacts.
3. +12V from DC-DC converter is also connected to the 2nd relay COM (30), and that +12V is picked up on the 2nd relay NO pin (87), by sound generator device after parking button is pressed.
Ground of sound generator should be connected to a ground of a DC-DC converter (black).
After this modification, engine revving sound is heard when I press parking switch, and engine sound is turned off by releasing parking switch, while maintaining the original switch function for changing from parking to ready mode.
It is worth mentioning that I have tried (and so far, failed) to make engine revving (start) sound be related to pressing of the parking button. Module gives a revving sound as soon as it is powered up, so basic idea was to use parking button to trigger relay that will turn on +12V to the module.
Parking button has +4V measured to the ground when opened (P is displayed, TC doesn't react to throttle), and 0V when it is closed (READY is displayed, TC reacts to a throttle).
First I have tried with a 5V-coil relay connected to the parking button lead, but all I have got is to change from P to READY on display, WITHOUT touching parking button.
Then I have tried with 12V relay-module like on picture.
That module is 12V powered, so relay has 12V-coil that is triggered by active-high or active-low TTL level signal on IN connection. So I have gave it +12V from and ground from a TC, and connected TC parking button lead to the IN connection.
Unfortunately, I have either got relay triggering (without changing from P to READY), or changing from P to READY (without relay triggering), depending on a yellow jumper setting (active-high/active-low) on relay-module.
If anyone have and idea how to solve this problem, and is willing to help me, it would be much appreciated.