Appiko
Macros
Appiko Sense Revision 3

The third revision of the animal detector unit by Appiko. More...

Macros

#define BATT_VOLTAGE_SENSE   31
 Battery voltage level sensing pin.
 
#define DC_DC_CIRCUITRY   true
 Bool define if the circuitry is present for the internal DC-DC of nRF52.
 
#define NFC_CIRCUITRY   false
 Bool define if a NFC Antenna circuitry is present.
 
#define LFCLK_XTAL_PRESENT   true
 Bool define if the 32 kHz crystal is present for the LFCLK.
 
#define HFCLK_XTAL_PRESENT   true
 Bool define if a crystal is present for the HFCLK.
 
#define BOARD_LFCLKSRC_STRUCT
 

RGB LED definitions for Sense rev3

Note
LED_1, LED_2 and LED_3 are defines of the RGB LED for compatibility with existing examples
#define LED_RED   28
 
#define LED_GREEN   29
 
#define LED_BLUE   27
 
#define LED_1   28
 
#define LED_2   29
 
#define LED_3   27
 
#define LEDS_ACTIVE_STATE   1
 
#define LED_LIGHT_SENSE   30
 

Definition of configuration mode enable button pin

#define BUTTON_PIN   26
 
#define BUTTON_ACTIVE_STATE   0
 

Definitions of the pin of the audio jack to trigger camera

#define JACK_DETECT   13
 
#define JACK_FOCUS   12
 
#define JACK_TRIGGER   11
 

Serial port definitions for Sense rev3

#define RX_PIN_NUMBER   19
 
#define TX_PIN_NUMBER   17
 
#define CTS_PIN_NUMBER   18
 
#define RTS_PIN_NUMBER   20
 
#define HWFC   false
 

Pins for the signal directly from the PIR through a RC filter

#define PIR_RC_SIGNAL_PIN   4
 
#define PIR_RC_OFFSET_PIN   5
 

Pins for the amplified and filtered PIR signal

#define PIR_AMP_SIGNAL_PIN   5
 
#define PIR_AMP_OFFSET_PIN   4
 

Detailed Description

Macro Definition Documentation

◆ BOARD_LFCLKSRC_STRUCT

#define BOARD_LFCLKSRC_STRUCT
Value:
{.source = NRF_CLOCK_LF_SRC_XTAL, \
.rc_ctiv = 0, \
.rc_temp_ctiv = 0, \
.accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM}

Low frequency clock source used when initializing the SoftDevice

Definition at line 110 of file sensepi_rev3.h.

◆ BUTTON_ACTIVE_STATE

#define BUTTON_ACTIVE_STATE   0

The logic level at which the Button will set value

Definition at line 55 of file sensepi_rev3.h.

◆ LED_LIGHT_SENSE

#define LED_LIGHT_SENSE   30

The light sensing pin with the Green LED

Definition at line 46 of file sensepi_rev3.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   1

The output level at which the LEDs shine

Definition at line 44 of file sensepi_rev3.h.

◆ PIR_AMP_OFFSET_PIN

#define PIR_AMP_OFFSET_PIN   4

The DC offset of the ampified PIR sensor output

Definition at line 94 of file sensepi_rev3.h.

◆ PIR_AMP_SIGNAL_PIN

#define PIR_AMP_SIGNAL_PIN   5

The amplified and filtered output of the PIR sensor

Definition at line 92 of file sensepi_rev3.h.

◆ PIR_RC_OFFSET_PIN

#define PIR_RC_OFFSET_PIN   5

The DC offset of the PIR sensor output

Definition at line 85 of file sensepi_rev3.h.

◆ PIR_RC_SIGNAL_PIN

#define PIR_RC_SIGNAL_PIN   4

The RC filtered output of the PIR sensor

Definition at line 83 of file sensepi_rev3.h.