How to setup a 4WD with Ubox V2

From Spintend service and support
Revision as of 15:49, 27 January 2022 by John (talk | contribs)

This is a guide to help our users to setup a 4WD with two Ubox V2. Compared with Ubox V1, V2 is specially designed for 4WD, it's support CAN plug-in power ON, and disable-receiver, these two features are helpful for 4WD builting.

Conception

To combine 2 Uboxes to build a 4WD, we need to set one of them as master, the other to slave. The master Ubox receives the remote’s control signal, relay the single to all the other ESCs through CAN bus. In this article, we begin with Uremote V2, for the third party remote, they are same. So, we set the master/slave Uboxes first.

Prepares

  • Uboxes
  • Uremote.
  • power cable,
  • 4PIN CAN cable,
  • USB typeC cable.

4 motors

  • 1 Power button and cable(随ubox附送)

Step by step

Choose one of 2 uboxes as slave,disable its internal receiver, enable its internal CAN bus

a. power off ubox and Uremote. b. Do not power on remote, then power on Ubox c. After button led is solid green, click button 9 times, then wait 1 second. d. Power off Ubox, then click button to re-power on Ubox, check if the button led is no blinking when power on. If blinking, Go to step a, and try again. Blinking is mean receiver is enabled. d. Check the CAN LED inside the Ubox panel, if no light, go to a, b, in step c, click button 6 times instead. Now the slave Ubox’s receiver is disabled, and its internal CAN is ON.

Set the other Ubox as master, enable its internal receiver and CAN bus, binding with Uremote

a. power off ubox and Uremote. b. Do not power on remote, then power on Ubox. c. After button led is solid green, click button 8 times, then wait 1 second. d. Power off Ubox, then click button to re-power on Ubox, check if the button led is no blinking when power on. If not blinking, go to step a, and try again. Blinking is mean receiver is enabled. e. Power off Ubox, then Power on Uremote, go into setting menu->Receiver Config->Binding->Enter. Then power on Ubox, the binding will succeed. f. Go into setting menu->Ports Config->UART. Set to ‘UART To A’. g. On the remote, go into setting menu->Ports Config->CAN Bus. Set to ON. Now the master Ubox’s receiver is enabled, and its internal CAN is ON.

Combine with CAN cable

a. Use Y power cable to plug in 2 Uboxes, b. then plug in the CAN cable into master Ubox’s CAN-out and slave Ubox’s CAN-in. c. Plug in power button into master Ubox’s ‘BUTTON’ socket. d. Click button 1second to power on, and hold button 3 seconds to power off. e. If power ON/OFF not work, go to a, check if all the cables are in its correct socket, and try again.

Setup motors FOC

Connect in all 4 motors,Plug the USB cable into the ESCA of master ubox,

Open VESC tool, do ‘Setup motors FOC’.


Setup remote control

a. In VESC tool, AutoConnect. b. In the VESC tool window, low-left corner, select Local ESC.

c. Go to APP settings->General->Gerneral

Read out APP settings:

Set APP to Use UART:

Write back to ESC:

d. Then, set VESC remote->General->Control type as current mode or the other mode you wanted, and write back to ESC.


Now finished, push the remote’s gear to test if all 4 motors are spinning.

Be careful of click buttons on right side bar, read out setting first, make settings, then write back to ESC. If occasionally, you reset them to default, we recommend that you repeat FOC setup and subsequent steps, because during FOC setup, the VESC tool will automatically bind them to CAN bus combined mode, this is convenient. Otherwise, we need to config them manually, that is a little trouble some.

Lights and horn

Plug in front light, brake light, and horn, test them on the remote. If one of these devices not working, you can do a crossing check first. For example, if the front light is working, use it to check the rest socket to test if the sockets are functioning.

Concludes and explain

Limits and caution

Notes