Difference between revisions of "Spin-Y manual V1"

From Spintend service and support
Line 122: Line 122:


==== '''Can I supply spiny with 5V when connecting to VESC?''' ====
==== '''Can I supply spiny with 5V when connecting to VESC?''' ====
Yes you can,  the firmware manages it within 0-3.3V range, and the center voltage still 1.65V, unless the supply voltage is lower than 3.3V.
Yes you can,  the firmware manages it within 0-3.3V range, and the center voltage is still 1.65V, unless the supply voltage is lower than 3.3V.


== Caution and limits ==
== Caution and limits ==

Revision as of 09:38, 11 August 2022

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

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

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

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
Brown Rear button Button to GND for external DIY devices, such as cruise, lights/horn etc.

Calibration

Spiny 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 spiny power on).

Wheel travel calibration

Spiny 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 spiny 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

To be update

The VESC throttle and normal throttle

To be update

FAQ

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

When the rear button is pressed, it's wire(brown) 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 spiny with 5V when connecting to VESC?

Yes you can, the firmware manages it within 0-3.3V range, 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