Show Posts
Pages: [1] 2 3 ... 6
1  Using Arduino / General Electronics / Re: stand alone system with powercell,accu,solarcell,arduino on: February 10, 2014, 06:37:10 am
Hi, Jreminton,

Thanks for your reply.
Idd it was posted twice. Unfortenutely it was not possible to delete your own post.

So if I do understand I can connect my solarcell to the powercell DC input.
Only to prevent the voltage not to rise above 7VDC max.
A zenerdiode will do this right?

I have my doubts if the system will work just to connect the solarcell which give more than 7VDC in brought daylight and will sink to zero in nighttime.

Ilioss
2  Using Arduino / General Electronics / Stand alone systen with powercell,solarcell,LIpo accu, arduino,XBEE on: February 09, 2014, 06:10:44 am
Hoi al,

To power up my outdoor weather station this is build up as follows,
mini-pro arduino 3,3VDC  XBEE for transmit data to base station
temp. sensor 18ds20
wind direction via reed over resitor to ana input
wind speed dig. input reedswitch count
rain water counts buckets of water fals over time
6 VDC solar cell 2,5WATT
LiPo accu 3,6 1200mAh  ( provided the power consumption is in balance overnight )
( intend to use the sparkfun powercell )

I have my doubts to connect the solarcell to the powercell while this is limited to 5VDC input voltage as according datasheet.
The solarcell tend to raise the voltage far over 5VDC this wil harw the powercell and drop to zero in dark.?
Can a regulated voltage be the solution? But when the voltage drops below output + reg. level?
Is a zenerdiode the solution?
A diode to prevent current flow back to solarcell?
Any experience nown?
Any help aprecieted.
IlioSS
 smiley-confuse
3  Using Arduino / General Electronics / stand alone system with powercell,accu,solarcell,arduino on: February 09, 2014, 06:01:10 am
Hoi al,

To power up my outdoor weather station this is build up as follows,
mini-pro arduino 3,3VDC  XBEE for transmit data to base station
temp. sensor 18ds20
wind direction via reed over resitor to ana input
wind speed dig. input reedswitch count
rain water counts buckets of water fals over time
6 VDC solar cell 2,5WATT
LiPo accu 3,6 1200mAh  ( provided the power consumption is in balance overnight )
( intend to use the sparkfun powercell )

I have my doubts to connect the solarcell to the powercell while this is limited to 5VDC input voltage as according datasheet.
The solarcell tend to raise the voltage far over 5VDC this wil harw the powercell?
Can a regulated voltage be the solution? But when the voltage drops below output + reg. level?
Is a zenerdiode the solution?
A diode to prevent current flow back to solarcell?
Any experience nown?
Any help aprecieted.
IlioSS
 smiley-confuse
4  Using Arduino / Storage / Re: SD dayfile and windows file date (solved) on: January 05, 2014, 06:35:41 am
Hi all,

The problem with the daily file with header is solved.
Finnaly I tested the change on the day make present day the oldday and test for day change.
If changed life to be closed and new file open.

Thanks for the reply.

The windows file date stamp is no problem.

Greetz,
ilioSS
5  Using Arduino / Sensors / Re: DS18B20 wire length on: January 05, 2014, 03:32:35 am
Hi Rob,
It works.
Finnaly after many months I have it working.

Thanks for giving your ideers as well.


ilioSS
6  Using Arduino / Sensors / Re: DS18B20 wire length on: January 04, 2014, 09:30:23 am
Hi Rob,

So trying to have my file equipend every day with a header is not so easy.
Thanks for your reply. I looked in to it bud no succes.
Now I have a solution witch looks to work.
I check if the day iffer from yesterday and meke e new file with header. (dd!=ddold)
If day is same as (dd=ddold) make the file again open en write.


Code:
[/

  if(dd!=ddold)  //  datum veranderd dus nieuwe file met header
  {

    delay(50);
    char filename[12];
    sprintf(filename,"%02d-%02d-%02d.csv",dd,mm,yy);
    dataFile=SD.open(filename,FILE_WRITE);
    ddold=dd; 
    dataFile.println("DATE        ,TIME        ,Temp        ,Humid       ,Dauwp       ,temp,luchtdr. ");
    delay(10);
    dataFile.close();

  }

  else{
    char filename[12];
    sprintf(filename,"%02d-%02d-%02d.csv",dd,mm,yy);
    dataFile=SD.open(filename,FILE_WRITE);

    dataFile.print(ReadTimeDate());
    dataFile.print(",");
    dataFile.print(tC,2);
    dataFile.print(",");
    dataFile.print(rhTrue,2);
    dataFile.print(",");
    dataFile.print(Dauwpunt,2);
    dataFile.print(",");
    dataFile.print(b.t,1);
    dataFile.print(" ,");
    dataFile.println(b.ppa);
    dataFile.close();   
  }


}   

code]

I wait till the day changes at midnight.
Tomorrow a new file with header I hope.
By for now.

Greets,
ilioSS
7  Using Arduino / Sensors / Re: DS18B20 wire length on: January 01, 2014, 05:28:31 am
Hi Rob,

First of all best whishes for the new year.

Thanks for the relpy.
The test for q==0  is for the first line in the file for the header. After this first test q=1
This means the header is only once written in the file.
This all works.
The problem is in the second consecutive file. Up-until now I can't realize the header.
However the file is closed midnight and a new file is made. So I have every day a file which is according my whish.
Is it possible that this can be solved in the SD and/or clock library?
To be honest I do not understand how the file will be closed at midnight and a new file is opened.
The windows time stamp must be done in windows . This I will look after but has no priority.

BTW you mention to use the ctrl-t feature. What is this doing exactely?
I find my way in C++ with the help of C++ for dummy,s.

KInd regards,

ilioSS

8  Using Arduino / Storage / Re: SD dayfile and windows file date on: December 30, 2013, 09:34:11 am
Hi Nick_Pyner,

Thanks for your code for filename.
However the file name is no problem.
The problem is the first line in the .csv file.
While I have a data analize program which will see the first line with a header.This is tekst. related to the data in the file like
temp,humidity,dewpoint

Thanks any way.

ilioSS

9  Using Arduino / Installation & Troubleshooting / Re: can't program arduino. on: December 30, 2013, 08:52:26 am
Hi caleb121341,

It is all about follow the rules.
First check if you have the ide installed corect.
Than check if the usb driver is installed this can be found in the folder drivers.
If all looks ok. than mention in return the error code
which you can found in the lower left corner.

ilioSS
10  Using Arduino / Installation & Troubleshooting / Re: Problem install Arduino uno r3 in windows 8.1 cod error 43 USB Unknown Device on: December 30, 2013, 08:49:15 am
HI,

Raimens,

Please check if your usb driver is installed in the arduino folder in folder drivers.
On the arduino site you can find how to install. the correct driver.
succes,
ilioSS
11  Using Arduino / Sensors / Re: DS18B20 wire length on: December 30, 2013, 08:26:55 am
Rob,

Thanks, this will do for outdoor measurements.
As rule of thumb this also for BMP and SHT digital sensors?

Rob can you have a look on my post in storage?
I still look for a logging file system which give every dau a CSV file with a header line.
The daily file is no problem. Only the header is a problem.

What I do is open and close the datafile on date string from clock but only the first file contains the header.

Code:

        char filename[12];//char filebname[]="                ";
        sprintf(filename,"%02d-%02d-%02d.csv",dd,mm,yy);
        Serial.println(filename);
          dataFile=SD.open(filename,FILE_WRITE);
          if ( q==0)
        {
          delay(20);
        dataFile.println("DATE        ,TIME        ,Temp        ,Humid       ,Dauwp       ,temp,luchtdr. ");
        delay(50);
          Serial.println("DATE        ,TIME        ,Temp        ,Humid       ,Dauwp       ,temp,luchtdr. ");   
        delay(10); 
                           if (dataFile)       {// 00/00/00,00:00:00,23.52,53.67,11.31,12.56, Temp    ,
                                          q=1;
                                           dataFile.close();
                                           
                                               } 
 else       
                 {
                    Serial.println("error opening datalog.csv"); // if the file isn't open, pop up an error:
                   
                 }
             }

 else     
                                        {
   
                                        dataFile.print(ReadTimeDate());
                                        dataFile.print(",");
                                        dataFile.print(tC,2);
                                        dataFile.print(",");
                                        dataFile.print(rhTrue,2);
                                        dataFile.print(",");
                                        dataFile.print(Dauwpunt,2);
                                        dataFile.print(",");
                                        dataFile.print(b.t,1);
                                        dataFile.print(" ,");
                                        dataFile.println(b.ppa);
                                        dataFile.close();   
                                        } 
       

        if(uur==23){
                    if(minu==59){
                                 if(sec==58){
                                             z=1;
                                            }
                                }
                   }
     
Also the windows is Always making file on 2000- year and date not the date the file is made?

Kind regards,
IlioSS
12  Community / Exhibition / Gallery / Re: Ultrasonic Anemometer on: December 30, 2013, 06:30:59 am
Hello Karl47,

At the moment some day,s leave so I started to look around on the arduino from.
You still busy.
Last may I contacted you concerning the ultrasonic anemometer.
It is laying some wher eround in a corner.
If time permist I like to cont. solving the problem.
Mean while some stainles steel sensor holders are made.
Still the function must be checked. There is a elecronical failure in the system.
I have to read all the comments in this posts. So I am informed about the latest progress.
I do understand you are launcing your mark2 version.
So for now I will cont. in problem solving. And cot in the rest of my weather station.
Kind regards,
illoSS
13  Using Arduino / Sensors / DS18B20 wire length on: December 30, 2013, 06:01:40 am
Hi,
Just a question what will be the max wire length for a temp. sensor DS18B20.
Is the precision important for the cable length?
I mean low resolution longer cable .

Thanks for any help,

ilioSS
14  International / Nederlands / Re: Schrijven waardes DS18B20 naar SD-card on: December 30, 2013, 05:16:45 am
Hallo Leroy,

Is je vraag beantwoord naar tevredenheid?
Mag ik zo vrij zijn om je een tip te geven.
Gebruik .CSV files die kan je gemakkelijk terug lezen in access.
Heb je een RTC dan kan je ook per dag een file aanmaken.
Code:

        char filename[12];//char filebname[]="                ";
        sprintf(filename,"%02d-%02d-%02d.csv",dd,mm,yy);
        Serial.println(filename);
          dataFile=SD.open(filename,FILE_WRITE);
          if ( q==0)
        {
          delay(20);
        dataFile.println("DATE        ,TIME        ,Temp        ,Humid       ,Dauwp       ,temp,luchtdr. ");
        delay(50);
          Serial.println("DATE        ,TIME        ,Temp        ,Humid       ,Dauwp       ,temp,luchtdr. ");   
        delay(10); 
                           if (dataFile)       {// 00/00/00,00:00:00,23.52,53.67,11.31,12.56, Temp    ,
                                          q=1;
                                           dataFile.close();
                                           
                                               } 
 else       
                 {
                    Serial.println("error opening datalog.csv"); // if the file isn't open, pop up an error:
                   
                 }
             }

 else     
                                        {
   
                                        dataFile.print(ReadTimeDate());
                                        dataFile.print(",");
                                        dataFile.print(tC,2);
                                        dataFile.print(",");
                                        dataFile.print(rhTrue,2);
                                        dataFile.print(",");
                                        dataFile.print(Dauwpunt,2);
                                        dataFile.print(",");
                                        dataFile.print(b.t,1);
                                        dataFile.print(" ,");
                                        dataFile.println(b.ppa);
                                        dataFile.close();   
                                        } 
       


Dit is een deel van mij script. Werkt aardig.

Succes,'
ilioss
15  Using Arduino / Storage / SD dayfile and windows file date on: December 30, 2013, 04:34:35 am
Hi,
For my wheater station I will log weather data. This is no problem so far.
Only one problem is annoing namely that on each file (CSV)I will have a header on the first line for data names.
This is only possible in the first data file I make.??? All other files do not have the header.
How can I abort the file and make a new file midnight ( on clock time) with a header in each file?

Then the time stamp in windows showed Always a date somewhere in 2000 not the date the file is made?
also strange.
 
Help is appreciated.
ilioss
Pages: [1] 2 3 ... 6