Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 9
61  Using Arduino / Installation & Troubleshooting / Re: Arduino Driver - ATMega2560 - Windows 8 RTM on: September 17, 2012, 04:11:44 am
Thanks, but I am not getting a driver error - it says no driver found at all.

I have also enabled the Windows 8 Advanced Boot option about unsigned drivers.

But it is not finding a driver at all so it is not complaining about what it found!

Thanks

Chris
62  Using Arduino / Installation & Troubleshooting / Arduino Driver - ATMega2560 - Windows 8 RTM on: September 17, 2012, 03:55:03 am
Trying to get Arduino ATMega 2560 driver installed on Windows 8 RTM.

It shows as no driver installed.

If I point to Arduino\Drivers it says no driver found.

Any ideas?

Chris
63  Using Arduino / Project Guidance / Re: Aquarium Lighting - LED - 86cm deep on: August 29, 2012, 02:04:20 pm
Thanks for the links - really useful.

I came across some more videos on YouTube and this one (source included) looks interesting...



Main Features:
•5 separate LED Channels for White, Blues, Royal Blues, UV, and Red
•6th Channel for a Sump/Refugium LED Light
•7th Channel devoted to a Real Time Lunar Cycle
•Advanced LED testing features
•Water & Heatsink Temperature Sensors
•Control of a Heater and Chiller
•Audible & Visual Alarm Notices for Defined Temperature Variances
•LED Heatsink Temperature Sensor
•Dynamic Speed Control for Heatsink Fans (Display & Sump Lights)
•Wave Maker / Powerhead control
•Automatic Fish Feeder
•24HR & 12HR Time Formats AND Month DD, YYYY & DD/MM/YYYY Date Formats
•Settings & Preferences stored in EEPROM (Arduino Memory)

Although mine is fresh water - most of this could be really good for me to play around with.

Chris
64  Using Arduino / Project Guidance / Aquarium Lighting - LED - 86cm deep on: August 25, 2012, 09:49:48 pm
I am interested in updating my aquarium lighting - currently two florescent tubes that sometimes flicker when they start.

They are not great but OK.

I would be interested in changing this to LED - I need the LED to:

1) Make my fish Look Good
2) Grow Plants
3) Grow Plants better than my florescent tubes.

I have seen some projects but they are not related to growing plants.

Aquarium Model:
UFO 880
 
Dimensions Tank:
135W x 74H x 77D cm
 
Dimensions Cabinet:
135W x 76H x 86D cm
 
Capacity:
305 L
 
Lighting: 
2x30w PL + 1x20w Flourescent  (Note; NEW SPEC - not MINE)
 


The tank is quite deep 86cm so it is important for light to reach the bottom of the tank for plants to grow down there.

At this time just interested in ideas on LED - I know you can buy "grow lamps" for "indoor gardens" but I want to make this myself.

I know you can get 1W and 2W and 3W leds.

If you have some thoughts or web urls' I would appreciate it

chris
65  Using Arduino / Project Guidance / Re: Looking for ideas on 19" rack mount for Arduino on: August 15, 2012, 12:38:05 am
I am mainly looking at Monitoring Temperature, Humidity but would like to get into Water Leak Detection as well

Are you aware that you can get USB dongles off the shelf that just plug into a handy USB port to do that sort of thing? It seems a bit over the top to add a DIY microcontroller and take up a slot in the rack just for that.

I guess we should not do anything then since everything has already been created!
66  Using Arduino / Project Guidance / Re: Looking for ideas on 19" rack mount for Arduino on: August 14, 2012, 07:41:42 pm
You did say "Professional looking" and this would certainly fit the bill.
    http://www.protocase.com/products/index.php?e=Rackmount
Googling "rackmount project box" turns up additional results.

If you want to do it yourself then you want a "sheet metal nibbler". A manual nibbler will run ~$10 or pneumatic ~$40. Beyond that you would need to move to a milling machine or plasma cutter process. If your total case is light enough you might be able to replace the metal front with an plastic front (ABS or acrylic, etc.) which Pololu.com could cut for you.

Out of curiosity, what are you monitoring? Temperatures or power strips?

Thanks for that - I was thinking when I posted that if I would just get told to go google. But this is quite cool and even has it's own 3d Editor for designing the boxes.

I am mainly looking at Monitoring Temperature, Humidity but would like to get into Water Leak Detection as well

Chris
67  Using Arduino / Project Guidance / Looking for ideas on 19" rack mount for Arduino on: August 14, 2012, 02:44:10 pm
I am looking at creating a simple server room monitoring aruino and would like to place it in a 1U 19" rack in the server room.

The arduino is obviously small, and I would like to have 4 ethernet connectors on the front panel. Possibly with an LED display, which may or may not include buttons to control the display.

On the back I would like a power connector, and maybe another 4 or 8 ethernet connectors.

So my question is simply how can I make or purchase a "cheap" 19" 1U rack montable box to house this in that looks great?

The dimensions are obviously small

19" wide
1U Hight
6-10" deep

Since I want to put ethernet connectors on the front and back I will need a way to punch/cut the holes out but I would like to make it a professional looking unit and not one with wiggly hand cut lines.

Has anyone seen any products like this? or maybe some sort of plastic box that would work?


Chris
68  Using Arduino / Project Guidance / Re: beginner LED cube build, need help on: August 13, 2012, 02:06:18 pm
You have probably seen this Industructable

http://www.instructables.com/id/Led-Cube-8x8x8/

But it talks about the Arduino not being fast enough to run the animations due to the slow CPU speed of the maths involved.

Also this page (same article) talks about multiplexors for the IO

http://www.instructables.com/id/Led-Cube-8x8x8/step8/IO-port-expansion-more-multiplexing/

Chris
69  Community / Exhibition / Gallery / Re: Arduino Webserver with Temperature Monitor / Control on: August 12, 2012, 07:31:55 pm
Thanks Rob

Appreciate the quick response

chris
70  Community / Exhibition / Gallery / Re: Arduino Webserver with Temperature Monitor / Control on: August 12, 2012, 02:29:44 pm
Hi looks good - I have a question on the PCB?

Did you order just one? or a few?

What was the cost? including shippping?

And who did it?

I want to get some board made but still not sure of where to get it done. I am in New Zealand.

Also what did you use for the board design?

Cheers

Chris
71  Using Arduino / Project Guidance / Re: Temp DS18b20 + Humidity + Ethernet on: August 11, 2012, 04:44:27 pm
I went with my option #2

Here is the code I ended up with - it takes a while when the sketch starts up to read all the temperatures which could be handled in a better way but I am happy now as my ethernet web server response is instant (or close to it)

Code:
void checkTemperature()
{
        if (continueProcessingTemperatureMillis != 0)
{
if (millis() >= continueProcessingTemperatureMillis)
{
byte i;
byte present = 0;
byte type_s;
byte data[12];
byte addr[8];
float celsius;

present = ds.reset();
ds.select(sensor[temperatureSensorToProcess]);   
ds.write(0xBE);         // Read Scratchpad

for ( i = 0; i < 9; i++) {           // we need 9 bytes
data[i] = ds.read();
}
//Serial.print(" CRC=");
//Serial.print(OneWire::crc8(data, 8), HEX);
//Serial.println();

// convert the data to actual temperature

unsigned int raw = (data[1] << 8) | data[0];
if (type_s) {
raw = raw << 3; // 9 bit resolution default
if (data[7] == 0x10) {
// count remain gives full 12 bit resolution
raw = (raw & 0xFFF0) + 12 - data[6];
}
} else {
byte cfg = (data[4] & 0x60);
if (cfg == 0x00) raw = raw << 3;  // 9 bit resolution, 93.75 ms
else if (cfg == 0x20) raw = raw << 2; // 10 bit res, 187.5 ms
else if (cfg == 0x40) raw = raw << 1; // 11 bit res, 375 ms
// default is 12 bit resolution, 750 ms conversion time
}
celsius = (float)raw / 16.0;

temperature[temperatureSensorToProcess] = celsius;

temperatureSensorToProcess++;
if (temperatureSensorToProcess >= temperatureSensorCount)
temperatureSensorToProcess =0;

nextTemperatureRead= millis() + MS_TEMPERATURE_DELAY;
continueProcessingTemperatureMillis = 0;
}
}
else{
if (millis() >= nextTemperatureRead)
{
ds.reset();
ds.select(sensor[temperatureSensorToProcess]);
ds.write(0x44,1);         // start conversion, with parasite power on at the end

continueProcessingTemperatureMillis = millis() + 750;
}
}
}


Chris
72  Using Arduino / Project Guidance / Re: Temp DS18b20 + Humidity + Ethernet on: August 11, 2012, 04:07:14 pm
The amount of time needed for a DS18B20 conversion is dependent upon the resolution of the reading. By default this is 12 bits. If you use 9-bit resolution (half a degree precision) the delay is less than 100ms.

Thanks Pete.

After posting this I have had two thoughts.

1) Say I want to update every 10 seconds then if there is 4 sensors (10000 / 4) = 2500 so if the interval is >= 2500 process the next temperature - ie only do one at once and keep a counter of the last one I did.

2) I like this better

Like #1 above but while waiting just set a flag to say I am waiting and then exit the function so the rest of the loop can process. Then next call to the function I check if the flag is set if so then has 750ms passed? if it has then process the value of the temperature clear the flag and continue with the method in #1.

I think I will try this out - I will post back my findings.

Chris
73  Using Arduino / Project Guidance / Temp DS18b20 + Humidity + Ethernet on: August 11, 2012, 03:52:50 pm
I am creating a project that will monitor humidity and 1 to 10 temperature sensors and have a simple ethernet interface.

I have the project working but I am not happy with the way I have implemeted it.

Basically I poll for DS18B20 devices in setup() and then in the loop

Code:
loop()
{
    Check Humidity();
    Check Temperature();
    Check Ethernet()
}

In the Humidity and Temperature function I only do a check if it has been at least 10 seconds since the last check.

The humidity is fine as it is quick. The problem is with the DS18B20 devices as the library I am using and generally most must issue a 1Wire command and then wait 750ms before looking for the answer.

Not too bad if you have 1 device, but if you have 10 then that alone is 7.5 seconds

If you make an ethernet lookup you my be waiting 7.5+ seconds for an answer due to the temperature lookups.

Is there a way that the temperature lookup can be done in the background? is there such a thing as real background processes?

Is using the Timer() and Timer2() really background processes? or does the loop() just stop while the code in the timer interrupt runs?

Should I be updating only 1 temperature probe every time through the loop if the right amount of time has passed?

Cheers

Chris
74  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet Shield v1.1 and DHT11 humidity conflicts? on: August 10, 2012, 05:44:55 am
Yes looks like it is all happy now - thanks for helping me

Chris
75  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet Shield v1.1 and DHT11 humidity conflicts? on: August 09, 2012, 11:44:04 pm
Wrong assumption.  The Ethernet Shield 1.0 uses D2 for Interrupt.  Try D3 through D9.

Great news - I will try when I get home - I will be very happy then

cheers

Chris
Pages: 1 ... 3 4 [5] 6 7 ... 9