Jump to content

DIY Arduino based solar PV dump controller


ProDave

Recommended Posts

2 minutes ago, dpmiller said:

That looks like just some current transformers but 3 of them for a 3 phase system, to do much the same as my simple device. No mention of the electricity meter chip.  And no mention of code to support it.

 

I think using the electricity meter chip is crucial to a simple repeatable design.

Link to comment
Share on other sites

12 hours ago, ProDave said:

Building it and putting it into production comes with all the overheads of certifying it for the EMC directive etc and CE marking it.

Not something I would want to do either. But if we ended up with something that would pass then it remains an option. I have done such things at work for very low volume stuff. There's no wonder defence equipment is so expensive...

 

Definitely an "open" project. But we aren't calling it an "open dump controller"! The idea would be to get a good flexible circuit board made with plenty of the right sort of I/O so that it needs a little work for the particular installation, but the tricky soldering is done so you were pretty sure of getting something that worked. I worked on an open source engine management system a few years ago and this scheme worked out pretty well.

 

12 hours ago, ProDave said:

 

I think using the electricity meter chip is crucial to a simple repeatable design.

Totally agree here. 

 

I'll have a think about a cardinal point specification when I get a few spare minutes. I'm thoroughly worn out tonight after an afternoon of tree surgery. PPE is unpleasantly hot in this weather. But more pleasant than the alternative of course.

Link to comment
Share on other sites

Don't most modern electric meters have two LEDs on then, one for imports and one for exports.

If that is the case, then can't you just sense the pulses and divert accordingly.

Easy to count pulses with just about anything.

Edited by SteamyTea
Link to comment
Share on other sites

I thought of doing this, but the need for compliance testing (as @ProDave has mentioned above) and the consequent potential liability from selling stuff to build one put me off.  I did publish my original design and code over on the Picaxe forum years ago, but even then added a caution, because of the risk of somebody getting things wrong.  The version I'm using now is basically the same, in terms of the measurement system and energy bucket principle, but uses a 868 MHz link between the measurement and sensing unit and the 20 A SSR unit that switches power to the Sunamp.

Link to comment
Share on other sites

  • 2 months later...

I am thinking of an addition to this.

 

There are plenty of occasions when the excess PV exceeds what the immersion heater can soak up, so some power gets exported.

 

I am considering dumping some of this "unusable" power to a small electric heater.  In the summer that won't be needed, but now, in the shoulder seasons, a little extra free heat in the house would be useful and even now there is still sometimes some surplus around mid day.,

 

So I am thinking of making a "wireless controlled electric convector heater"

 

We have 3 cheap Glen convection heaters, bought when we were occupying the static caravan.  It seems all I need is a simple wireless on/off transmitter built into the solar pv dump controller, and a wireless receiver built into one of the electric heaters.  Then if the immersion dump power gets to 100% (or any threshold I choose) it could turn on the electric heater to dump more power.

 

And being wireless the heater could be plugged in, in any room where a little heat might be useful.

 

Any ideas therefore for a cheap wireless transmitter and receiver, preferably a receiver that has a volt free relay contact as it's output to switch a small heater?

Link to comment
Share on other sites

The HC-11 modules provide a 433 MHz, encoded, control link.  The documentation on them is crap, and most of the time people use them as half duplex serial links, but there is an option to just have the receive end turn something on or off on receipt of a command (I've not tried it though).  There's a not very good data sheet on them here: https://www.elecrow.com/download/HC-11.pdf

 

They are pretty cheap from ebay: https://www.ebay.co.uk/itm/1pcs-HC-11-433MHz-CC1101-RF-wireless-Transceiver-RS232-TTL-the-official-agency/191864666716?hash=item2cac067a5c:g:QWUAAOSwKfVXKx9y

 

The "con" terminal can be used to both send and receive a simple switch command, but first the modules needs to be programmed by connecting it to a serial terminal and setting the channel, baud rate and code.  Once set the modules store the programming in non-volatile memory.  It should be possible to drive a transistor and relay from the output, or it should also be able to directly drive an SSR, which might be simpler.

 

I have a bunch of HC-11s here, so if I get some spare time I might play around with the simple switch control setup, as I've only used them for transmitting serial data.

Link to comment
Share on other sites

5 minutes ago, Onoff said:

I have hit the buttons on ebay and sported a little under £3 on the transmitter and receiver in my link above. I wanted to avoid just hacking a battery powered keyfob transmitter.

 

My assumption is I set a code using the 4 jumpers on the transmitter, and then press the button on the receiver and it will "learn" that code.  If it is that simple it will do all I want.

 

At the Arduino end, I have power and I just have to turn the transmitter on and off as required.

 

At the receiver end, I just have to mount that inside one of the heaters and use it's relay contact to switch a heating element using the 10A relay on the board.  I also have to  provide a simple 12V power for it.

 

As the heater is in a metal box, I might have to extend the receiving antenna outside the metal box.

 

As usual I now have the 2-3 week wait for these to arrive from the far East.

Link to comment
Share on other sites

59 minutes ago, ProDave said:

That is probably over complicated

They are cheap, under 3 quid.

And it does give you the opportunity to do other things as well.

 

Complication is a complex thing. My car is complicated, as are the roads, and the associated rules to use them.

But they get me to the seaside and back, and I can't even now, 15 minutes after the journeys end, remember anything about it.

Link to comment
Share on other sites

21 minutes ago, ProDave said:

 

At the Arduino end, I have power and I just have to turn the transmitter on and off as required.

 

How is the transmitter turned on exactly? Just out of interest. As in how is the TX module switched on?

 

(My adventures in RF stopped at making 2 transistor bugs and and the odd SW receiver etc).

Link to comment
Share on other sites

36 minutes ago, Onoff said:

 

How is the transmitter turned on exactly? Just out of interest. As in how is the TX module switched on?

 

(My adventures in RF stopped at making 2 transistor bugs and and the odd SW receiver etc).

Judging by the fact the board only has 2 connections, you apply power and it transmits (turns heater on)  Remove power and it stops (heater turns off)

 

It transmits a code so it only turns on the thing you want to turn on, and not open next doors garage door.

 

If that is correct then that is the level of complexity that I like.

 

A concern is whether it would block the car remote controls from working when the transmitter is on.  I will have to try that and see. I would hope as the car keyfobs are used right next to the car that they would swamp any signal from the heater controller.  But I do have history with such a thing happening before.

Link to comment
Share on other sites

I had major problems with interference on the 433 MHz band when I originally fitted the HomeEasy/Byron wireless light switches.  They used simple ASK receivers/transmitters that were extremely prone to interference.  Any transmission near 433 MHz would just block the receiver and stop them working.

 

The problem was fixed by changing to the Quinetic wireless switches, which use FSK on the same 433 MHz band.  These are immune from interference it seems, and just work very reliably.  The same goes for the 433 MHz data transmissions from both the treatment plant monitor and my energy metering system.  These use FSK, with the small HC-11 modules, and are also completely immune from blocking, it seems.

 

In our case the interference seems to come from a wireless weather station that a neighbour has.  This seems to transmit data pretty continuously, using ASK, and tends to swamp any nearby ASK receiver operating in that band.

Link to comment
Share on other sites

I will let you know if interference is a problem.  I am not so concerned about interference to this heater switch, rather interference from it to more important stuff.

 

Listening on 433,920 there is nothing transmitting continuously here. Just the car key fobs used regularly. 

Link to comment
Share on other sites

Dave, if you want to stick with Arduino, then the simplest method is to get yourself a Zigbee shield.  There are a few marketed and YouTube videos on how to build ZigBee controlling projects.  This way you can use standard Zigbee-controlled plugs.  Less learning curve for you than using ESPs.

  • Like 1
Link to comment
Share on other sites

2 hours ago, ProDave said:

My car one seems to transmit as long as you hold the button.

 

Looking a bit further: http://www.ti.com/lit/an/swra048/swra048.pdf Table 9.

 

It seems that in Europe in this band you're limited to lower power, narrow bandwidth OR shorter duty cycle. I'd obviously only come across one of those options before. I.e., if you want to use the higher of allowed powers and greater than 25 kHz bandwidth then you're limited to a maximum of 10% duty cycle.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...