Forum Members section DIY Ferduino controller Setup

Setup  [SOLVED]

Ask here about your controller made with pieces purchased in other shops.

Post Number:#21 Post Sat Jul 05, 2014 4:28 pm
Posts: 32
Topics: 4
Solve rating: 0
Joined: Thu Jul 03, 2014 10:55 am
Topics: 4
Age: 43
Gender: Male
National Flag:
Brazil
I am debugging the file open already post results

As for this variable must change the value?

byte modo_personalizado_on = 0x0; // 0 = false, 1 = true


-------------------------------- Last edited 05 Jul 2014, 16:31 --------------------------------

Add the message of debug as I told previously.

The original code haven't any error.

If you haven't this (Day of week: x) message on serial monitor the problem can be on RTC or in the configuration of dosage.

If you haven't this (File opened!) message on serial monitor the problem is on SD card.


if(file.open(&root, "HDP1.TXT", O_READ))
        Serial.println("Arquivo Aberto HFDP!");


file was not opened :(( and now?

Writing this, just do not read this card should I change?

Post Number:#22 Post Sat Jul 05, 2014 10:29 pm
Posts: 32
Topics: 4
Solve rating: 0
Joined: Thu Jul 03, 2014 10:55 am
Topics: 4
Age: 43
Gender: Male
National Flag:
Brazil
This reading card data however still does not work, need to change what variables in Ferduino_Portuguese_.ino?
need change this code for true?
boolean modo_personalizado = false;


or not??

I've done everything I no longer know what to do

Post Number:#23 Post Sun Jul 06, 2014 11:43 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Change only:

boolean dosadoras = false;


To:

boolean dosadoras = true;


Your SD card is on TFT or ethernet shield?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#24 Post Sun Jul 06, 2014 11:52 am
Posts: 32
Topics: 4
Solve rating: 0
Joined: Thu Jul 03, 2014 10:55 am
Topics: 4
Age: 43
Gender: Male
National Flag:
Brazil
Shield... im change SD Card, and test read and write all ok... RTC ok but not work dosing preset... i not understand... help!! help!! heeelllp!!

-------------------------------- Last edited 06 Jul 2014, 12:08 --------------------------------

Jumper pin 10 (Ethernet Shield) to pin 53 need for me? im test and not work.

Post Number:#25 Post Sun Jul 06, 2014 12:49 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Connect as was shown here: viewtopic.php?f=24&t=36
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#26 Post Sun Jul 06, 2014 12:54 pm
Posts: 32
Topics: 4
Solve rating: 0
Joined: Thu Jul 03, 2014 10:55 am
Topics: 4
Age: 43
Gender: Male
National Flag:
Brazil


I have done tudas the links, I'm giving up the project, lost one hundred and fifty dollares but its okay I must be a problem but I can not find a 1 week trying to resolve'm already tired and annoyed with the way this is going to be buying a metering as this mine is not working, if you want you can lock the topic.


If someone can help me please contact.
Thank you!

Post Number:#27 Post Sun Jul 06, 2014 1:15 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

After make the configuration of custom dosage, check if the file (e.g. HDP1.txt) was created correctly.

The time is in minutes, so if you have 800 the dosage will be:

800 / 60 = 13.3333

13.3333 - 13 = 0.3333

60 x 0.3333 = 20

So 13:20 will be the hour of dosage.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#28 Post Sun Jul 06, 2014 1:26 pm
Posts: 32
Topics: 4
Solve rating: 0
Joined: Thu Jul 03, 2014 10:55 am
Topics: 4
Age: 43
Gender: Male
National Flag:
Brazil
After make the configuration of custom dosage, check if the file (e.g. HDP1.txt) was created correctly.

The time is in minutes, so if you have 800 the dosage will be:

800 / 60 = 13.3333

13.3333 - 13 = 0.3333

60 x 0.3333 = 20

So 13:20 will be the hour of dosage.



0252
0001
0006
0011
0016
0021
0026
0031
0036
0041
0046
0051
0056
0061
0066
0071
0076
0081
0086
0091
0096
0101
0106
0111

its ok?

Post Number:#29 Post Sun Jul 06, 2014 1:31 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

No, this version have an error that was fixed long time ago.

https://github.com/FernandoGarcia/Ferdu ... e.ino#L481

Change:

byte minuto01 = 0;
byte minuto11 = 0;


To:

int minuto01 = 0;
int minuto11 = 0;
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#30 Post Sun Jul 06, 2014 2:17 pm
Posts: 32
Topics: 4
Solve rating: 0
Joined: Thu Jul 03, 2014 10:55 am
Topics: 4
Age: 43
Gender: Male
National Flag:
Brazil
No, this version have an error that was fixed long time ago.

https://github.com/FernandoGarcia/Ferdu ... e.ino#L481

Change:

byte minuto01 = 0;
byte minuto11 = 0;


To:

int minuto01 = 0;
int minuto11 = 0;


i not belive... its problem... now work fine... thanks, greeatttt

this detail before the SD Card was also with ... now all problem solved ... 1 week of despair ... and I thank Fernando pedri patience at some point I apologize.

Previous



Return to DIY Ferduino controller





Who is online

Users viewing this topic: No registered users and 1 guest