Comments (10)
Hi Todor,
can you tell me the exact model of your Growatt inverter? Then I can have a look in the manual what would be the right connection for the CAN communication. Usually its via a RJ45 plug (network cable) where some pins act as CAN H (high) and CAN L (low). These pins need to be connected to your CAN to USB module. Try and unplug your module then plug it in again and run dmesg
to check which port it is running on. Then you should be able to find your module running on port ttyS0 or similar.
Please tell me also the brand and model of your CAN to USB module. I use the Waveshare 2CH-CAN-FD expansion hat since I read the BMS on one channel and write to the inverter on the other channel so that there is no collision.
BTW: You mention reading inverter data? ATM this application is reading data from a BMS and sending it to an inverter. This way you have no restriction on what battery brands you can use with the inverter. Many inverter manufacturers only allow batteries from certain battery manufacturers and certain models. Maybe you can give me a short description of your actual use case?
from bms-to-inverter.
Hello,
Thank you very much for your support !
My inverter is - Growatt SPF 5000 XS.
Yes I have bms port and rs-485 port. I also have usb port where currently i have Wifi dongle which is connected to growatt website and is reporting inverter data. Also i can edit inverter settings from that web page. I can edit from inverter buttons too. I have tried and removed the dongle. At that place i have connected via usb cable directly to my PI device. I am able to read data using growatt-x000ES programe downloaded from github. So i think i have 3 different types of connections i can use. I have ordered CAN and RS-485 adapters (usb or ttl) so i can use that too.
My perfect goal is to read battery data from Daly BMS and send it to the inverter. So inverter knows how much battery ...
Currently i have the following can/rs-485 adapters:
- https://www.aliexpress.com/item/1005005373061818.html
- https://www.aliexpress.com/item/1005005461959890.html
- https://www.aliexpress.com/item/1005003395927937.html
- https://www.aliexpress.com/item/1005005526945498.html
- https://www.aliexpress.com/item/1005005632050165.html
- https://www.aliexpress.com/item/1005001621746811.html
I ordered many so i can test all :)
I can order yours but we will wait some days to arrive.
from bms-to-inverter.
Hi Todor,
thanks for the quick reply. Is https://www.aliexpress.com/item/1005005461959890.html a CAN or RS485 TTL module?
I also bought lots of modules but some didn't work as expected and the best suitable I think is the Waveshare 2-Channel CAN FD HAT module because it has 2 isolated CAN channels. It is a little more expensive but does the job perfectly.
I hope I have time tomorrow, then I will check the inverter specifications?
from bms-to-inverter.
Hello, this link is CAN TTL i have ordered that. I have all the devices above.
from bms-to-inverter.
Hi Todor,
I've checked the manual of your inverter and on page 6 they give you all the info how to connect the RJ45 to the inverter on pins 4 (CANH) & 5 (CANL).
On your Daly BMS its exactly the other way around pin 4 (CANL) & 5 (CANH).
I've had a look at the CAN to TTL module but I think that it will only be usable to read CAN frames. But for a bi-directional communication I fear its to slow, since I think it will only be working at 9600 baud standard serial port speed. But I couldn't find any information on that.
from bms-to-inverter.
I am going to try anyway. Do you think that https://www.aliexpress.com/item/1005005373061818.html is better ? If none of the both adapters are working i am going to order one like yours.
from bms-to-inverter.
I would really go for the Waveshare 2CH-CAN-FD expansion hat if you have the possibility to use BMS CAN to inverter CAN communication. That will be the most reliable.
from bms-to-inverter.
Hi, Finally i got Waveshare 2CH-CAN-FD. Going to install it today and prepare for the tests.
How is your Daly BMS connected to PI ? Mine is via ttl-to-usb adapter and the usb adapter is in PI device. Also in which mode did you setup your CAN ? Mode A or mode B (with resistor jumper) ?
Next part is installing your software :)
from bms-to-inverter.
Mode A with resistor jumper ON
from bms-to-inverter.
Closed. All issues are resolved I guess.
from bms-to-inverter.
Related Issues (19)
- Growatt Inverter support via RS 485 / CAN HOT 52
- Webserver module HOT 23
- Growatt Hybrid high voltage / Pylontech BMS high voltage (powercube x1) / CAN HOT 103
- Not working normally HOT 9
- Latest code not working HOT 5
- Batteries with no content shown in the overview and webserver HOT 8
- JK BMS RS485 support HOT 2
- Building on PI4 HOT 4
- Outback Power Skybox Inverter BMS Canbus HOT 25
- Daly Growatt implementation imminent HOT 21
- waveshare CAN expansion hat compatibility HOT 1
- JK BMS RS485 doesn't work HOT 10
- BMS tab is empty HOT 18
- Raspberry Pi 5 compatibility HOT 2
- Daly BMS - ttl HOT 7
- First time running with Daly TTL HOT 25
- Running on Windows HOT 7
- configuration issues HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bms-to-inverter.