SM3/SM4 FS RS-232 Monitor Interface User Guide
Wildlife Acoustics, Inc. page 6
the “B” start character through the “,” delimiter just before the checksum value
using the polynomial (x^7+x^3+1).
For example, the message “B20170522034559,6.1,26,5,8,153,0,0,3F”+<CR> would
be as of May 22, 2017 at 03:45:59 in the morning (24-hour time), battery
measuring 6.1V, internal temperature 26C, flash cards 5% full, 8 bat passes and 153
bat pulses, detected since the last power cycle, on channel 0 (and nothing on
channel 1) and a valid CRC-7 value of 0x3F.
Note that after power-up, the SM3BAT or SM4BAT FS may listen on the RS-232
port at 38,400 baud. If the customer equipment sends the request message at
19,200 baud, the SM3BAT or SM4BAT FS will detect a first character with the value
0x18 typically followed by two additional characters with undetermined values.
This is how the SM3BAT or SM4BAT FS could automatically detect if the customer
equipment is operating at 19,200 baud. If this is the case, the SM3BAT or SM4BAT
FS can reconfigure the UART to operate at this lower baud rate. As a consequence,
the first request message (or the first few request messages) after power up may
go unanswered.
Operational Considerations
Scheduling
The SM3BAT or SM4BAT FS can be programmed to monitor during specific periods
of the day, and “sleep” during other parts of the day to conserve power. When the
SM3BAT or SM4BAT FS is sleeping, it will not respond to RS-232 messages.
Therefore, the SM3BAT or SM4BAT FS must be programmed when to be
monitoring for bats: e.g. 24 hours or just at night, etc.
Recording
The SM3BAT or SM4BAT FS normally records the ultrasonic echolocation audio
data on up to 4 SDHC or SDXC flash cards. Full spectrum recordings can typically
consume 1-2GB of card space per night depending on bat activity. The flash cards
will eventually fill up. Normally, the SM3BAT or SM4BAT FS would shut down if it is
no longer able to make recordings. However, for this application, it is desirable to
continue monitoring, updating bat counters, and responding to requests. If the RS-
232 interface is detected, then the SM3BAT or SM4BAT FS will continue monitoring
for bats even if the flash cards are full, but no new bat activity data will be recorded.
This condition is indicated by the flash card 100% full indication in the response
messages.