EcoRenovator  

Go Back   EcoRenovator > Improvements > Geothermal & Heat Pumps
Advanced Search
 


Blog 60+ Home Energy Saving Tips Recent Posts


Reply
 
Thread Tools Display Modes
Old 07-05-14, 11:56 AM   #41
buffalobillpatrick
Master EcoRenovator
 
Join Date: Mar 2014
Location: Florissant, Colorado
Posts: 599
Thanks: 814
Thanked 59 Times in 55 Posts
Default

Arduino Playground - ArduinoPinCurrentLimitations

Arduino Uno, ATMEGA 328
NOTE: Although each I/O port can source more than the test conditions (20 mA at VCC = 5V, 10 mA at VCC = 3V) under steady state conditions (non-transient), the following must be observed.

The sum of all IOH, for ports C0 - C5, D0- D4, ADC7, RESET should not exceed 150 mA.
The sum of all IOH, for ports B0 - B5, D5 - D7, ADC6, XTAL1, XTAL2 should not exceed 150 mA.
If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition.

Pin SINK Current Limitations:

NOTE: Although each I/O port can sink more than the test conditions (20 mA at VCC = 5V, 10 mA at VCC = 3V) under steady state conditions (non-transient), the following must be observed:

The sum of all IOL, for ports C0 - C5, ADC7, ADC6 should not exceed 100 mA.
The sum of all IOL, for ports B0 - B5, D5 - D7, XTAL1, XTAL2 should not exceed 100 mA.
The sum of all IOL, for ports D0 - D4, RESET should not exceed 100 mA.
If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.

What this says:
40ma maximum per pin
Pins (D0->D4 + A0->A5) can source 150ma total or sink 100ma total
Pins D5->D13 can source 150ma total or sink 100ma total


Last edited by buffalobillpatrick; 07-05-14 at 12:04 PM..
buffalobillpatrick is offline   Reply With Quote
Old 07-05-14, 12:01 PM   #42
jeff5may
Supreme EcoRenovator
 
Join Date: Jan 2010
Location: elizabethtown, ky, USA
Posts: 2,428
Thanks: 431
Thanked 619 Times in 517 Posts
Send a message via Yahoo to jeff5may
Default

Quote:
Originally Posted by buffalobillpatrick View Post
jeff5may: "power is restored without losing its wits and memory"

Thats how they work without a battery.
The main goal in defining these conventions is so the unit can sense a power loss event on the mains. I don't know about you, but I want my unit to have a battery back up. When mother nature comes calling, the unit should not just reset.

By the way, what is IOL, VOL, VOH, IOH in the above statement? Just for clarity.

Last edited by jeff5may; 07-05-14 at 02:53 PM.. Reason: question
jeff5may is offline   Reply With Quote
Old 07-05-14, 12:23 PM   #43
buffalobillpatrick
Master EcoRenovator
 
Join Date: Mar 2014
Location: Florissant, Colorado
Posts: 599
Thanks: 814
Thanked 59 Times in 55 Posts
Default

SainSmart 4 Channel 5V Solid State Relay Module Omron SSR AVR DSP Arduino | eBay

http://www.sainsonic.com/zen/albums/...0/05577d01.pdf

These have input resistor. At 5vdc input led current = 11.4ma +- 20%
buffalobillpatrick is offline   Reply With Quote
Old 07-05-14, 12:30 PM   #44
buffalobillpatrick
Master EcoRenovator
 
Join Date: Mar 2014
Location: Florissant, Colorado
Posts: 599
Thanks: 814
Thanked 59 Times in 55 Posts
Default

jeff5may:

"The main goal in defining these conventions is so the unit can sense a power loss event on the mains. I don't know about you, but I want my unit to have a battery back up. When mother nature comes calling, the unit should not just reset."

Please explain why?

I think that after any power cycle or reset, the heat pump controller should behave exactly the same, as in: delay the compressor & water pumps 8-10 minutes.

In fact I wouldn't power up the controller (Arduino Uno) until a load (thermostat, aquastat, etc.) calls for heat or Air Conditioning.

Last edited by buffalobillpatrick; 07-05-14 at 02:28 PM..
buffalobillpatrick is offline   Reply With Quote
Old 07-05-14, 02:07 PM   #45
Ormston
Apprentice EcoRenovator
 
Join Date: Mar 2013
Location: UK
Posts: 131
Thanks: 13
Thanked 35 Times in 32 Posts
Default

Quote:
Originally Posted by buffalobillpatrick View Post
2A seems a little low to be useful, i know you could use this to drive a contactor but then you're very close to the lower limit of 0.1A (contactor would need at least a 23W coil at 230v).

These work very well, using one of the 8 relay boards myself although you need a separate 5v power supply to the board as each relay (after the opto isolator) requires 90ma.
They work backwards if anyone has trouble with them, drive the Arduino pin low to energise the relay.

New 4 Channel 5V Relay Opto Couple for Arm AVR DSP Arduino Uno R3 Raspberry Pi | eBay
Ormston is offline   Reply With Quote
The Following User Says Thank You to Ormston For This Useful Post:
buffalobillpatrick (07-05-14)
Old 07-05-14, 02:16 PM   #46
buffalobillpatrick
Master EcoRenovator
 
Join Date: Mar 2014
Location: Florissant, Colorado
Posts: 599
Thanks: 814
Thanked 59 Times in 55 Posts
Default

ormston: your relays are obviously different than what I posted, we want minimum LED input current (standard relay term = coil current).

I wouldn't use an arcing contactor around flamible refrigerant, such as Propane, etc.

I would use 30 or 40 Amp SSR , low LED input current, well within the relays load current that I posted.

http://www.ebay.com/itm/CRYDOM-A2450...item338b2847dd

http://www.crydom.com/en/products/catalog/s_1.pdf

AC control input 5-10ma is all, AC output up to 50A
With this I wouldn't even use the small relays.

I would use: Crydom D2450 or D2475 directly from arduino digital pin

Last edited by buffalobillpatrick; 07-05-14 at 03:29 PM..
buffalobillpatrick is offline   Reply With Quote
Old 07-05-14, 02:46 PM   #47
jeff5may
Supreme EcoRenovator
 
Join Date: Jan 2010
Location: elizabethtown, ky, USA
Posts: 2,428
Thanks: 431
Thanked 619 Times in 517 Posts
Send a message via Yahoo to jeff5may
Default

Quote:
Originally Posted by buffalobillpatrick View Post
jeff5may:

"The main goal in defining these conventions is so the unit can sense a power loss event on the mains. I don't know about you, but I want my unit to have a battery back up. When mother nature comes calling, the unit should not just reset."

Please explain why?
OK, lets say you live in a rural area, served by a single, long power line, and that this heat pump draws power from that line. Every time a squirrel gets fried on the line, the power drops out for 2 seconds. Every time there is severe weather, power drops out for a few minutes. Every time the power utility works on the line, or some drunk hits a pole, or a tree drops a branch....you get the picture.

Without some sort of power sensing, the heat pump will act like any ordinary digital air conditioner or space heater, and stay shut off when power is restored. If you program the unit to automatically turn on after such an event, it will go back to its baseline temperature setting and mode, which may or may not be how the thing was set before the power went out. It would suck for the unit to be heating during summertime when you come home from work one day.

A standard digital thermostat does the same thing if the backup battery dies. When power comes back up after being lost, it boots up as if it were brand new out of the box. Any programming or configuration is lost. Some of the more advanced models have a "batten down the hatches" routine that stores the programmed parameters in non-volatile memory to avoid having to reprogram everything in case the backup battery dies while mains power is lost.

Quote:
Originally Posted by buffalobillpatrick View Post
I think that after any power cycle or reset, the heat pump controller should behave exactly the same, as in: delay the compressor & water pumps 8-10 minutes.

In fact I wouldn't power up the controller (Arduino Uno) until a load (thermostat, aquastat, etc.) calls for heat or Air Conditioning.
This does not qualify for standalone operation. In your application, the controller depends on another device in order to operate.

Last edited by jeff5may; 07-05-14 at 02:58 PM..
jeff5may is offline   Reply With Quote
The Following User Says Thank You to jeff5may For This Useful Post:
buffalobillpatrick (07-05-14)
Old 07-05-14, 03:07 PM   #48
Ormston
Apprentice EcoRenovator
 
Join Date: Mar 2013
Location: UK
Posts: 131
Thanks: 13
Thanked 35 Times in 32 Posts
Default

Quote:
Originally Posted by buffalobillpatrick View Post
ormston: your relays are obviously different than what I posted, we want minimum LED input current (standard relay term = coil current).

I wouldn't use an arcing contactor around flamible refrigerant, such as Propane, etc.

I would use 30 or 40 Amp SSR , low LED input current, well within the relays load current that I posted.

Crydom A2450E Solid State Relay Input Vac Output Vac | eBay

http://www.crydom.com/en/products/catalog/s_1.pdf

AC input 5-10ma is all, AC output 50A
The point i was making is that the 4 ch SSR board you posted earlier has SSR's that can switch between 0.1 and 2A as in 0.1A minimum!

Also please be careful with SSR's , in industrial applications you would use a contactor as an isolation device then an SSR in series to provide the switching.
When you disconnect the load from an SSR the output can become live even though you are not triggering it, the ones around now may have improved as this in going back 6-8 years.
Ormston is offline   Reply With Quote
The Following User Says Thank You to Ormston For This Useful Post:
buffalobillpatrick (07-05-14)
Old 07-05-14, 03:34 PM   #49
buffalobillpatrick
Master EcoRenovator
 
Join Date: Mar 2014
Location: Florissant, Colorado
Posts: 599
Thanks: 814
Thanked 59 Times in 55 Posts
Default

jeff5may: "This does not qualify for standalone operation. In your application, the controller depends on another device in order to operate."

Sooo, these heat pumps or a/c units operate on their own, without a load control device such as a thermostat or aquastat causing them to operate, seems strange to me.

I hope I never catch my boiler running without a "call for heat"

Last edited by buffalobillpatrick; 07-05-14 at 03:46 PM..
buffalobillpatrick is offline   Reply With Quote
Old 07-05-14, 03:55 PM   #50
jeff5may
Supreme EcoRenovator
 
Join Date: Jan 2010
Location: elizabethtown, ky, USA
Posts: 2,428
Thanks: 431
Thanked 619 Times in 517 Posts
Send a message via Yahoo to jeff5may
Default

Quote:
Originally Posted by Ormston View Post
The point i was making is that the 4 ch SSR board you posted earlier has SSR's that can switch between 0.1 and 2A as in 0.1A minimum!

Also please be careful with SSR's , in industrial applications you would use a contactor as an isolation device then an SSR in series to provide the switching.
When you disconnect the load from an SSR the output can become live even though you are not triggering it, the ones around now may have improved as this in going back 6-8 years.
This is one reason I have been leaning toward using relays to control high current devices and contactors to do massive load switching. SSR's are cool and all, with their quickfast switching and no moving parts, but like their cousins (IGBT's), they tend to act unpredictably when things go awry. When the dookie hits the fan, they tend to run away and fail shorted. They seldom just quit working like relays do.

Another thing I dislike about SSR's is they are SPST. This means that to get two or three things to work together, they must be individually controlled in logic by their own SSR. As with a 4PDT defrost control relay, one can wire a number of devices to work with or against each other (or not at all) depending on what mode of operation the unit is in. That 5 dollar ice cube relay really kills a headache in a hurry.


Last edited by jeff5may; 07-05-14 at 03:57 PM..
jeff5may is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Ad Management by RedTyger
Inactive Reminders By Icora Web Design