Skip to content

Commit

Permalink
New Wire and Bluetooth version
Browse files Browse the repository at this point in the history
V1.16.2
  • Loading branch information
Sleeper85 committed Jan 20, 2024
1 parent d1ac38e commit e28f691
Show file tree
Hide file tree
Showing 4 changed files with 2,152 additions and 768 deletions.
27 changes: 27 additions & 0 deletions config/config_atom-lite-esp32-pico.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# *** These are the specific settings you need to change in the YAML if you use the Atom Lite ESP32-PICO board ***

# 1) Choose the configuration file you want to use:
# - esp32_ble_jk-bms-can.yaml : If you don't want to connect a wire between the BMS and the ESP32 choose the Bluetooth version.
# - esp32_wire_jk-bms-can.yaml : If you prefer to use a wired connection between the BMS and the ESP32 choose the Wire version.

# 2) Edit the YAML file you have chosen with the information below :

# +--------------------------------------+
# | ESP32 CAN/serial port pins |
# +--------------------------------------+
# GPIO pins your CAN bus transceiver ATOMIC CANBus Base (CA-IS3050G)
can_tx_pin: GPIO22
can_rx_pin: GPIO19
# GPIO pins your JK-BMS UART-TTL is connected to the grove port of Atom Lite
tx_pin: GPIO32
rx_pin: GPIO26

# +--------------------------------------+
# | ESP32 settings |
# +--------------------------------------+
# For a stable Bluetooth connection keep the "esp-idf" framework
esp32:
board: m5stack-atom
framework:
type: esp-idf
27 changes: 27 additions & 0 deletions config/config_generic-esp32-devkit-v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# *** These are the specific settings you need to change in the YAML if you use the ESP32 DevKit v1 30 pin board ***

# 1) Choose the configuration file you want to use:
# - esp32_ble_jk-bms-can.yaml : If you don't want to connect a wire between the BMS and the ESP32 choose the Bluetooth version.
# - esp32_wire_jk-bms-can.yaml : If you prefer to use a wired connection between the BMS and the ESP32 choose the Wire version.

# 2) Edit the YAML file you have chosen with the information below :

# +--------------------------------------+
# | ESP32 CAN/serial port pins |
# +--------------------------------------+
# GPIO pins your CAN bus transceiver (TJA1050, TJA1051T or SN65HVD230) is connected to the ESP32 TX->TX and RX->RX !
can_tx_pin: GPIO23
can_rx_pin: GPIO22
# GPIO pins your JK-BMS UART-TTL is connected to the ESP32 TX->RX and RX->TX !
tx_pin: GPIO17
rx_pin: GPIO16

# +--------------------------------------+
# | ESP32 settings |
# +--------------------------------------+
# For a stable Bluetooth connection keep the "esp-idf" framework
esp32:
board: esp32doit-devkit-v1
framework:
type: esp-idf
Loading

0 comments on commit e28f691

Please sign in to comment.