Arduino code for a CAN <-> BT interface for Votol controllers.
This will work on a very specific hardware (based on ESP32), as described in this project
If you find this project helpful, you can support future development by buying me a coffee! ☕
Youtube Channel: https://www.youtube.com/@metacyclehack
If you would like to purchase a ready-to-use module or unlock premium app features, please visit:
👉 Store
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
You are free to copy, modify, and share this project for non-commercial purposes only, as long as you give credit and license your new creations under the same terms.
Other versions might work
Under Tools->Manage Libraries, add the following:
https://github.com/avlasic/arduino-CAN/tree/patch-1 (fork from https://github.com/sandeepmistry/arduino-CAN ver 0.3.1)
from https://github.com/plerup/espsoftwareserial/
Under Tools->Boards Manager, add the following board
from https://github.com/espressif/arduino-esp32
Version 3.x has
- a different way to deal with watchdogs - easy fix
- CAN library is not working anymore, made an attempt to use TWAI CAN library - fail
File -> Open
E.g. ESP32 Dev Module, /dev/cu.usbserial-0001 Serial Port (USB)
Set USB serial baud rate to 250000 baud.
A normal init sequence should look like this:
RED LED will turn ON when power is applied
Serial Console should say
Serial init ok!
WiFi disabled!
CAN init ok!
BT init ok!
BLUE LED will turn ON and start blinking when BT connection with the app is established.