Welcome to the Solar Collector
Brainstorming and Development Page!


 

Home

Hot Air Collector

Hot Water Project 1

Hot Water & Space Heating

Solar Electric

Solar Construction 101

FAQs

Best Collectors

Simply Solar
Register Calendar Latest Topics
 
 
 


Reply
  Author   Comment   Page 3 of 4      Prev   1   2   3   4   Next
Rick H Parker

Avatar / Picture

Registered:
Posts: 715
Reply with quote  #21 

The Lux meter is an artist's tool. A Pyranometer is a scientific tool.

The Lux is analogous to radiometric unit watt per square metre but, the Lux is based on human perception not Physics. 

Good luck in converting between Human perception and Physics.

__________________
Rick H Parker
Kansas, USA
Electronics Engineering Technologist

stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #22 
Back to the speed control: my Arduino nanos (about $5) came in yesterday so I spent most of today putting one together to drive a 15 amp dc speed control. The biggest job of course was writing the software.

Anyway, IT WORKS!
I get full temperature regulated speed control from dead stop to wide-ass open. The fan pulls something over 3 amps at full speed and so far no problem. I have a slightly bigger fan in the junk box I'll try. I get a bit of pulsing at low speeds that I don't know the cause of but I think I'll get to the bottom of it.

Anyway a couple of questions... what temperature do you like your air collectors to run at, and do you like a wide or narrow speed band? Currently it's set up to start the fan at 80F and ramps up to full speed at 90F. I'll try and put a routine in that will allow use of a trim knob for temperature control, and an output for a display.

Other suggestions welcome.

Once I get that I'll post all the details here...


__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #23 
Rick,
This low-speed pulsing seems to be a conflict between the PWM output from the Arduino and the speed control, which is "expecting" an analog input.

The only connections are the ground and the variable voltage to the control's input. Do you think a capacitor across those two leads would help?

Aside from that it appears to be working fine.

__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #24 
The capacitor did the trick! A 100uf was just right, though different setups might require a different value.

I'm guessing the whole thing came in around $20.

Now to put together a schematic...

__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #25 
Here's the diagram on the Arduino version:

  Spd Ctrl2.jpg Parts:
https://www.ebay.com/itm/DS18B20-Stainless-Steel-Waterproof-Digital-Thermal-Probe-Sensor-100cm-Arduino/121952945591?
https://www.ebay.com/itm/6-90V-15A-DC-Motor-Speed-Controller-Pulse-Width-PWM-Speed-Regulator-Switch/253056259652?
https://www.ebay.com/itm/MINI-USB-Nano-V3-0-ATmega328P-CH340G-5V-16M-Micro-controller-board-Arduino/222543127037?
https://www.ebay.com/itm/Screw-Terminal-Expansion-Adapter-Board-Shield-4-Arduino-Nano-V3-0-AVR-ATMEGA328P/322349808192?

Code:

// HEAT RESPONSIVE MOTOR SPEED CONTROL
// Arduino-based temperature sensitive motor control
// for one digital SD80b18 temperature sensor and a motor control module
// Bill Young 2/10/18
//-------------------
//Include library codes
#include <OneWire.h>
#include <DallasTemperature.h>
// Data wire for sensors is plugged into pin 8 on the Arduino
// 4.7k pullup resistor required on sense lead.
// Output for fan is pin 9
#define ONE_WIRE_BUS 2
// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);
// Pass oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

// NOTE USER INPUTS HERE
const int rFan = 9; // Fan control on pin #9
int scale=1; // 0 for Celsius, 1 for Fahrenheit.
int setTemp = 80; // set control temperature
float tempDiff = 0;
float tempRange = 10; // set operating temp range
int fanSpeed = 0;
int fan=0;

// SENSOR VALUES
float sensorVal1;
float collectorTemp;

void setup()
{
Serial.begin(9600); // open serial port for monitor
sensors.begin(); // Initialize sensors
}

void loop()
{
getSensors();
MotorControl();
printtoMonitor();
}

// End of program, Subroutines follow.

void getSensors() // gets temperature from sensors
{
sensors.requestTemperatures(); // Send the command to get temperatures
if (scale=1)
{
// Fahrenheit
sensorVal1=sensors.getTempFByIndex(0); // Why "byIndex"? You can have more than one IC on the same bus. 0 refers to the first IC on the wire
}
else
{
// Celsius
sensorVal1=sensors.getTempCByIndex(0); // Why "byIndex"? You can have more than one IC on the same bus. 0 refers to the first IC on the wire
}
collectorTemp=sensorVal1;
} //end sub

void MotorControl()
{
// motor control
tempDiff=(collectorTemp-setTemp);
fanSpeed = (255/tempRange*tempDiff);
fanSpeed = constrain(fanSpeed,25,255);
if (tempDiff<0) fanSpeed = 0;
analogWrite(rFan,fanSpeed);
} // end sub

void printtoMonitor()
{
Serial.println(); // new line
Serial.print(" Temp: ");
Serial.print(collectorTemp); Serial.print (" ");
//Serial.print(tempDiff); Serial.print (" ");
//Serial.print(fanSpeed);
fan =(fanSpeed / 2.55);// convert fan control speed to %
Serial.print(" fan ");
Serial.print(fan);Serial.print("%");
} // end sub

//- END OF FILE


As soon as I can figure out where to put the code I'll move it and post a link.


__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #26 
Well not so easy but still cheap enough.  With a little more programming I now have it so it will not only control the fan, but actuate a servo to open or close a vent.  Now for the display...
__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
gbwillson

Avatar / Picture

Registered:
Posts: 2,176
Reply with quote  #27 
Willie-

Thanks for working on this. I would love to have a simple and cheap way to control my fan power and speed. Will you also be able to log data? 

Greg in MN
stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #28 
I'm sure it can be done, but that's a whole 'nother ball game. I'll leave that part to someone else.

It uses I2C to send data to the display, you could use that output for whatever you like. Or use the USB connection. But for logging you'd also need mass and velocity, and irradiation. Temperature alone doesn't tell you much, especially when you're varying the fan speed.

__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
gbwillson

Avatar / Picture

Registered:
Posts: 2,176
Reply with quote  #29 
Probably right-

You would need the input and exhaust temps and CFM at the various fan speeds. So the speed and temps would have to settle before a reading could be taken. But, if the fan speed updated only every minute or two as opposed to continuously, it might be possible.

Greg in MN
stmbtwle

Avatar / Picture

Registered:
Posts: 2,622
Reply with quote  #30 
Oh it's possible all right. One could install an anemometer or pitot in the duct for velocity, and with the duct diameter calculate the CFM. That with the temperature gain would get the BTU/hr or watts. A pyranometer would get you the incoming energy and you can calculate the efficiency. But all that takes equipment and time to calibrate and adjust the calculations. And we haven't even STARTED with the data logging.

As this is a DIY site and no two collectors are identical, a "plug & play" approach would be difficult. So I'm taking the easy way out and letting Y'all D I Y. This particular unit is for my own use, I'm simply sharing, though I do think I'll put provision in the software for a second temperature sensor.

The latest version will control fan speed according to temperature, and will actuate a servo to open a vent. Setpoints are adjustable via software and a trim pot for the fan speed. Display will show output temp, set temp, fan percent, and vent status.

I'm open to suggestions. Feel free to make adjustments, corrections, or improvements, but please post what you do.

__________________
Solar is like the wind. It may be free, but putting it to work isn't!
Willie, Tampa Bay
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

 

web statistics