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…
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.
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.
@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 ?
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
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
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
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.
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.
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.