FOCBOX programing help :|

Ok, so a tad bit confused…

I have dual focbox’s… and when programing the motors using the bldc tool… do you have to program each motor separately and then CAN bus them together? or can do can bus them first and then do the programing? I’m trying to program them with the can bused together and when I click on measure R & L and measure A only the slave moves…

Thanks!

Yes, you have to setup both VESC’s and motors first and then define master and slave for PPM. Don’t forget to set the fail save correctly on your reciever and remote! Edit* Don’t forget to write config each time you do motor detection and setup.

1 Like
  • Make sure to read motor and app settings each time you connect or you will overwrite the wrong settings. I like to read all settings every time I make a change to make sure it saved.

  • I connected my canbus first, then got to updating firmware and programming.

  • Set master to 0 and slave to 1. One of the can options is to send status to other ESCs. Set this on the slave. The other option to enable on the master is multiple escs over CAN, I think. Save, read, verify, disconnect

  • I have ppm and uart set as my app mode for Bluetooth and controller on master. If you don’t have a BT module, it’s probably just ppm depending on your controller. On the slave I think I have none, because it takes what the master sends it… ppm in my case. Set up all your control config stuff and app settings on master only

  • Motor detection has to happen separately for each vesc, and saved to each vesc in particular… Same with all your voltage limits etc under motor config.

Hope this helps. The tooltips are great, especially on ackmaniacs bldc tool. Download that tool if only to hover over settings for in depth tooltips.

1 Like

Is multiple escs over can supposed to be ticked (app configuration/ ppm tab) ? If so on master or slave or both?

Multiple ESCs over CAN must be checked

1 Like

@Danny414 What is the tutorial you’re following to set your 2 Focbox up ? If those simple answers are not in your tutorial, it maybe is a bad one and you should contact the author so others people know what to do and how to dot it. Do you at least follow a tutorial ?

2 Likes

Only on master vesc right?

I’ve just been searching on here and YouTube and it haven’t been really clear on what I’ve read. And most everything I find is only for one VESC not dual… and not dual focboxs, it also isn’t clear if I should be setting the initial parameters like battery min max for just that motor or if I just take both into account… would you be willing to voice chat or FaceTime? If so you can pm me your number and best time to call

I’m setting up 2 focboxs

Multiple ESC over can checked on master and all slaves

Send status over can only checked on slaves.

what is weird is I have it setup like that now but then after I connected the can bus cable and power on the focboxs… the master automatically checks send status over… it seems to be working how ever… here are some pics

This is of the master before I plug in the canbus cable

Here is the slave before I plug in can bus cable

Here is the master after I plug in the canbus cable… it changed itself

You have to READ configuration every time you switch can ID or plug in the USB… otherwise it is just showing data from the last READ

I do… notice the controller ID in the last pic is still 0 I actually close the program right after a write… so when I re-open it all the values are all 000000000’s so I know to read

Without canbus plugged in.

Plug the USB and power into the master. Program it with iD 0 Multiple esc over can checked

Unplug it.

Plug in the USb to the slave and program it with Id1 Multiple esc over can checked Send status over can checked.

Unplug

Plug the can cable into both. Power them both. Plug the USB into the master. go to the connection tab and click connect. It should be the master, and read. Still on the connection tab, type 1 into the can fwd box and enable can fwd on the connection tab. Click connect it should be the slave then read.

You cannot plug in the usb to the slave and connect to master over can, because the master isn’t sending it’s status to the bus.

Hope this helps…

1 Like

Ok so here is what I did

After I do a write with this above pic and then close the program and reopen the program with usb plugged into the master and do a read it showed this

THEN I wait a couple minutes. Close the program, reopen, with usb connected to master I do a read and it shows this

So it changed itself twice it looks like but the weird things is both motors are spinning as they should and seems to be working… weird

You shouldnt have to close out the program just press the disconnect button. And you are making sure you do the changes then do a write config

Sorry to jump on here, but this task is something looming for me in next few days. I also have dual focbox setup with can, and am looking for the #1 recommended YT tutorial you guys would point me too. Searching on there brings up a plethora of vids, but as a focbox noob I would take the advice gladly of which tutorial is the best / most thorough out there.

Thanks for any help

It’s all here, at least for the dual config in BLDC Tool (sorry, i don’t know about VESC Tool usage) and plugging timing and setup. The rest is to define the values for your setup (motor max, min, batt max, min, watts if “watt control” is used, etc.) But you should already have those values as we’re suppose to build around them.

Sorry, I can’t point you toward a YT tutorial or something like that as I don’t use them andr the infos I use are in this very forum or in French language. :frowning:

2 Likes

Pretty much all the same tabs in a different layout that’s pretty.:wink:

1 Like

Do y’all need a YT video? Lol…

Ok…