justinschoeman / SmarterLoad

Smart load control for Sunsynk/Deye inverter
MIT License
6 stars 3 forks source link

Hardware Used and Connection Guide #2

Open cybertza opened 3 years ago

cybertza commented 3 years ago

Hi Justin,

Thank you for your work on this.

Do you have a short guide on how you connected everything, and what hardware you used for the system?

justinschoeman commented 3 years ago

I have added some basic hardware notes to the readme.md file. Just about any AVR based Arduino boards can be used, and the same for NRF24L01 boards and RS485 boards. Each can be connected as per the various howtos on the web (depending on specific types that you have). The trickiest part is hacking a timer to fit the board - but due to liability reasons, I will not discuss how to do that. If you are not comfortable dismantling and reverse engineering such a timer yourself, then you should not even attempt modifying one. Rather use a stand-alone PSU + relay.

cybertza commented 3 years ago

Thanks

I am rather interested in how you connecting to the inverter, and what hardware you are using for that, are you isolating and drawing power for the batteries, or external grid power supply, and so forth, but for the time i think im just going to barrel down the road of either the 485 to wireless powered isolated from the batteries, but it seems with some polling, it may be also good for me to head into the direction of loading a stronger MCU at the inverter, that i can do localized polling, and just push the stats.

Thanks for the feedback.

justinschoeman commented 3 years ago

For RS485, I used something like this, but rated for 3.3V - can't find the link now...: https://www.aliexpress.com/item/32669600197.html?spm=a2g0o.productlist.0.0.6ac0e1d3UlyoAW&algo_pvid=6ef4a77e-635b-4df5-8c92-9f6c86618327&algo_expid=6ef4a77e-635b-4df5-8c92-9f6c86618327-8&btsid=0b0a556816063079431017866eab66&ws_ab_test=searchweb00,searchweb201602,searchweb201603_

For later projects I used this on SoftwareSerial: https://www.aliexpress.com/item/32807187263.html?spm=a2g0o.productlist.0.0.6ac0e1d3UlyoAW&algo_pvid=6ef4a77e-635b-4df5-8c92-9f6c86618327&algo_expid=6ef4a77e-635b-4df5-8c92-9f6c86618327-6&btsid=0b0a556816063079431017866eab66&ws_ab_test=searchweb00,searchweb201602,searchweb201603_

For a PSU, I used this, running off the 48V battery (note feeds 5V pin on a 3.3v Arduino board - RS485 and NRF24L01 powered from 3.3V VCC pin of Arduino): https://www.mantech.co.za/ProductInfo.aspx?Item=14M7545

monemulng commented 3 years ago

Hey Justin, awesome work, can I ask how did you get the correct Holding Registers? (175, 10) I'm looking for material on this for ages and can't find anywere..

justinschoeman commented 3 years ago

I emailed Sunsynk, and they provided it.

On 2021-05-26 18:32, monemulng wrote:

Hey Justin, awesome work, can I ask how did you get the correct Holding Registers? (175, 10) I'm looking for material on this for ages and can't find anywere..

-- You are receiving this because you commented. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/justinschoeman/SmarterLoad/issues/2#issuecomment-848921595 [2] https://github.com/notifications/unsubscribe-auth/AI4UXIZCAKP4ZI7PTPXA3T3TPUPBFANCNFSM4UBCT5PA