Apodemus BatCounter User manual

SERVICE
BatCounter
Handleiding Nederlands 2
Manual English 12
Manuel Français 22
Handbuch Deutsch 32

2
BatCounter Handleiding
Introductie
De BatCounter is een elektronisch apparaat dat is
ontwikkeld om in te zetten bij veldonderzoek. Het
apparaat telt het aantal passages van vleermuizen,
vogels of andere kleine dieren door het rechthoekige
of vierkante aluminium frame.
Het aluminium frame van de BatCounter is zwart
geanodiseerd voor een goede bescherming in alle
weersomstandigheden en is hiermee een robuuste en
betrouwbare partner.
Als de BatCounter gedurende twee dagen of minder
ingezet wordt, dan kunnen de 8 AA batterijen ge-
bruikt worden die meegeleverd zijn. Om de BatCoun-
ter voor een langere periode in te zetten, kan de
BatCounter op een 12V accu worden aangesloten,
de meegeleverde stroomkabel kan hiervoor gebruikt
worden.
De BatCounter registreert de verschillende passages
van vleermuizen en slaat alle informatie op de SD
kaart op. De SD kaart bevat de verzamelde data,
en kan deze data ook extern delen. Resultaten en
standaard informatie kunnen op gezette tijden per e-
mail of SMS verstuurd worden. Door deze extra func-
ties wordt er continu informatie geleverd en hoeft
u niet fysiek aanwezig te zijn bij de BatCounter om
deze te krijgen, bovendien is er door het dataverkeer
de zekerheid dat het systeem goed functioneert.
De BatCounter kan zowel vleermuizen bij het door-
vliegen detecteren als ook een DSLR camera (Nikon of
Canon) aansturen om gelijktijdig foto’s te maken van
het doorvliegen door het aansluiten met een externe
kabel of via de infrarood instelling.
Beschikbare modellen:
BatCounter standaard model: 800x390mm
BatCounter boom model: 400x390mm
Wat wordt er in de doos meegeleverd?
1 Apodemus BatCounter
1x Stroomkabel
1x Apodemus draagband
8x AA batterijen
1x SD-kaart
4x M6 oogbouten
NL

3
Layout
Op elke hoek zijn twee M6 schroefdraden getapt
om de bouten goed te kunnen bevestigen
Aansluitingen voor:
- externe stroomtoevoer
- extensies
- GSM antenne
Gebruikersinterface cover
Pijlen die aangeven aan welke zijde in-
en aan welke zijde uitgevolgen wordt
Batterijvak
Power knop
Select knop
SD-kaart
(contacten
naar boven)
Simkaart
(contacten
naar boven)
Status leds:
- Systeem
- Teller
- SD-kaart
- SIM
- Netwerk
- Batterij
NL

4
De BatCounter gebruiken
De BatCounter gebruiksklaar maken:
A1) De batterijen plaatsen
A2) Een externe stroomtoevoer gebruiken
B) De SD kaart plaatsen
C) De BatCounter aanzetten
D) De BatCounter uitzetten
E) De status leds controleren
A1) De batterijen plaatsen
Batterijen zijn niet nodig wanneer u de externe
stroomkabel gebruikt.
1. Open het batterijdeksel door de drie duimschroe-
ven los te maken.
2. Plaats 8 nieuwe AA batterijen van hetzelfde type
en voltage in de houder. Plaats de batterijen in
de richting zoals geprint is op de BatCounter.
3. Sluit het batterijdeksel met de duimschroeven.
Draai ze goed aan om het compartiment water-
dicht te maken.
A2) Een externe stroomtoevoer
gebruiken
Gebruik een externe stroomtoevoer als de BatCounter
voor een langere tijd ingezet wordt (meer dan twee
dagen, afhankelijk van het GSM gebruik).
4. Verwijder het stof kapje van de connector voor
externe stroomtoevoer.
5. Controleer of de connector van de kabel en de
connector op de Batcounter schoon zijn.
6. Maak verbinding met de connector van de Bat-
Counter.
7. Verbind daarna de stroomkabel aan de externe
stroomtoevoer. Deze stroomtoevoer zou een
voltage moeten hebben van tussen de 10 en 14 V
DC en moet minimaal 1A kunnen leveren.
8. Het gemiddelde stroomverbruik van de BatCoun-
ter ligt onder de 40 mA.
Bereken de levensduur van de accu door de volgende
formule in te vullen:
[Accu capaciteit (Ah)] / [0.04 (A)] = verwachte tijd in
uren dat de accu gebruikt wordt
Voorbeeld (een auto accu van 66 Ah) 66 Ah / 0.04 A =
1650 uren = ca. 68 dagen.
B) De SD-kaart plaatsen
9. Open de gebruikersinterface cover door de twee
duimschroeven los te maken.
10. Verwijder de oude SD-kaart (indien aanwezig):
duw de kaart verder naar binnen en deze zal
zichzelf uitwerpen.
11. Plaats een nieuwe SD-kaart die is geformatteerd
met een FAT file systeem. De contactpunten
wijzen naar boven (de SD-kaart wordt onderste-
boven geplaatst). Hoe de SD-kaart geformatteerd
moet worden staat beschreven in het desbetref-
fende hoofdstuk.
12. Sluit de gebruikersinterface cover met de twee
duimschroeven. Draai ze goed aan om het com-
partiment waterdicht te maken.
C) De BatCounter aanzetten
13. Druk eenmaal op de power knop of sluit de
externe stroomtoevoer aan en de BatCounter zal
opstarten.
14. De BatCounter voert nu een systeem check uit:
als één van de led-lampjes rood blijft , is er een
probleem ontstaan en werkt het apparaat niet
goed.
15. Als de systeem check is afgerond, dan moeten
alle led-lampjes uit zijn. Alleen het led-lampje
van het systeem blijft elke seconde oplichten.
D) De BatCounter uitzetten
Druk op de power knop en houdt deze ca. één
seconde ingedrukt, of verwijder de stroomtoevoer.
E) De status leds controleren
16. Zet de powerknop aan.
17. Druk kort op de select knop, zodat het groene
led-lampje van de batterij oplicht.
18. De leds geven de status van de batterijen aan:
Alle leds aan = batterijen zijn vol, alle leds uit =
batterijen zijn leeg
NL

5
De BatCounter configuratie file
De BatCounter configuratie file be-
werken (gebruik de computer)
Om de “batcounterconfig.txt” te vernieuwen:
1. Verwijder de “batcounterconfig.txt” van de SD-
kaart, of wijzig de naam.
2. Plaats de SD-kaart en zet de BatCounter aan.
3. Zet de BatCounter na 5 seconden uit.
4. Een nieuwe kopie van de “batcounterconfig.txt”
is op de SD-kaart gezet. Plaats de SD-kaart in de
computer en navigeer naar de SD-kaart locatie.
5. Open de “batcounterconfig.txt” in de root direc-
tory van de SD-kaart, en gebruik een standaard
teksteditor zoals notepad om aanpassingen te
doen.
6. Het document kan aangepast worden door
waardes te veranderen of velden toe te voegen
die in deze handleiding te vinden zijn. Wan-
neer er voor het systeem onherkenbare waardes
worden gebruikt, zal het systeem zelf waardes
toepassen uit zijn fabrieksinstellingen. Een fout-
melding wordt dan toegevoegd aan het “log.txt”
document als de BatCounter wordt opgestart.
7. Wanneer het “batcounterconfig.txt” document
naar wens is aangepast, kan het op de SD-kaart
worden opgeslagen. De SD-kaart kan veilig
verwijderd worden en is klaar voor gebruik.
Configuratie file syntax:
• Opmerkingen beginnen met een puntkomma.
• Een configuratieregel begint met de veld-
naam, gevolgd door een <TAB>, daarna de
veldwaarde, bv. : log_format 1 ;opmerking.
• Niet herkende of ongeldige regels worden in
het configuratie document gemeld.
NL

6
Beschikbare, programmeerbare functies
In de volgende tabel worden de beschikbare functies
opgesomd. Kijk voor een gedetailleerde uitleg in het
desbetreffende hoofdstuk.
Beschikbare programmeerbare opties:
NAME DEFAULT RANGE OMSCHRIJVING
Log_format 10..1 Bepaalt het format van het uitvoerbestand: 0=txt, 1=csv
Log_interval 1 0 Bepaalt de tijd voordat een regel in het logbestand geschreven
wordt: 0=onmiddellijk, of in minuten aangegeven [0..720]
Log_newfile 40..4
Bepaalt hoe lang het duurt voordat een nieuw document wordt
aangemaakt:
file: 0=onmiddellijk, 1=minuut, 2=uur, 3=dag, 4=maand
Log_zeroes 10..1 Moeten lege logboekregels vermeld worden?: 0=nee, =ja
Log_activity 00..1 Moet activiteit ook vermeld worden (niet geldige passages)? 0=nee,
1=ja
Log_size 10..1 Moet opgemeten grootte vermeld worden? 0=nee, =ja
Log_speed 00..1 Moet opgemeten snelheid vermeld worden? =nee, 1=ja
Log_system 10..1 Moeten systeem variabelen vermeld worden. (batterij, temperatu-
ur)?: 0=nee, 1=ja
Log_rh 00..1 Moet relatieve vochtigheid vermeld worden?: 0=nee, 1=ja
detect_min-
size 21..5 Minimum detectie grootte 1..5 (detectie lijnen)
cam_trig-
gerin 00..2 Moet de camera reageren als iets gespot wordt dat naar binnen
vliegt? 0=nee, 1=aangesloten, 2=IR-Nikon, 3=IR-Canon
cam_trigger-
out 00..2 Moet de camera reageren als iets gespot wordt dat naar buiten
vliegt? 0=nee, 1=aangesloten, 2=IR-Nikon, 3=IR-Canon
log_buffer-
time 00..60 Bepaalt de tijd voordat een tijdelijke buffer op de SD-kaart gezet
wordt. 0=onmiddelijk, anders in minuten [0..60].
sim_pin -string Dit moet de SIM PIN code zijn, vermeld tussen dubbele aanhaling-
stekens, bv. “0000”
sms_to -string
Bepaalt de ontvangen van de SMS berichten. Moet in internationale
notitie en tussen dubbele aanhalingstekens geplaatst worden: bv.
“+31642758540”.
sms_firsttime -YYYY-MM-DD
HH:MM Wanneer moet het eerste SMS bericht gestuurd worden?
sms_interval -YYYY-MM-DD
HH:MM Met welke interval moeten SMS berichten gestuurd worden?
sms_identi-
fier -string Gebruik max. 15 tekens om te identificeren welke BatCounter de
berichten stuurt. Dit wordt in de SMS vermeld.
sms_enable -0=no, 1=yes Maakt het gebruik van SMS mogelijk. Pin en sms_to moeten in-
gesteld zijn. Anders volgt een foutmelding.
NL

7
Gedetailleerde configuratie van de BatCounter
De logging algoritmes configureren
Wanneer de SD-kaart in de BatCounter wordt ge-
plaatst, wordt een standaard geconfigureerd .csv
document op de kaart gezet. Het document maakt
elke minuut een regel aan en elke maand wordt
een nieuw document aangemaakt. Ook als er geen
activiteit is worden nieuwe regels gemaakt. Batterij
voltage en temperatuur worden ook vermeld in het
log.
Door het log algoritme te configureren kunnen een
aantal data aangepast worden: het document type,
de te vermelden data en bijvoorbeeld hoe vaak een
nieuwe regel of een nieuw document moet worden
aangemaakt.
Om de uitvoering van het log algoritme aan te passen
is het raadzaam om de volgende termen te bestu-
deren: log_format, log_interval, log_newfile,
log_zeroes, log_activity, log_system en log_buffertime.
De camera trigger configureren
Wanneer de BatCounter gebruikt wordt om een digi-
tale camera te triggeren, moeten er voorbereidingen
getroffen worden. Voor het beste resultaat en snelle
reactietijden wordt het volgende geadviseerd:
• Zet de focus functie op handmatig
• Zet de belichtingstijd op handmatig
• Zet de aperture op handmatig
• Zet auto-power off uit
• Controleer na het instellen of de camera goed
werkt.
NB: een verbinding met een kabel werkt sneller en is
betrouwbaarder dan een infrarood trigger.
In het document op de SD-kaart moet aangegeven
worden of de trigger is voor ingaand of uitgaand
verkeer. Gebruik hiervoor de twee velden:
cam_triggerin en cam_triggerout.
Om de camera te triggeren met een kabel is een
verlengkabel nodig. Een standaard kabel met een
2,5mm jack is te koop op de Apodemus site.
De simkaart configureren
Om mobiele netwerk diensten te kunnen gebruiken,
zoals het sturen van sms-berichten, is het noodzake-
lijk om de simkaart te configureren.
1. Een actieve simkaart moet beschikbaar zijn
(standaard mini formaat).
2. In het batcounterconfig.txt document, moet een
regel worden toegevoegd om de BatCounter de
pincode voor de simkaart te informeren. “0000”
moet vervangen worden door de juiste pincode
voor deze simkaart.
3. Wanneer de simkaart gebruikt wordt, moet een
antenne aangesloten worden om mobiele com-
municatie mogelijk te maken. De antenne moet
ten minste voldoen aan de IPx7 norm, zodat er
geen water in kan komen. De connector zou kun-
nen lekken.
De sms module configureren
De BatCounter kan geplande sms berichten sturen
om updates te geven over de systeem status en
telresultaten. Houd er rekening mee dat de prestatie
van deze functie afhankelijk is van de sterkte van het
mobiele netwerk. Hierdoor is deze optie niet overal
beschikbaar.
Het bericht dat de BatCounter stuurt zal er ongeveer
zo uitzien:
BatCounter Report BC1501001 “Main entry door”
Period 2015-09-04 12:00 to 2015-09-05 12:00
In: 25, Out: 10, ActIn: 2, ActOut: 0, Vbat:11.6 V
Om de sms functie te gebruikten, moet ten minste
het volgende geconfigureerd worden:
• Configureer de simkaart zoals in bovenstaande
tekst wordt uitgelegd.
• Pas het mobiele telefoonnummer van de ont-
vanger aan met sms_to parameter: sms_to
“+31612345678” ; en vul hier het telefoonnummer
van de ontvanger in.
Het is belangrijk om de dubbele aanhalingstekens
te gebruiken en het nummer te noteren volgens
ITU-T E.123 (international notation), zonder spat-
ies en bijvoorbeeld de nul die niet gebruikt wordt.
• Het wordt geadviseerd voor het gebruik het con-
figuratie document te testen.
• Stel in wanneer de eerste keer een sms rapport
gestuurd moet worden. De BatCounter bere-
kent wanneer het volgende bericht gestuurd
zou moeten worden met ingestelde intervallen
beginnend vanaf het ingestelde moment, nadat
de the BatCounter aangezet is. De opmaak is zeer
belangrijk, gebruik de volgende notitiemethode:
NL

8
“YY-MM-DD HH:MM”. Bijvoorbeeld: sms_firsttime
“15-09-01 12:00” ;YY-MM-DD HH:MM
• Stel de intervaltijden in waarmee sms berichten
gestuurd moeten worden. Een rapport wordt ges-
tuurd op de ingestelde intervaltijd vanaf de start-
tijd. Als er geen interval ingesteld wordt, dan gaat
het systeem uit van een interval van 24 uur: sms_
interval “00-00-01 00:00” (stuur elke 24 uur een
sms bericht) Stel een identificatie code in voor
de BatCounter. Deze informatie wordt gebruikt
in de sms berichten om duidelijk te maken welke
BatCounter het bericht stuurt. Het maximaal
aantal karakters dat gebruikt kan worden is 15, er
kunnen cijfers, letters, projectomschrijvingen, etc.
gebruikt worden. Als laatste moet de sms module
geactiveerd worden: sms_enable 1
Het configuratie document voor het gebruik van sms
berichten ziet er zo uit:
sim_pin “0000”
sms_to “+31612345678”
sms_firsttime “15-09-01 12:00”
sms_interval “00-00-01 00:00”
sms_identifier “Main entry door”
sms_enable 1
De e-mail module configureren
De BatCounter kan geplande e-mail updates sturen betreffende systeem status en telresultaten.
Houd er rekening mee dat de prestatie van deze functie afhankelijk is van de sterkte van het mobiele netwerk.
Hierdoor is deze optie niet overal beschikbaar. Om deze optie te kunnen gebruiken moet een geldig abonne-
ment beschikbaar zijn voor de simkaart. Er kunnen kosten berekend worden voor het versturen van data.
Apodemus is niet verantwoordelijk voor gebruikerskosten voor het versturen van data.
Het configureren van de e-mail module kan lastig zijn. Stel eerst de sms module in om met het configureren te
kunnen oefenen.
Het e-mail bericht dat de BatCounter stuurt ziet er
zo uit:
<not yet available>
Om de sms optie te kunnen gebruiken, moet de configuratie ten minste de volgende informatie bevatten:
• Configureer de simkaart zoals in bovenstaande tekst uitgelegd.
• Contacteer uw netwerkbeheerder om uw APN settings te weten. De informatie die u nodig heeft is ten min-
ste: Server name, apn_user en apn_pass. Zet deze informatie in het configuratie document, als voorbeeld
Vodafone settings:
apn_server “live.vodafone.com” ;Operators APN server name
apn_user “vodafone” ;APN username
apn_pass “vodafone” ;APN password
• Configureer uw SMTP server. Gebruikt hiervoor niet uw standaard e-mail adres, maar maak een speciaal
e-mail adres aan voor contact met de BatCounter. Het password en de login worden namelijk onbeveiligd op
de SD-kaart geplaatst.
smtp_server “mail.yourdomain.com” ;smtp server address
smtp_user “smtusername” ;smtp username
smtp_pass “smtppassword” ;smtp password
Wanneer een andere poort gebruikt wordt dan de standaard poort 25 (standaard voor SMTP), dan moet dit ook
geconfigureerd worden:
• smtp_port “1234” ;smtp port
Stel de ontvanger in van de e-mails. Naar het e-mail adres worden de rapporten gestuurd.
• email_to “[email protected]”
• Stel de identificatie code in voor deze BatCounter, dit zou bijvoorbeeld de locatie van de BatCounter kun-
NL

9
Het configuratie document voor het gebruik van e-mail zou er zo uit kunnen zien:
sim_pin “0000”
apn_server “live.vodafone.com”
apn_user “vodafone”
apn_pass “vodafone”
smtp_server “mail.yourdomain.com”
smtp_user “smtpusername”
smtp_pass “smtppassword”
email_identifier “First BatCounter Email”
email_firsttime “15-09-01 12:00”
email_interval “00-00-00 00:10” ;Every ten min
email_enable 1
nen zijn. Deze identificatie code wordt met elk bericht meegestuurd.
email_identier “BatCounteratmainentrance”
• Stel in wanneer de eerste keer een e-mail gestuurd moet worden. De BatCounter berekent wanneer het
volgende bericht gestuurd zou moeten worden met ingestelde intervallen beginnend vanaf het ingestelde
moment, nadat de the BatCounter aangezet is. De opmaak is zeer belangrijk, gebuik de volgende
notitiemethode: “YY-MM-DD HH:MM”. Bijvoorbeeld:
email_rsttime “15-09-0112:00” ;YY-MM-DDHH:MM
• Stel de intervaltijden in waarmee e-mail berichten gestuurd moeten worden. Een e-mail wordt gestuurd op
de ingesteld intervaltijd vanaf de starttijd.. Als er geen interval ingesteld wordt, dan gaat het systeem uit van
een interval van 24 uur:
email_interval “00-00-0100:00” ;Sendamaileveryday(24hours)
• Als laatste moet de e-mail module geactiveerd worden:
email_enable 1
NL

10
BatCounter systeem log documenten
Log documenten
De BatCounter heeft een foutrapport functie. Hier-
mee kunnen de ontwikkelaars terugkoppeling van u,
de professionele gebruiker, krijgen. In het rapport
worden genoeg technische details vermeld om de
fouten verder te onderzoeken.
Als er bij standaard gebruik een fout ontstaat, wordt
er een regel toegevoegd aan het log.txt. document.
Wanneer uw Counter niet naar behoren functioneert,
dan zal het document aanwijzingen geven over wat
het probleem is.
Open het document en bestudeer de laatste regels.
Zijn er fouten sinds de laatste opstart? Het document
laat gebeurtenissen zien en fouten, maar ook tekst
fouten van het configuratie document.
Het is veilig om het document te verwijderen als u
aan het experimenteren bent, want er wordt automa-
tisch een nieuw document aangemaakt als er zich
nieuwe gebeurtenissen voordoen.
Wanneer er problemen zijn met uw BatCounter,
stuurt u dan het document naar info@apodemus.
eu. Beantwoord graag de volgende vragen als u een
foutmelding doorstuurt:
• Is het mogelijk om de fout te laten verdwijnen of
te opnieuw te laten verschijnen? Zo ja, hoe doet
u dit?
• Komt de fout altijd voor?
• Heeft u aanpassingen gedaan voordat de fout
ontstond?
• Heeft u een idee waarom de fout ontstaan is?
• Gebruikt u speciale opties?
Geef ons naast bovenstaande antwoorden zoveel mo-
gelijk details over uw gebruik van de BatCounter en
voeg het log.txt en “batcounterconfig.txt” document
toe en daarnaast een recente log file. We zullen uw
fouten zo spoedig mogelijk verhelpen.
U helpt Apodemus met verdere ontwikkeling van de
BatCounter als u deze rapporten stuurt.
NL

11
Detectie techniek: 32 gemoduleerde infrarood stralen die een vliegrichting bepalen
Minimum afmeting voor detectie: ≥ 25 mm
Afmetingen en gewicht: 80x39x7 cm, 2800 g (uitvoering ‘Standaard’)
40x39x7 cm, 2200 g (uitvoering ‘Boom’)
Detectie oppervlakte: 76x35 cm (uitvoering ‘Standaard’)
36x35 cm (uitvoering ‘Boom’)
Montage: Te realiseren met behulp van 4 metallische M6 ringen en 8 vrou-
welijke M6 threads
Voeding: 8 AA batterijen of externe 12V voeding (10..16V)
Verbruik: ≤ 40 mA onder normaal gebruik, ca. 3 dagen met nieuwe AA bat-
terijen Varta ‘High Energy’
Geheugen: SD kaart, FAT16 of FAT32
Instellingen: Configurationfile op de SD kaart
Software updates in het veld: via update bestanden op de SD kaart
Format van de bestanden: CSV of TXT
Bedieningspaneel: LED lampjes geven het functioneren van het apparaat aan. Het
bedieningspaneel wordt beschermd door een aluminium afdek-
plaatje.
GSM functies: Waarschuwingen: SMS/Email
Dagelijks aantallen: SMS/Email
Dagelijkse rapporten: Email
* Om deze functies te kunnen benutten, gebruik op de corre-
sponderende SMA connector een GSM IP67 antenne alsook een
SIM kaart en een afdoende GSM dekking.
Klok: Interne ‘real-time’ klok
Nauwkeurigheid van de klok: ±3 min/jaar (0°C .. +50°C)
±6 min/jaar (-10°C .. +60°C)
Clock backup tijd: meer dan een jaar na een volledig operationele periode van 24
uur of meer (herlaad tijd van de interne klok batterij)
Camera trigger: Nikon en Canon, met een 2.5mm jack plug en infrarood instel-
ling worden aanbevolen vanwege betrouwbaarheid en snelheid.
Vraag ons naar informatie over andere merken.
Technical specifications NL

12
BatCounter Manual
General Description
The BatCounter is an electronic device developed to
use in field applications for counting bats, birds or
other small animals passing through its rectangular
or square shaped aluminium frame.
The aluminium frame of the BatCounter has had a
black anodized surface treatment that protects the
BatCounter in the outdoor making it a rugged and
reliable partner.
When using the BatCounter for less than two
days, you can rely on electrical power via the 8 AA
batteries that are in the box. To enable longer runs,
hook the BatCounter up to an external battery of 12V
using the external power cable that is included.
The BatCounter detects and counts the different
passings of bats and stores all the information on
the SD Card. Not only will the collected data be
available on the SD Card, external communication
of this data is possible. Reports stating results and
default information can be send by email and or SMS
text messages at set intervals. This additional feature
will provide you with results without the need to be
physically present at the site and it will give the reas-
surance that the system is operating smoothly on a
constant basis.
Simultaneously with detecting bats passing through
its frame, the BatCounter is able to trigger your DSLR
camera (Nikon or Canon) using an external cable or
through infrared signal.
Available models:
BatCounter standard model: 800x390mm
BatCounter tree model: 400x390mm
What’s in the box
1 Apodemus BatCounter
1 external power cable
1 carrying strap
8 AA batteries
1 SD Card
4 M6 eye bolts
EN

13
Layout
EN

14
Using your BatCounter
Preparing your BatCounter for use:
A1) Placing the batteries
A2) Using an external power supply
B) Placing an SD Card
C) Turning on the BatCounter
D) Turning off the BatCounter
E) Checking the status LEDs
A1) Placing the batteries
Batteries are not required if you are using the exter-
nal power cable
1. Open the battery lid by loosening the three
thumbscrews.
2. Place 8 new AA batteries of the same type and
charge in the holder. Put the batteries in the de-
vice in the directions printed on the housing.
3. Close the battery lid with the thumbscrews,
tighten them well to achieve a watertight seal.
A2) Using an external power supply
Use an external power source if you need to operate
your BatCounter for a prolonged time (more than
two days depending on cell phone usage).
4. Remove the dust cap from the external power
connector.
5. Ensure that both the connector on your cable and
the connector of the BatCounter are clean.
6. Connect the connector and tighten it carefully.
7. Connect your power supply to the power cable.
It should be a voltage source between 10 and 14
V DC, and be able to supply minimum 1A. The
average current of the BatCounter will be below
40 mA.
To calculate battery life, please fill in the following
formula:
[Capacity of battery (Ah)] / [0.04 (A)]
= Expected operating time [hours]
Example (a car battery of 66 Ah) 66 Ah / 0.04 A
= 1650 h = approx 68 days.
B) Placing an SD Card
8. Open the user interface by loosening the two
thumbscrews.
9. Remove old SD card (if present): push it inward
and it will eject itself.
10. Place a new SD card formatted with a FAT file
system. Make sure the contacts are facing up (SD
card is upside down). To format a new SD card
please read ‘Editing the BatCounter configura-
tion file’.
11. Close the user interface with the two thumb-
screws, tighten them well to achieve a watertight
seal.
C) Turning on the BatCounter
12. Push the power button once or apply external
power, the device will power up.
13. Your BatCounter performs a system check: if
any of the LEDs remain red, the device is not
operating correctly.
14. When the system check is completed, all LEDs
should go off, except for the system led which
will blink once every second.
D) Turning off the BatCounter
Push and hold the power button for approximately
one second, or remove the power supply.
E) Checking the status LEDs
15. Please turn on the power.
16. Push the select button briefly, until the green
battery LED lights up.
17. The LEDs will light up according to the current
battery state: all LEDs on = full, all LEDs off =
empty.
EN

15
The BatCounter configuration file
Editing the BatCounter configuration
file (use your computer)
To renew your “batcounterconfig.txt”:
1. Delete or rename the file “batcounterconfig.txt”
from you SD card.
2. Place the SD card in the BatCounter and turn it
on.
3. After 5 seconds you can turn it off.
4. A fresh copy of “batcounterconfig.txt” is placed
automatically on the SD card. Place the SD card
in your computer and navigate to its location.
5. Open the file “batcounterconfig.txt” in the root
directory of the SD card, use a plain text editor
like notepad to make modifications.
6. You can modify the file by changing the values,
or add fields that you can find in this manual.
If you use unrecognized values, a factory set of
values will be used instead, and an error is ap-
pended to the “log.txt” file when the BatCounter
is powered up.
7. When you have set the “batcounterconfig.txt”
according to your required settings, save it to the
SD card and safely remove the SD card. It is now
ready to use.
Configuration file syntax:
• Comments start with a semicolon.
• A configuration line starts with the field
name, followed by a <TAB>, then the field
value, eg: log_format 1 ;Comment.
• Unrecognized or invalid lines are reported in
the configuration file
EN

16
Available programmable features
The following table sums up the available features,
for detailed explanation and usage please consult
the regarding chapter.
Available Configuration options:
NAME DEFAULT RANGE DESCRIPTION
Log_format 10..1 Sets the output file format: 0=txt, 1=csv
Log_interval 1 0 Sets the time before writing a line to the log file: 0=immediate,
otherwise in minutes [0..720]
Log_newfile 40..4 Sets how long to log before creating a new file: 0=immediate,
1=minute, 2=hour, 3=day, 4=month
Log_zeroes 10..1 Should I log empty log-lines?: 0=no, =yes
Log_activity 00..1 Should I log activity (no valid passings) also? 0=no, 1=yes
Log_size 10..1 Should I log measured size?: 0=no, =yes
Log_speed 00..1 Should I log measured speed?: 0=no, 1=yes
Log_system 10..1 Should I log system variable (battery,
temperature)?: 0=no, 1=yes
Log_rh 00..1 Should I log RH?: 0=no, 1=yes
detect_min-
size 21..5 Minimum detection size? 1..5 (detection lines]
cam_trig-
gerin 00..2 Should I trigger a camera when I detect something flying IN? 0=no,
1=WIRED, 2=IR-Nikon, 3=IR-Canon
cam_trigger-
out 00..2 Should I trigger a camera when I detect something flying OUT?
0=no, 1=WIRED, 2=IR-Nikon, 3=IR-Canon
log_buffer-
time 00..60
Sets the time before writing a the temporary buffer to the SD card:
0=immediate, otherwise
in minutes [0..60].
sim_pin -string This must be the SIM PIN code, between double quotes, eg “0000”
sms_to -string
Sets the recipient of SMS messages. Format should be be-
tween double quotation marks, in international notation: eg:
“+31642758540”.
sms_firsttime -YYYY-MM-DD
HH:MM When should the first SMS message be sent?
sms_interval -YYYY-MM-DD
HH:MM At which interval should a SMS be sent?
sms_identi-
fier -string Max 15 char, to identify which BatCounter is sending the messages.
Will be sent in the SMS
sms_enable -0=no, 1=yes Enables the use of SMS. SMS_pin as well as sms_to must be set.
Otherwise an error will be reported.
EN

17
Detailed configuration of BatCounter
Configuring the logging algorithm
When you place the SD Card in the BatCounter, a
standard configured .csv file will be placed on the
card. It will add a new line every minute, and a new
file every month. It will log lines even if nothing hap-
pens, and it will include battery voltage and device
temperature in its logs also.
By configuring the logging algorithm you can change
the file type, data to be logged and how often a line
and file should be logged.
Study the meaning of log_format, log_interval,
log_newfile, log_zeroes, log_activity, log_system and
log_buffertime to change the behavior of the logging
algorithm.
Configuring the camera trigger
When using the BatCounter to trigger a digital cam-
era, you must take some precautions in setting up
your camera. For the best results and fast response
times it is advised to:
• Set the Focusing to Manual
• Set the Exposure time to Manual
• Set the Aperture to Manual
• Disable Auto-Power-Off feature
• Always check if your setup works when everything
is set. A wired connection is both faster and more
reliable than the infrared trigger.
In your BatCounter you have to set whether you want
to trigger for incoming or outgoing traffic, as well as
how to trigger the camera. This is done by the two
fields: cam_triggerin and cam_triggerout.
To trigger the camera via a wired connection, you’ll
have to purchase an extension cable. A standard
cable with 2,5mm jack is available at Apodemus.
Configuring the SIM card
Configuring the SIM card is required if you want to
use any of the cellular network based services like
sending SMS reports.
1. You will need an active SIM card (normal, mini
size).
2. In the batcounterconfig.txt file, you will need to
add a line to tell the BatCounter the PIN code to
use for SIM card, where 0000 should be replaced
with your PIN code “0000”
3. When using the SIM card, an antenna for GSM
mobile communications is required. Make sure
that this antenna is at least IPx7 rated in order to
keep water out, as the connector can leak!
Configuring the SMS module
The BatCounter can send you scheduled SMS texts to
keep you up to date on system status and
counting results. Please keep in mind that the per-
formance is based on cellular network performance,
making this option not available everywhere!
The message the BatCounter sends will look like this:
BatCounter Report BC1501001 “Main entry door”
Period 2015-09-04 12:00 to 2015-09-05 12:00
In: 25, Out: 10, ActIn: 2, ActOut: 0, Vbat:11.6 V
In order to use the SMS function your minimal con-
figuration requires you to configure the
following:
• Configure the SIM card as explained in above
chapter.
• Set the recipient’s mobile phone number with the
sms_to parameter: sms_to “+31612345678” ; Re-
cipients phone number. It is important to use the
double quotes and the notation as stated in ITU-T
E.123 (international notation), without spaces or
undialed digits, otherwise it might not work. It is
advised to test the configuration file before use.
• Set the first time to send a SMS report. The Bat-
Counter calculates the next message to be sent in
complete interval periods starting from this time,
after the BatCounter has been powered up. For-
matting of notation is critical. Use the following
notation: “YY-MM-DD HH:MM”: Eg: sms_firsttime
“15-09-01 12:00” ;YY-MM-DD HH:MM
• Set the interval time to send SMS messages. At
every full interval after the start time, a report
• will be sent, clearing the SMS report buffer. When
no interval is given, an interval of 24 hours is as-
sumed by the system.
sms_interval “00-00-01 00:00” ;Send a SMS every
day (24 hours)
• Set an identifier for your BatCounter. This string
will be sent in the SMS report for you to identify
which BatCounter is sending you messages. You
can conveniently call it your project name or loca-
tion. Maximum length is 15 characters.
EN

18
• sms_identifier “Main entry door”
• At last you need to enable the sms module:
sms_enable 1
The configuration file for using sms should look like this:
sim_pin “0000”
sms_to “+31612345678”
sms_firsttime “15-09-01 12:00”
sms_interval “00-00-01 00:00”
sms_identifier “Main entry door”
sms_enable 1
Configuring the email module
The BatCounter can send you scheduled emails as
well as keep you up to date on system status and
counting results. Please keep in mind that perfor-
mance is based on cellular network performance,
making this option not available everywhere.
You will need to have a data plan on your SIM card
before you can use this feature. Your network opera-
tor might charge you for data usage,
Apodemus will never be responsible for usage costs.
Configuring the email module can be challenging.
A good exercise would be to first configure the SMS
module.
The email message that the BatCounter sends will
look like this:
<not yet available>
In order to use the SMS functionality your configuration should at least contain the following information:
• Configure the SIM card as explained in the regarding chapter
• Consult your network operator for your APN settings, you will need at least a server name. Often a apn_user
and apn_pass are also required. Place these credentials in your config. file (example configured for certain
Vodafone settings as example):
apn_server “live.vodafone.com” ;Operators APN server name
apn_user “vodafone” ;APN username
apn_pass “vodafone” ;APN password
• Configure your SMTP server. Do not use your regular email address! Please create a dedicated email address
for this, as the passwords and login are placed (unsecured) on the SD card!
smtp_server “mail.yourdomain.com” ;smtp server address
smtp_user “smtusername” ;smtp username
smtp_pass “smtppassword” ;smtp password
If you are using a port other than port 25 (standard for SMTP), you should configure this too:
• smtp_port “1234” ;smtp port
Set the recipient for the emails, this is where the reports are being sent to.
• email_to “[email protected]”
• Set the identifier for this BatCounter, it should for example be its location. This identifier will be sent in
every report email.
email_identier “BatCounteratmainentrance”
• Set the first time to send an email report. The BatCounter calculates the next message to be sent in com-
plete interval periods starting from this time, after the BatCounter has been powered up. Formatting of
notation is critical. Use the following notation: “YY-MM-DD HH:MM”: Eg:
email_rsttime “15-09-0112:00” ;YY-MM-DDHH:MM
• Set the interval time to send email messages. At every full interval after the starttime, a report will be sent,
clearing the email report buffer. When no interval is given, an interval of 24 hours is assumed by the system.
email_interval “00-00-0100:00” ;Sendamaileveryday(24hours)
• Finally you need to enable the email module:
email_enable 1
EN

19
The configuration file for using emails could look like this:
sim_pin “0000”
apn_server “live.vodafone.com”
apn_user “vodafone”
apn_pass “vodafone”
smtp_server “mail.yourdomain.com”
smtp_user “smtpusername”
smtp_pass “smtppassword”
email_identifier “First BatCounter Email”
email_firsttime “15-09-01 12:00”
email_interval “00-00-00 00:10” ;Every ten min
email_enable 1
EN

20
BatCounter system log files
Log files
The BatCounter is equipped with an error reporting
function: this function enables the developers to
get feedback from you, the professional user, with
enough technical detail to further investigate the
error you came across.
During normal operation and whenever errors occur,
a line is appended to the file log.txt. If you find your
BatCounter not functioning appropriately, chances
are that this file contains hints about what is going
on.
Open the file and examine the last lines. Are there
any errors since last power up? It will show you
system events and failures, as well as text errors of
the configuration file. You can safely delete
this file when you are experimenting. Whenever new
events happen a new file is automatically
generated.
If you experience issues with your BatCounter you are
encouraged to send this file to
[email protected]. Please answer the following ques-
tions when reporting an error:
• Can you make the error reappear/disappear? If so,
how?
• Is the error always occurring?
• Did you change anything before the error oc-
curred?
• Do you have a feeling about what is happening?
• Are you using any special options?
Include as much details as possible. Please include
the log.txt file, “batcounterconfig.txt” file, a recent
log file, and above answers. We will try to resolve
your error as soon as possible
EN
Table of contents
Languages: