Appiko
Macros
Appiko Detect Revision 1

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

Macros

#define DEBUG_PIN   18
 
#define DC_DC_CIRCUITRY   true
 Bool define if the circuitry is present for the internal DC-DC of nRF52.
 
#define NFC_CIRCUITRY   true
 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 Detect rev1.

The connection is: Anode pin -> 100E resistor -> LED -> Cathode pin. The LED anode pin is the Sense pin.

#define LED_GREEN_ANODE   12
 
#define LED_GREEN_CATHODE   14
 
#define LED_GREEN_SENSE   3
 
#define LED_ORANGE_ANODE   11
 
#define LED_ORANGE_CATHODE   13
 
#define LED_ORANGE_SENSE   2
 

Button definitions for Detect rev1

#define BUTTON_PIN   17
 
#define BUTTONS_ACTIVE_STATE   0
 
#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP
 

Serial port definitions for Detect rev1

#define RX_PIN_NUMBER   19
 
#define TX_PIN_NUMBER   22
 
#define CTS_PIN_NUMBER   7
 
#define RTS_PIN_NUMBER   5
 
#define HWFC   false
 

Wide angle PIR definitions for Detect rev1.

#define WIDE_VDD_PIN   6
 
#define WIDE_SIGNAL_PIN   4
 
#define WIDE_OFFSET_PIN   5
 

Narrow angle PIR definitions for Detect rev1.

#define NARROW_VDD_PIN   27
 
#define NARROW_SIGNAL_PIN   28
 
#define NARROW_OFFSET_PIN   29
 

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 105 of file detect_rev1.h.

◆ BUTTON_PULL

#define BUTTON_PULL   NRF_GPIO_PIN_PULLUP

The kind of internal resistors required for the button

Definition at line 53 of file detect_rev1.h.

◆ BUTTONS_ACTIVE_STATE

#define BUTTONS_ACTIVE_STATE   0

The input level when the button is pressed

Definition at line 51 of file detect_rev1.h.

◆ DEBUG_PIN

#define DEBUG_PIN   18

Pin for debugging purpose

Definition at line 57 of file detect_rev1.h.

◆ HWFC

#define HWFC   false

Bool to say if the hardware flow control is required

Definition at line 67 of file detect_rev1.h.

◆ NARROW_OFFSET_PIN

#define NARROW_OFFSET_PIN   29

The DC offset of the PIR sensor output

Definition at line 89 of file detect_rev1.h.

◆ NARROW_SIGNAL_PIN

#define NARROW_SIGNAL_PIN   28

The RC filtered output of the PIR sensor

Definition at line 87 of file detect_rev1.h.

◆ NARROW_VDD_PIN

#define NARROW_VDD_PIN   27

This pin provides the supply for the PIR sensor and RC filter

Definition at line 85 of file detect_rev1.h.

◆ WIDE_OFFSET_PIN

#define WIDE_OFFSET_PIN   5

The DC offset of the PIR sensor output

Definition at line 78 of file detect_rev1.h.

◆ WIDE_SIGNAL_PIN

#define WIDE_SIGNAL_PIN   4

The RC filtered output of the PIR sensor

Definition at line 76 of file detect_rev1.h.

◆ WIDE_VDD_PIN

#define WIDE_VDD_PIN   6

This pin provides the supply for the PIR sensor and RC filter

Definition at line 74 of file detect_rev1.h.