Beginner Question Thread! 2023 Edition

Does the vesc connect to a CAN or UART Bluetooth module?

I’m not using a Bluetooth module, might buy one though.

1 Like

Pretty sure uart

https://www.st.com/en/development-tools/stsw-stm32102.html

Is this the driver you installed for the vesc tool serial port?

2 Likes

I’m running vesc tool on a MacBook so I used silicon labs CP210x -usb to uart bridge VCP drivers. Still didn’t work tho

Trying to get it set up before boty but it doesn’t seem like I’ll be able to run vesc settings in time :face_with_peeking_eye::anguished:

Shouldn’t you be able to connect directly from vesc controller-usb to mac-usb without the silicon labs CP210x -usb to uart bridge?

Like literally a regular functioning usb data cable from controller to mac computer.

Idk man, it didn’t work

It keeps just saying ā€œCannot connect , make sure usb is plugged in and vesc is connected to power.ā€

Hmm, maybe some kind of permissions issue?

I may be out of my depth here, I run Linux exclusively.

(I know, both are *nix OS’s)

1 Like

Yeah I’m a bit lost.

Try another OS? A liveboot of Linux should be Good enough

3 Likes

I’ll try that out

1 Like

How exactly do I do that…? :face_with_peeking_eye:

1 Like

https://gprivate.com/6ew8v

2 Likes

I assume you’re using the downloaded desktop version on the mac, and not the app store (ipad version) which afaik doesn’t connect to serial/usb ports.

if so…
unplug your vesc from the macbook.
open system information app

Summary

/System/Applications/Utilities/System Information.app

or apple menu → about this mac → more info → system report…

select usb.
you should see a tree of stuff on your usb bus.

now plug in your vesc via usb and hit CMD-R to reload.
if it is connected you should see something new.

see i get a virtual com port.

Go into vesc_tool → connection → usb(Serial)

click the little refresh serial port list button. you should see new serial ports pop up in the port list.

click the connect button. not the one on the right side tool bar, which is ā€œconnect to previously connectedā€ but the one inside the USB(Serial) tab.

image

:crossed_fingers: it should connect.

5 Likes

I don’t see anything :face_with_diagonal_mouth:

Maybe I am plugging the usb into the wrong spot on the MacBook/vesc?

Try different cable? a cable you know is a data cable, and not just usb power cable.

5 Likes

there’s no wrong ports on the macbook. or the vesc.

vesc is powered on? it won’t be powered by usb.

1 Like