Difference between revisions of "Spin-Y manual"

From Spintend service and support
(Created page with "This is the manual for Spin-Y2(V2), V1 is here: Spin-Y manual V1 ----Spin-Y is a throttle for VESC and common e-scooter/bike. Buy link: https://spintend.com/products/two-way-throttle-spiny-for-diy-escooter-diy-ebike ==Feature== *Maximum Hand grip, specially at full throttle. *Bidirectional operation (forward accelerate, backward e-braking) . *Remapped 0-3.3v signal, extend the hall range to get more interference immunity, and safe for VESC and similar controller...")
 
Line 1: Line 1:
Editing, will be soon.
This is the manual for Spin-Y2(V2), V1 is here: [[Spin-Y manual V1]]
This is the manual for Spin-Y2(V2), V1 is here: [[Spin-Y manual V1]]
----Spin-Y is a throttle for VESC and common e-scooter/bike.
----Spin-Y2 is a throttle for VESC and common e-scooter/bike.


Buy link: https://spintend.com/products/two-way-throttle-spiny-for-diy-escooter-diy-ebike
Buy link: https://spintend.com/products/two-way-throttle-spiny-for-diy-escooter-diy-ebike
Line 10: Line 12:
*Variable e-brake up on reverse scroll.
*Variable e-brake up on reverse scroll.
*Standard controllers use it mid to max as throttle only, can block with screw backward rotation! Reverse scroll can be blocked by replacing one screw for a longer version (included), if user on standard controller doesn’t want it to scroll backward (one way operation)
*Standard controllers use it mid to max as throttle only, can block with screw backward rotation! Reverse scroll can be blocked by replacing one screw for a longer version (included), if user on standard controller doesn’t want it to scroll backward (one way operation)
*Button at the back can be used for external function (dedicated signal wire) .
*Click rear button to trigger cruise function.
'''Note: The rear button is now bound to cruise function of Spin-Y itself, don't connect the 'rear button' wire to any external device.'''
==Specification==
==Specification==
{| class="wikitable"
{| class="wikitable"
Line 68: Line 69:
|E-Brake variable
|E-Brake variable
|Variable brake for ESC that support it, like some ninebot, xiaomi, Sabvoton, Kelly and other
|Variable brake for ESC that support it, like some ninebot, xiaomi, Sabvoton, Kelly and other
|-
|Orange
|Rear button
|'''Deprecated, because the rear button is now bound to the internal cruise function.'''
|}
|}
==Calibration==
==Calibration==
We can do three calibrations to make Spin-Y working more perfectly: wheel travel calibration, start point adjust for normal throttle, and end point adjust for normal throttle.
We can do three calibrations to make Spin-Y2 working more perfectly: wheel travel calibration, start point adjust for normal throttle, and end point adjust for normal throttle.


Spin-Y has three LEDs, under the wheel, to indicate the calibration state: green, yellow, red.  For easy to observe the LED state, do calibration at a darker place will helps.
Spin-Y2 has three LEDs, under the wheel, to indicate the calibration state: green, yellow, red.  For easy to observe the LED state, do calibration at a darker place will helps.


By hold the rear button when power on the Spin-y more than 3 seconds, Spin-Y will enter the calibration mode.
By hold the rear button when power on the Spin-Y2 more than 3 seconds, Spin-Y2 will enter the calibration mode.
===Wheel travel calibration===
===Wheel travel calibration===
Spin-Y can be more accurate after calibrate the wheel travel. Both the One way or two way mode are benefited.
Spin-Y2 can be more accurate after calibrate the wheel travel. Both the One way or two way mode are benefited.
#Hold the rear button during power on for more than 3 seconds, till the yellow LED start blinking, then release rear button.
#Hold the rear button during power on for more than 3 seconds, till the yellow LED start blinking, then release rear button.
#When yellow LED blinking, scroll the wheel to min and max for several times, then release the wheel.
#When yellow LED blinking, scroll the wheel to min and max for several times, then release the wheel.
Line 98: Line 95:
You can use a multimeter to measure the voltage of the wire (green) to get an accurate end point voltage, or watching the ESC and motor to make the decision.
You can use a multimeter to measure the voltage of the wire (green) to get an accurate end point voltage, or watching the ESC and motor to make the decision.
#Hold the rear button during power on for more than 9 seconds, after the yellow LED blinking, green LED blinking,  the red LED will start blinking, then release the button.
#Hold the rear button during power on for more than 9 seconds, after the yellow LED blinking, green LED blinking,  the red LED will start blinking, then release the button.
#Push forward (accelerate) the wheel to rise the end point voltage, Pull backward (brake) the wheel to lower it, 0.025V a step. Watching the ESC, when the ESC accelerating the motor no more, or the Spin-Y's throttle voltage meets your ESC's requirement.
#Push forward (accelerate) the wheel to rise the end point voltage, Pull backward (brake) the wheel to lower it, 0.025V a step. Watching the ESC, when the ESC accelerating the motor no more, or the Spin-Y2's throttle voltage meets your ESC's requirement.
#Quit, hold the rear button more than 3 seconds again, till the green LED turn to solid on.
#Quit, hold the rear button more than 3 seconds again, till the green LED turn to solid on.
#Check if the end point is meet your requirement, if not, go to step 1 and try again.
#Check if the end point is meet your requirement, if not, go to step 1 and try again.
Line 119: Line 116:
Center to forward----0-4.2V.
Center to forward----0-4.2V.


'''Reminds:If you're using our [https://spintend.com/collections/diy-electric-scooter-parts/products/ewheel-adc-adapter-v2-for-diy-ebike-escooter Ewheel ADC adapter] to wire with the SPIN-Y throttle, should NOT use VESC throttle cable, and need to use Normal Throttle cable'''
'''Reminds:If you're using our [https://spintend.com/collections/diy-electric-scooter-parts/products/ewheel-adc-adapter-v2-for-diy-ebike-escooter Ewheel ADC adapter] to wire with the SPIN-Y2 throttle, should NOT use VESC throttle cable, and need to use Normal Throttle cable'''
==Connect to Adapter V2==
==Connect to Adapter V2==
Our Adapter V2 is designed for 5V hall system, has built in 5V-3.3V voltage translator, so recommend to set Adapter throttle supply to "5V“.  The rear button can be used as cruise control, and recommend to set VESC ADC control mode to "Current No Reverse Brake ADC2" to use cruise feature.
Our Adapter V2 is designed for 5V hall system, has built in 5V-3.3V voltage translator, so recommend to set Adapter throttle supply to "5V“.  The rear button can be used as cruise control, and recommend to set VESC ADC control mode to "Current No Reverse Brake ADC2" to use cruise feature.
Line 145: Line 142:
|E-Brake variable
|E-Brake variable
|ABRK
|ABRK
|-
|Orange
|Rear Button
|Cruise (the none-GND pad)
|}
|}
# Set the start point to 0,
# Set the end point to 5V if you want a larger voltage amplitude to the ADC1.
# Use the app configuration file we provided.
==FAQ==
==FAQ==
===How does on/off brake and external cruise button function work?===
===How does on/off brake and external cruise button function work?===

Revision as of 19:27, 18 August 2023

Editing, will be soon.

This is the manual for Spin-Y2(V2), V1 is here: Spin-Y manual V1


Spin-Y2 is a throttle for VESC and common e-scooter/bike.

Buy link: https://spintend.com/products/two-way-throttle-spiny-for-diy-escooter-diy-ebike

Feature

  • Maximum Hand grip, specially at full throttle.
  • Bidirectional operation (forward accelerate, backward e-braking) .
  • Remapped 0-3.3v signal, extend the hall range to get more interference immunity, and safe for VESC and similar controllers compared to common 5V throttles.
  • 5v signal out put for All standard controllers like Minimotors/ Dualtron/ zero/ Vsett and others.
  • Variable e-brake up on reverse scroll.
  • Standard controllers use it mid to max as throttle only, can block with screw backward rotation! Reverse scroll can be blocked by replacing one screw for a longer version (included), if user on standard controller doesn’t want it to scroll backward (one way operation)
  • Click rear button to trigger cruise function.

Specification

Electronic Specification
Working voltage 3.3-5V
Out put resistance of VESC/normal throttle, variable brake 330 ohm
ON resistance of Rear button and E-brake 22 ohm
Off load current, 5V supply, no driving out Less than 50 mA
Normal throttle and variable brake output range 0--4.2V, adjustable
Variable brake output range 0.7--4.2V
VESC throttle out put range 0--3.3V, bidirectional, 1.65V at center position
Two head buttons 12V, 2A

All the values are approximate value, at 5V supply, unless otherwise specified.

The color of wires
Color Function Explaination
Black - GND Negative power supply, and low side of rear button and E-brake switch
Red + 3.3/5V Positive power supply, can accept 3.3-5V, recommend 5V
White VESC Throttle VESC ADC1, centered (bidirectional)
Green Normal Throttle One way signal for normal controller(ESC), NOT for VESC
Yellow E-Brake ON/OFF ON/OFF to GND for ESC brake
Blue E-Brake variable Variable brake for ESC that support it, like some ninebot, xiaomi, Sabvoton, Kelly and other

Calibration

We can do three calibrations to make Spin-Y2 working more perfectly: wheel travel calibration, start point adjust for normal throttle, and end point adjust for normal throttle.

Spin-Y2 has three LEDs, under the wheel, to indicate the calibration state: green, yellow, red. For easy to observe the LED state, do calibration at a darker place will helps.

By hold the rear button when power on the Spin-Y2 more than 3 seconds, Spin-Y2 will enter the calibration mode.

Wheel travel calibration

Spin-Y2 can be more accurate after calibrate the wheel travel. Both the One way or two way mode are benefited.

  1. Hold the rear button during power on for more than 3 seconds, till the yellow LED start blinking, then release rear button.
  2. When yellow LED blinking, scroll the wheel to min and max for several times, then release the wheel.
  3. Quit, hold the rear button more than 3 seconds again, till the yellow LED stop blinking, and the green LED on.
  4. Check if the function is normal, if not, go to step 1 and try again.

Start point adjust for normal throttle

Start point is for normal ESC, usually they have start voltage at 0.7V and end voltage 4.2V.

You can observe the ESC and motor to find the right start point.

  1. Hold the rear button during power on for more than 6 seconds, after the yellow LED blinking, the green LED will start blinking, then release the button.
  2. Push forward (accelerate) the wheel to rise the start point voltage, Pull backward (brake) the wheel to lower it, 0.025V a step. Watching the ESC, when the ESC starts to spin the motor, pull back the wheel 2-5 steps to lower the start point voltage to get a idle voltage.
  3. Quit, hold the rear button more than 3 seconds again, till the green LED turn to solid on.
  4. Check if the start point is meet your requirement, if not, go to step 1 and try again.

End point adjust for normal throttle

End point is for normal ESC, the ESC's acceptation of the end voltage is varying, adjusting the end point can match their requirements.

You can use a multimeter to measure the voltage of the wire (green) to get an accurate end point voltage, or watching the ESC and motor to make the decision.

  1. Hold the rear button during power on for more than 9 seconds, after the yellow LED blinking, green LED blinking, the red LED will start blinking, then release the button.
  2. Push forward (accelerate) the wheel to rise the end point voltage, Pull backward (brake) the wheel to lower it, 0.025V a step. Watching the ESC, when the ESC accelerating the motor no more, or the Spin-Y2's throttle voltage meets your ESC's requirement.
  3. Quit, hold the rear button more than 3 seconds again, till the green LED turn to solid on.
  4. Check if the end point is meet your requirement, if not, go to step 1 and try again.

Warning “End point Configuration” process will start your motors spinning, have your scooter on a riser (wheels in the air).

The E-brake and the variable brake

When pull backward the wheel, the E-brake and variable brake wire will output a voltage, they can be used to control the controller's regenerative braking.

The difference of two brake signal is:

E-brake is a ON/OFF signal, when pull back, the E-brake wire connected to GND, when wheel at center of push forward, E-break wire off to GND.

Variable brake is a proportional (analog ) signal follows the wheel's backward travel, when wheel at center of push forward, the variable brake wire outputs 0V, when pull back, outputs a 0-4.2V voltage as well as the angle of the wheel being pulled.

The VESC throttle and normal throttle

The VESC throttle is in 3.3V range, pull backward is 0V, push forward is 3.3V, the center is 1.65V.

The default normal throttle's range:

Backward to center----0V.

Center to forward----0-4.2V.

Reminds:If you're using our Ewheel ADC adapter to wire with the SPIN-Y2 throttle, should NOT use VESC throttle cable, and need to use Normal Throttle cable

Connect to Adapter V2

Our Adapter V2 is designed for 5V hall system, has built in 5V-3.3V voltage translator, so recommend to set Adapter throttle supply to "5V“. The rear button can be used as cruise control, and recommend to set VESC ADC control mode to "Current No Reverse Brake ADC2" to use cruise feature.

Make connection as below:

The connection for the Spin-Y to Adapter V2
Color Spin-Y wire Adapter V2
Black GND GND
Red +3.3V/5V 5V
Green Normal Throttle THR
Blue E-Brake variable ABRK
  1. Set the start point to 0,
  2. Set the end point to 5V if you want a larger voltage amplitude to the ADC1.
  3. Use the app configuration file we provided.

FAQ

How does on/off brake and external cruise button function work?

When the rear button is pressed, it's wire(orange) will connect to the GND, there is a 22 ohm resistor serial in the circuit, to prevent short. When button released, the connection to the GND will be open.

When the pull the wheel backward (to right), it's wire(yellow) will connect to the GND, there is a 22 ohm resistor serial in the circuit, to prevent short. When wheel released or pushed forward, the connection to the GND will be open.

Can I supply Spin-Y with 5V when connecting to VESC?

Yes you can, the firmware manages it within 0-3.3V range independent of supply voltage, and the center voltage is still 1.65V, unless the supply voltage is lower than 3.3V.

Caution and limits

Warning :

  1. Throttle can not disengage Cruise when driver presses Brake Lever - scooter will slowdown with motors disengaged as long as you hold the lever, but once Brake lever released Scooter will get back to Cruise speed. (it is useful feature in city driving in lower power mod, but Be careful in high power modes).
  2. “End point Configuration” process will start your motors spinning, have your scooter on a riser (wheels in the air).

Notes

See also

Main page