[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
nodo-domotica.nl • Toon onderwerp - Arduino Pro Mini atmega328 5V - Afdrukweergave
nodo-domotica.nl
http://www.nodo-domotica.nl/forum/

Arduino Pro Mini atmega328 5V
http://www.nodo-domotica.nl/forum/viewtopic.php?f=4&t=2077
« Vorige  Pagina 4 van 4
Auteur:  mvdbro [ 16 aug 2014, 18:27 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Auteur:  avdl72 [ 16 aug 2014, 19:10 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Ja de sleep code is actief in de software.
Auteur:  mvdbro [ 17 aug 2014, 11:12 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Checklist:
De + van de batterij is enkel verbonden met de VCC van de Mini Pro?
Het DS printje word gevoed vanuit D8?
Zender wordt gevoed via D4?
Er zit verder niets aangesloten, ook geen FTDI kabel? (uit praktijkmeting blijkt dit ook enkele mA te gebruiken)
Ook losgekoppeld van I2C?
Heb je een multimeter om de stroom te meten tijdens sleep (zou ong 10-20 uA moeten zijn)

Als je geen multimeter hebt is het denk ik ook mogelijk om een LED in serie tussen + van batterij en VCC van de mini op te nemen. Bij enkele mA moet je die flauw zien oplichten, bij enkele uA niet meer. (niet zelf getest, maar dat zou toch zo in theorie moeten zijn...)
Auteur:  avdl72 [ 17 aug 2014, 19:03 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Hoi,

De antwoorden op de checklist:
De + van de batterij is enkel verbonden met de VCC van de Mini Pro? JA
Het DS printje word gevoed vanuit D8? JA
Zender wordt gevoed via D4? JA
Er zit verder niets aangesloten, ook geen FTDI kabel? NEE
Ook losgekoppeld van I2C? JA

Ik heb met een multimeter gemeten en zie de volgende waardes:
In sleep = 8-9 uA
Tijdens zenden = 10 uA

In de Base.ino staat het volgende:
#define SLEEP true
In de Config_14.c staat het volgende:
#define SLEEP true

Ik zie nu wel dat de massa (-) van het DS printje is aangesloten op de massa (-) van de batterij. Zou dit een probleem kunnen opleveren?
Auteur:  mvdbro [ 17 aug 2014, 21:48 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Auteur:  avdl72 [ 22 aug 2014, 18:09 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Er zat inderdaad een meet fout in.

Ik heb nu het volgende gemeten:
Gemeten tussen VCC en de + van de batterij
Multimeter ingesteld op 2000u DCA

Tijdens booten meet ik 033u en die zakt na een halve minuut terug naar 026u

Vlak voor ik in de webapp een nieuwe bericht voorbij zie komen meet ik kort 032u en die zakt dan weer naar 026u.

Ik laat elke 5 minuten een nieuwe waarde naar de webapp verzenden, en toch is de batterij na een paar dagen leeg.
Auteur:  mvdbro [ 22 aug 2014, 18:28 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Auteur:  avdl72 [ 23 aug 2014, 08:57 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Ik snap het meten ook niet zo goed en kan het volgende ook niet verklaren:
Wanneer ik meet bij de + van de batterij dan is het 32u meet ik aan het einde van de draad van de batterijhouder dan is het nog maar 12u. Dus in de 5 cm draad verlies ik 20u. Dat kan toch niet?

Kan jij wellicht ook aangegeven waar je die Pro Mini hebt gekocht?
Dan ga ik exact dezelfde bestellen en kijken of dat verschil maakt.
Ik heb namelijk deze:

edit:
De "lege" batterijen hebben elk nog een spanning van ongeveer 1v.
Auteur:  mvdbro [ 23 aug 2014, 11:58 ]
Titel:  Re: Arduino Pro Mini atmega328 5V

Pagina 4 van 4 Alle tijden zijn GMT + 1 uur