-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting a ESP32 devkit v1 to Flipsky fsesc75100 #61
Comments
For UART to work you'll have to rebuild the firmware with CANBUS_ONLY commented out in config.h Otherwise CANBUS is used. |
I already did that, also tried to change [platformio] default_envs = nodemcu-32s, but nothing worked. I am using vs code to upload the code with platformio, but don't think there is anything wrong there. |
Ok, did you check that UART is enabled in VESC tool? |
yes when I used just the VescUart library it was able to print the data to the terminal |
@LankoG, you also need to disable CANBUS_ENABLED too |
Oh my god thank you for this thread! I've spent the last two days trying to figure out why UART wasn't working properly. The fact that CANBUS_ONLY is the default NEEDS to be mentioned somewhere! NOTE: The "-D CANBUS_ENABLED -D CANBUS_ONLY" flags are located in the Environment Variables in "platformio.ini" not in config.h. To enable UART on my nodemcu32, on lines 141-152 of [env:nodemcu-32s]
platform = espressif32
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
board_build.partitions = default.csv
lib_deps =
${common_env_data.lib_deps_external}
build_flags =
${ESP32.build_flags} -D LED_WS28xx
extra_scripts = pre:change_firmware_name.py
custom_firmware_name = firmware_nodemcu-32s Errors I was having: |
I am trying to connect esp32 with a flipsky vesc, but cannot get esp to work. I connected it only through UART because I do not have CAN bus transceiver.
The text was updated successfully, but these errors were encountered: