syssi / esphome-jk-bms

ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE
Apache License 2.0
474 stars 161 forks source link

Complete Connection with arduino #204

Closed Kamalkant1234 closed 2 years ago

Kamalkant1234 commented 2 years ago

Kindly share complete connection and codes sketch with Arduino.

syssi commented 2 years ago

I don't understand your question. Can you be more specific about what you're missing?

syssi commented 2 years ago

Did you see this paragraph of the docs? https://github.com/syssi/esphome-jk-bms#schematics

Kamalkant1234 commented 2 years ago

Please Help !! I am using JK-BD6A20S6P BMS, and I want to view BMS data on serial monitor with the help of Arduino IDE, using two data wires of BMS. Please provide the detail which pins will be use of Arduino pins, and other modules that will be used in this project ??, as a PDF please share mentioned details. Need your help here please support !! IMG_20221104_231510.jpg Have you used any other software or application for these kind of sequence output ?

syssi commented 2 years ago

What kind of microcontroller do you want to use?

Kamalkant1234 commented 2 years ago

What kind of microcontroller do you want to use?

Arduino UNO or NodeMcu/esp32. If need i will arrange Arduino mega.

syssi commented 2 years ago

Please use an ESP32 and flash the esp32-example.yaml by using esphome run esp32-example.yaml. You have to install ESPHome first. There is no INO sketch required.

Kamalkant1234 commented 2 years ago

And after that ??

syssi commented 2 years ago

You are able to monitor the measurements of your BMS via serial, MQTT or Home Assistant API. What's your goal?

Kamalkant1234 commented 2 years ago

You are able to monitor the measurements of your BMS via serial, MQTT or Home Assistant API. What's your goal?

And which connection diagram i have to be follow, share please connection diagram with controller!! And my goal i want show my BMS Data on Arduino IDE and after that I will share all data on my cloud.

syssi commented 2 years ago

This is the connection diagram: https://github.com/syssi/esphome-jk-bms#schematics

You have to connect three wires (GND, RX, TX) to your BMS using a 4 Pin, JST 1.25mm pitch connector. This project can share all the measurements directly to a MQTT broker (your cloud). Why are you looking for a Arduino IDE compatible solution? I cannot provide a Arduino package.

Kamalkant1234 commented 2 years ago

This is the connection diagram: https://github.com/syssi/esphome-jk-bms#schematics

You have to connect three wires (GND, RX, TX) to your BMS using a 4 Pin, JST 1.25mm pitch connector. This project can share all the measurements directly to a MQTT broker (your cloud). Why are you looking for a Arduino IDE compatible solution? I cannot provide a Arduino package.

Esp8266 will support TTL connection without any converter module ??

syssi commented 2 years ago

Yes. You can attach a ESP8266 or ESP32 directly to the BMS because the logic level is 3.3V.

Kamalkant1234 commented 2 years ago

Yes. You can attach a ESP8266 or ESP32 directly to the BMS because the logic level is 3.3V.

Ya exactly 2.2 to 3.3v data output i received, So can I connect it to RX,TX pin both wire directly, without any converter. And here is need any kind of coding in NodeMcu ??

syssi commented 2 years ago

Yes, you can connect the BMS directly to the ESP/NodeMCU board. No coding required if you want to use this project/implementation.

Kamalkant1234 commented 2 years ago

Ok