juamiso / ANT_BMS

Python Script for raspberry reading BMS Ant parameters via Bluetooth
38 stars 11 forks source link

Information about ADC you using #3

Closed gtrdriver closed 3 years ago

gtrdriver commented 4 years ago

You write that you use a ADC converter for read voltage from battery pack?

I also like to know why you use this the pack voltage should also be transmitted by ant bms and Bluetooth

I'm wrong?

juamiso commented 4 years ago

Hi, at the beginning of the project I did not know whether I would get this info from the BMS or not.

Currently I am not using the ADC any more, since I get the pack voltage from both the BMS(Bluetooth updated every 15s or so) and the inverter.

gtrdriver notifications@github.com schrieb am Sa. 27. Juni 2020 um 20:39:

You write that you use a ADC converter for read voltage from battery pack?

I also like to know why you use this the pack voltage should also be transmitted by ant bms and Bluetooth

I'm wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/juamiso/ANT_BMS/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL6XFVMTXIZ3TVN7NHIRNITRYY4GVANCNFSM4OKEUWFQ .

-- Sent from my phone. Please excuse my brevity.

gtrdriver commented 4 years ago

Hi, at the beginning of the project I did not know whether I would get this info from the BMS or not. Currently I am not using the ADC any more, since I get the pack voltage from both the BMS(Bluetooth updated every 15s or so) and the inverter. gtrdriver notifications@github.com schrieb am Sa. 27. Juni 2020 um 20:39: You write that you use a ADC converter for read voltage from battery pack? I also like to know why you use this the pack voltage should also be transmitted by ant bms and Bluetooth I'm wrong? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL6XFVMTXIZ3TVN7NHIRNITRYY4GVANCNFSM4OKEUWFQ . -- Sent from my phone. Please excuse my brevity.

Hi

Thank you very much for make clear this issue

I also plan to get the data out of the bms every x seconds and send it to my central house system (loxone) by using http post.....

May I ask if the bms use AL Bluetooth serial connection?

If yes can you pls post the connection settings you using?

Some month ago I'm playing around with a BT obd II adapter and a rpi and it was really hard to figure out the right connection settings for this device....

Best regards from Bavaria

juamiso commented 4 years ago

If you are still driving a GTR two things:

  1. Congratulations, this car is (was) awesome
  2. Sell it and get a Tesla ;)

Back to business, I have the BMS hooked via a serial port over Bluetooth (built in) in a Raspi 3B+ Pretty robust, also two other colleagues are using it for a DIY power wall.

Grüße aus Köln

PS: I do Not actually monitor the pack voltage. SoC, power, current and cell voltages are what I store on influxdb and visualize via Graf Ana. The pack voltage is anyway taken care by the inverter. So a given redundancy already, no need for me to monitor it too.

If I have time I will update the readme with more information about the setup.

gtrdriver notifications@github.com schrieb am Sa. 27. Juni 2020 um 22:21:

Hi, at the beginning of the project I did not know whether I would get this info from the BMS or not. Currently I am not using the ADC any more, since I get the pack voltage from both the BMS(Bluetooth updated every 15s or so) and the inverter. gtrdriver notifications@github.com schrieb am Sa. 27. Juni 2020 um 20:39: You write that you use a ADC converter for read voltage from battery pack? I also like to know why you use this the pack voltage should also be transmitted by ant bms and Bluetooth I'm wrong? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3 https://github.com/juamiso/ANT_BMS/issues/3>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL6XFVMTXIZ3TVN7NHIRNITRYY4GVANCNFSM4OKEUWFQ . -- Sent from my phone. Please excuse my brevity.

Hi

Thank you very much for make clear this issue

I also plan to get the data out of the bms every x seconds and send it to my central house system (loxone) by using http post.....

May I ask if the bms use AL Bluetooth serial connection?

If yes can you pls post the connection settings you using?

Some month ago I'm playing around with a BT obd II adapter and a rpi and it was really hard to figure out the right connection settings for this device....

Best regards from Bavaria

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/juamiso/ANT_BMS/issues/3#issuecomment-650617980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL6XFVNQTHXBDOEAY3A6PILRYZIEXANCNFSM4OKEUWFQ .

-- Sent from my phone. Please excuse my brevity.

gtrdriver commented 4 years ago

Hi

No gtr was selled years ago... currently I drive a hyundai ioniq ev model 2020(facelift)... Realy great car...

Back to business:

Yes I thought that it is a serial over BT connection this is very common in this kind of devices...

The obd II device works with classical at command (like old modem times)...

I plan to use a victron inverter for this pack The victron speak modbus TCP. So my loxone will connect to the victron and say to it to charge or discharge the pack at x amps..

The bms is the last line of defense if anything goes wrong and because I want to have the pack monitored I love the idea to parse the bms data also to the loxone system for Monitoring

gtrdriver commented 3 years ago

Hello

Is it possible to contact you direct? (or you contact me).

Now I have the bms. I bave setup a raspberry pi paired Bluetooth made the BT serial connection using rfcom

I uncomment some of your debug prints and inserted some own debug prints but all I get is data garbage....

juamiso commented 3 years ago

Yes, but how? don't want to post my email to github. Is your BMS like this one? https://www.ebay.de/itm/ANT-BMS-7-16S-LiFePo4-Lipo-li-ion-Lithium-Blueteeth-Smart-Cells-Protection-BMS/313117644304?hash=item48e7441610:g:1UoAAOSw-Cte6Nbs

On Thu, Jul 9, 2020 at 11:08 PM gtrdriver notifications@github.com wrote:

Hello

Is it possible to contact you direct? (or you contact me).

Now I have the bms. I bave setup a raspberry pi paired Bluetooth made the BT serial connection using rfcom

I uncomment some of your debug prints and inserted some own debug prints but all I get is data garbage....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/juamiso/ANT_BMS/issues/3#issuecomment-656352064, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL6XFVJIOIILTTVGTIBJ243R2YWTFANCNFSM4OKEUWFQ .

gtrdriver commented 3 years ago

Hi. No problem at all

My mail address is. Info at agm.de

djmoonshine commented 3 years ago

Haven't received my ANT BMS yet but I have ordered and this project looks very interesting. I was interested in if you managed to solve the issue in this thread? If so, might want to share what was missed? I'm a bit unfamiliar in using BT in this way. Might want to add an example rfcomm command to the readme or something?