Appiko
Macros
Appiko Sense Revision 2

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

Macros

#define TPS610985_REG_MODE_PIN   25
 
#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
 

LED definitions for Sense rev2 which uses HackaBLE

Note
LED_1, LED_2 and LED_3 are defines of the RGB LED for compatibility with existing examples
#define LED_RED   19
 
#define LED_GREEN   20
 
#define LED_BLUE   17
 
#define LED_1   17
 
#define LED_2   20
 
#define LED_3   19
 
#define LEDS_ACTIVE_STATE   0
 

Serial port definitions for Sense rev2

#define RX_PIN_NUMBER   26
 
#define TX_PIN_NUMBER   27
 
#define CTS_PIN_NUMBER   30
 
#define RTS_PIN_NUMBER   29
 
#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   3
 
#define PIR_AMP_OFFSET_PIN   2
 

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, \
.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}

Low frequency clock source used when initializing the SoftDevice

Definition at line 92 of file sensepi_rev2.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   0

The output level at which the LEDs shine

Definition at line 44 of file sensepi_rev2.h.

◆ PIR_AMP_OFFSET_PIN

#define PIR_AMP_OFFSET_PIN   2

The DC offset of the ampified PIR sensor output

Definition at line 72 of file sensepi_rev2.h.

◆ PIR_AMP_SIGNAL_PIN

#define PIR_AMP_SIGNAL_PIN   3

The amplified and filtered output of the PIR sensor

Definition at line 70 of file sensepi_rev2.h.

◆ PIR_RC_OFFSET_PIN

#define PIR_RC_OFFSET_PIN   5

The DC offset of the PIR sensor output

Definition at line 63 of file sensepi_rev2.h.

◆ PIR_RC_SIGNAL_PIN

#define PIR_RC_SIGNAL_PIN   4

The RC filtered output of the PIR sensor

Definition at line 61 of file sensepi_rev2.h.

◆ TPS610985_REG_MODE_PIN

#define TPS610985_REG_MODE_PIN   25

Controls the high/low power mode of the TPS610985 boost converter It is pulled low (low power mode) in the circuitry

Definition at line 77 of file sensepi_rev2.h.