Page 5 of 5

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 18 November 2020 6:55
by spm97
Looking at Javalin's picture I think I found my opps and plan to re-do it tonight...Thank you Javalin !
Just curious - in your final pic it looks like you have another analog line coming into the same ardunio. What is that from ?

bbqkees : How much do you want for one of the PCBs ?

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 18 November 2020 7:57
by spm97
bbqkees : Looking at your original breadboard pic, I can't clearly see the colors. What size is the resistor between pins two and five ? I thought it should be 22k, which should be red-red-orange.

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 18 November 2020 9:42
by spm97
Ok - rebuilt mine using Javalin's pic as reference. I had a real stupid mistake on mine which is why it didn't work (Output to analog on pin 1 of the LM339N, not pin 2!)

It's now working...mostly. I'll need to wait for the sun to be out to make sure its getting motor speed, etc. Plus it didn't get the time right. But it did get the temperature of the tank and the panels, so I know the board is talking to the resol controller. Now (I think) it's just a software problem, likely due to the way the fields are mapped.

There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?

Thank you bbqkees and javalin for your help !!!

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 18 November 2020 9:51
by bbqkees
spm97 wrote: Wednesday 18 November 2020 9:42 There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?
@SPM97 the 100nF you mean? That's a small smoothing cap recommended by the datasheet of the LM393.

I worked a bit on a prototype for a Wi-Fi Gateway for the VBUS but put it aside to do other stuff. Stil have to look into it again.
Image

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 18 November 2020 16:00
by javalin
bbqkees wrote: Wednesday 18 November 2020 9:51
spm97 wrote: Wednesday 18 November 2020 9:42 There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?
@SPM97 the 100nF you mean? That's a small smoothing cap recommended by the datasheet of the LM393.

I worked a bit on a prototype for a Wi-Fi Gateway for the VBUS but put it aside to do other stuff. Stil have to look into it again.
Image
Looks very nice!! :D
Go ahead with it! :arrow:

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 18 November 2020 16:08
by javalin
spm97 wrote: Wednesday 18 November 2020 9:42 Ok - rebuilt mine using Javalin's pic as reference. I had a real stupid mistake on mine which is why it didn't work (Output to analog on pin 1 of the LM339N, not pin 2!)

It's now working...mostly. I'll need to wait for the sun to be out to make sure its getting motor speed, etc. Plus it didn't get the time right. But it did get the temperature of the tank and the panels, so I know the board is talking to the resol controller. Now (I think) it's just a software problem, likely due to the way the fields are mapped.

There is a big difference between bbqkees and javalins version : The cap from +5V to ground. Mine seems to work without the cap....Should I add it ?

Thank you bbqkees and javalin for your help !!!
I'm happy that you've gotten it. I don't use a capacitor and it has been working fine for a year. I use my own custom version of the bbqkees script that send the data via Wi-Fi. The first thing you have to do is configure the parameters of the arduino script to be able to visualize the temperatures, number of hours of operation relay, time, heatquantity (kwh), etc. What is the model of your controller? I sent an attachment to look my floorplan in domoticz.

PS: The two wires that you see in the last photo are for the PZEM energy meter that I have placed to measure the consumption of the pump and booster heater tank.

Re: Support for the Resol VBUS protocol?

Posted: Tuesday 24 November 2020 10:00
by spm97
Ok - so mine is running and logging ! It's a deltasol BS, ID's as a 427B, so I had to update the code for all the correct offsets for pump hours and system time.

I'll post some pics next time I have it apart.

Re: Support for the Resol VBUS protocol?

Posted: Friday 24 December 2021 7:15
by spm97
I finally had a chance to pull mine apart and get some pics. It's not the prettiest, but it works :-)

It's an Arduino Uno, a custom shield I made from a prototyping shield, and then a fairly stock display.
image004.jpg
image004.jpg (156.75 KiB) Viewed 1543 times
The modification to the display is it was using pins 8 and 9 for en and rs. That conflicts with the softserial used by the vbus lib, so I hacked it to use pins 2 and 3.
hacked_display.jpg
hacked_display.jpg (34.73 KiB) Viewed 1543 times
Here is the custom board, zoomed in. The blue light should come on when the pump is running (it doesnt because the connection broke lose; I still need to fix that). You'll notice the RTC. It isnt used, as it also conflicts with softserial.
main_board.jpg
main_board.jpg (98 KiB) Viewed 1543 times


Let me know if you have any comments or feedback.

Re: Support for the Resol VBUS protocol?

Posted: Friday 24 December 2021 7:16
by spm97
And here it is working !
image005.jpg
image005.jpg (59.85 KiB) Viewed 1543 times

Re: Support for the Resol VBUS protocol?

Posted: Friday 24 December 2021 8:47
by bbqkees
Nice. My board stopped working early this year, still have to look at it again.
I made a PCB design 2 years ago but that is also in a drawer somewhere.

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 30 March 2022 10:31
by TheWalrus
I am also wanting to build this scheme for my Solar Pump.

But i cant't get my hands on an LM339N. Anyone knows where to order this component ?

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 30 March 2022 11:59
by waltervl
TheWalrus wrote: Wednesday 30 March 2022 10:31 I am also wanting to build this scheme for my Solar Pump.

But i cant't get my hands on an LM339N. Anyone knows where to order this component ?
https://www.electrabreda.nl/lm-serie/10 ... w-pwr.html
https://www.knutselaar.eu/Store/5-x-lm339n.html

Re: Support for the Resol VBUS protocol?

Posted: Wednesday 30 March 2022 12:14
by TheWalrus
Thank you Walter. I just ordered one at the Breda shop.

Re: Support for the Resol VBUS protocol?

Posted: Thursday 31 March 2022 17:05
by TheWalrus
I have all the components. But then i discovered i need some protcocol codes.

I have Deltasol SL. Anyone knows the VBusprotocol specification for the Deltasol SL ?

Update:

It works. i can read the Boiler temp and the collector temp. So i only using the default code. Thats good enough for me.

Thanks everone for this forum thread.

Re: Support for the Resol VBUS protocol?

Posted: Sunday 01 May 2022 2:40
by Ghanoudj
Hello,

Is it possible to have arduino code to implement this setup ?

Thanks for the work