Difference between revisions of "Spin-Y manual V1"

From Spintend service and support
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is the manual for Spin-Y V1, we have improved Spin-Y to [[Spin-Y manual|V2]]:
Spin-Y is a throttle for VESC and common e-scooter/bike.
Spin-Y is a throttle for VESC and common e-scooter/bike.


Line 19: Line 21:
|3.3-5V, suggest 5V
|3.3-5V, suggest 5V
|-
|-
|Out put resistance on VESC/normal throttle, variable brake
|Out put resistance of VESC/normal throttle, variable brake
|330 ohm
|330 ohm
|-
|-
Line 25: Line 27:
|22 ohm
|22 ohm
|-
|-
|Off load current 5V supply, no driving out
|Off load current, 5V supply, no driving out
|20 mA
|20 mA
|-
|-
Line 114: Line 116:


== The E-brake and the variable brake ==
== The E-brake and the variable brake ==
When pull backward the wheel, the E-brake and variable brake wire will output a voltage can be used to control the controller's regenerative braking.
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:   
The difference of two brake signal is:   
Line 120: Line 122:
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.
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.
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 and normal throttle ==
Line 130: Line 132:


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'''


== 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 Button" 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.


Make connection as below:
Make connection as below:
Line 169: Line 173:
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.  
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?''' ====
=== 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.
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.


Line 177: Line 181:


== See also ==
== See also ==
[[Main page]]
[[Main Page]]

Latest revision as of 08:41, 7 August 2023

This is the manual for Spin-Y V1, we have improved Spin-Y to V2:

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 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)
  • Button at the back can be used for external function (dedicated signal wire) .

Specification

Electronic Specification
Working voltage 3.3-5V, suggest 5V
Out put resistance of VESC/normal throttle, variable brake 330 ohm
ON resistance of Cruise button and E-brake 22 ohm
Off load current, 5V supply, no driving out 20 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
Orange Rear button Button to GND for external DIY devices, such as cruise, lights/horn etc.

Calibration

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.

All the calibration are enter by hold the rear button then power on the scooter (make Spin-Y power on).

Wheel travel calibration

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

If you changed your supply voltage, we suggest you to calibration again, because the output bias and range of hall sensor in the Spin-Y will vary by the different supply voltage.

  1. Hold the rear button, and pull backward (to right) the wheel, then power on spiny.
  2. Wait 3 seconds for the yellow LED start blinking, then release rear button.
  3. When yellow LED blinking, push and pull the wheel to its full travel for several times, then release the wheel, to wait until green LED on.
  4. Finished, to 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, and the wheel at the start position you wanted, then power on spiny.
  2. Wait 3 seconds for the green LED start blinking, still hold the wheel at its position, then only release the button.
  3. Wait the green LED solid, then release the wheel.
  4. Finished, to check if the start point is meet your requirement, if not, go to step 1 and try again.
  5. Tips, if you did not hold the wheel when adjusting, the start point is set to zero, this is helpful for clear the former adjusting.

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.

  1. Hold the rear button, and the wheel at the end position you wanted, then power on spiny.
  2. Wait 3 seconds for the red LED start blinking, still hold the wheel at its position, then only release the button.
  3. Wait the red LED solid, then release the wheel.
  4. Finished, to check if the end point is meet your requirement, if not, go to step 1 and try again.
  5. Tips, if you hold the wheel at it's maximum position when adjusting, the end point is set to 4.2V, this is helpful for clear the former adjusting.

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-Y 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
Orange Rear Button Cruise (the none-GND pad)

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

Notes

See also

Main Page