Appiko
Macros
Appiko Sense Be unit revision 3

Board definitions for the 3rd revision of the transceiver unit of SenseBe active motion sensor by Appiko. More...

Macros

#define BATT_VOLTAGE_SENSE   31
 Battery voltage level sensing pin.
 
#define SENSEBE_RX_TX_SEL_PIN   11
 
#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
 
#define BATT_VOLTAGE_SENSE   31
 Battery voltage level sensing pin.
 
#define SENSEBE_RX_TX_SEL_PIN   11
 
#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
 
#define BATT_VOLTAGE_SENSE   31
 Battery voltage level sensing pin.
 
#define SENSEBE_RX_TX_SEL_PIN   11
 
#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
 

Pins for testing and debugging

#define GPIO1_PIN   17
 
#define GPIO2_PIN   16
 

LED definitions for SenseBe

Note
LED_1 and LED_2 are defines of the LED for compatibility with existing examples
#define LED_RED   9
 
#define LED_GREEN   10
 
#define LED_1   9
 
#define LED_2   10
 
#define LEDS_ACTIVE_STATE   1
 

Light Sensor definitions for SenseBe

#define PHOTODIODE_LIGHT_SENSE   28
 
#define PHOTODIODE_LIGHT_SENSE_EN   29
 

Definition of configuration mode enable button pin

#define BUTTON_PIN   18
 
#define BUTTON_ACTIVE_STATE   0
 

Definitions of the pin of the audio jack to trigger camera

#define JACK_CAM_JACK   13
 
#define JACK_FOCUS_PIN   14
 
#define JACK_TRIGGER_PIN   12
 

TSSP4056 IR receiver output and enable pins definitions

#define TSSP_RX_OUT   8
 
#define TSSP_RX_EN   7
 

IR transmitter

#define IR_TX_LED_EN   30
 
#define IR_TX_REG_EN   27
 
#define IR_TX_PWR1   5
 
#define IR_TX_PWR2   6
 
#define IR_TX_VLED   4
 

Serial port definitions for Sense rev4

#define RX_PIN_NUMBER   19
 
#define TX_PIN_NUMBER   20
 
#define HWFC   false
 
#define RTS_PIN_NUMBER   23
 
#define CTS_PIN_NUMBER   24
 

Pins for testing and debugging

#define GPIO1_PIN   17
 
#define GPIO2_PIN   16
 

LED definitions for SenseBe

Note
LED_1 and LED_2 are defines of the LED for compatibility with existing examples
#define LED_RED   9
 
#define LED_GREEN   10
 
#define LED_1   9
 
#define LED_2   10
 
#define LEDS_ACTIVE_STATE   1
 

Light Sensor definitions for SenseBe

#define PHOTODIODE_LIGHT_SENSE   28
 
#define PHOTODIODE_LIGHT_SENSE_EN   29
 

Definition of configuration mode enable button pin

#define BUTTON_PIN   18
 
#define BUTTON_ACTIVE_STATE   0
 

Definitions of the pin of the audio jack to trigger camera

#define JACK_CAM_JACK   13
 
#define JACK_FOCUS_PIN   14
 
#define JACK_TRIGGER_PIN   12
 

TSSP4056 IR receiver output and enable pins definitions

#define TSSP_RX_OUT   8
 
#define TSSP_RX_EN   7
 

IR transmitter

#define IR_TX_LED_EN   30
 
#define IR_TX_REG_EN   27
 
#define IR_TX_PWR1   5
 
#define IR_TX_PWR2   6
 
#define IR_TX_VLED   4
 

Serial port definitions for Sense rev4

#define RX_PIN_NUMBER   19
 
#define TX_PIN_NUMBER   20
 
#define HWFC   false
 
#define RTS_PIN_NUMBER   23
 
#define CTS_PIN_NUMBER   24
 

Pins for testing and debugging

#define GPIO1_PIN   17
 
#define GPIO2_PIN   16
 

LED definitions for SenseBe

Note
LED_1 and LED_2 are defines of the LED for compatibility with existing examples
#define LED_RED   9
 
#define LED_GREEN   10
 
#define LED_1   9
 
#define LED_2   10
 
#define LEDS_ACTIVE_STATE   1
 

Light Sensor definitions for SenseBe

#define PHOTODIODE_LIGHT_SENSE   28
 
#define PHOTODIODE_LIGHT_SENSE_EN   29
 

Definition of configuration mode enable button pin

#define BUTTON_PIN   18
 
#define BUTTON_ACTIVE_STATE   0
 

Definitions of the pin of the audio jack to trigger camera

#define JACK_CAM_JACK   13
 
#define JACK_FOCUS_PIN   14
 
#define JACK_TRIGGER_PIN   12
 

TSSP4056 IR receiver output and enable pins definitions

#define TSSP_RX_OUT   8
 
#define TSSP_RX_EN   7
 

IR transmitter

#define IR_TX_LED_EN   30
 
#define IR_TX_REG_EN   27
 
#define IR_TX_PWR1   5
 
#define IR_TX_PWR2   6
 
#define IR_TX_VLED   4
 

Serial port definitions for Sense rev4

#define RX_PIN_NUMBER   19
 
#define TX_PIN_NUMBER   20
 
#define HWFC   false
 
#define RTS_PIN_NUMBER   23
 
#define CTS_PIN_NUMBER   24
 

Detailed Description

Macro Definition Documentation

◆ BOARD_LFCLKSRC_STRUCT [1/3]

#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 138 of file senseberx_rev3.h.

◆ BOARD_LFCLKSRC_STRUCT [2/3]

#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 138 of file sensebetx_rev3.h.

◆ BOARD_LFCLKSRC_STRUCT [3/3]

#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 139 of file sensebe_rev3.h.

◆ BUTTON_ACTIVE_STATE [1/3]

#define BUTTON_ACTIVE_STATE   0

The logic level at which the Button will set value

Definition at line 72 of file sensebetx_rev3.h.

◆ BUTTON_ACTIVE_STATE [2/3]

#define BUTTON_ACTIVE_STATE   0

The logic level at which the Button will set value

Definition at line 72 of file senseberx_rev3.h.

◆ BUTTON_ACTIVE_STATE [3/3]

#define BUTTON_ACTIVE_STATE   0

The logic level at which the Button will set value

Definition at line 73 of file sensebe_rev3.h.

◆ IR_TX_LED_EN [1/3]

#define IR_TX_LED_EN   30

Pin where signal has to be given

Definition at line 95 of file sensebetx_rev3.h.

◆ IR_TX_LED_EN [2/3]

#define IR_TX_LED_EN   30

Pin where signal has to be given

Definition at line 95 of file senseberx_rev3.h.

◆ IR_TX_LED_EN [3/3]

#define IR_TX_LED_EN   30

Pin where signal has to be given

Definition at line 96 of file sensebe_rev3.h.

◆ IR_TX_PWR1 [1/3]

#define IR_TX_PWR1   5

Power control pin 1

Definition at line 99 of file sensebetx_rev3.h.

◆ IR_TX_PWR1 [2/3]

#define IR_TX_PWR1   5

Power control pin 1

Definition at line 99 of file senseberx_rev3.h.

◆ IR_TX_PWR1 [3/3]

#define IR_TX_PWR1   5

Power control pin 1

Definition at line 100 of file sensebe_rev3.h.

◆ IR_TX_PWR2 [1/3]

#define IR_TX_PWR2   6

Power control pin 2

Definition at line 101 of file sensebetx_rev3.h.

◆ IR_TX_PWR2 [2/3]

#define IR_TX_PWR2   6

Power control pin 2

Definition at line 101 of file senseberx_rev3.h.

◆ IR_TX_PWR2 [3/3]

#define IR_TX_PWR2   6

Power control pin 2

Definition at line 102 of file sensebe_rev3.h.

◆ IR_TX_REG_EN [1/3]

#define IR_TX_REG_EN   27

Pin to control the Regulator

Definition at line 97 of file sensebetx_rev3.h.

◆ IR_TX_REG_EN [2/3]

#define IR_TX_REG_EN   27

Pin to control the Regulator

Definition at line 97 of file senseberx_rev3.h.

◆ IR_TX_REG_EN [3/3]

#define IR_TX_REG_EN   27

Pin to control the Regulator

Definition at line 98 of file sensebe_rev3.h.

◆ IR_TX_VLED [1/3]

#define IR_TX_VLED   4

Pin to measure VLED voltage

Definition at line 103 of file sensebetx_rev3.h.

◆ IR_TX_VLED [2/3]

#define IR_TX_VLED   4

Pin to measure VLED voltage

Definition at line 103 of file senseberx_rev3.h.

◆ IR_TX_VLED [3/3]

#define IR_TX_VLED   4

Pin to measure VLED voltage

Definition at line 104 of file sensebe_rev3.h.

◆ LEDS_ACTIVE_STATE [1/3]

#define LEDS_ACTIVE_STATE   1

The output level at which the LEDs shine

Definition at line 52 of file senseberx_rev3.h.

◆ LEDS_ACTIVE_STATE [2/3]

#define LEDS_ACTIVE_STATE   1

The output level at which the LEDs shine

Definition at line 52 of file sensebetx_rev3.h.

◆ LEDS_ACTIVE_STATE [3/3]

#define LEDS_ACTIVE_STATE   1

The output level at which the LEDs shine

Definition at line 53 of file sensebe_rev3.h.

◆ PHOTODIODE_LIGHT_SENSE [1/3]

#define PHOTODIODE_LIGHT_SENSE   28

Photodiode light sensing

Definition at line 60 of file senseberx_rev3.h.

◆ PHOTODIODE_LIGHT_SENSE [2/3]

#define PHOTODIODE_LIGHT_SENSE   28

Photodiode light sensing

Definition at line 60 of file sensebetx_rev3.h.

◆ PHOTODIODE_LIGHT_SENSE [3/3]

#define PHOTODIODE_LIGHT_SENSE   28

Photodiode light sensing

Definition at line 61 of file sensebe_rev3.h.

◆ PHOTODIODE_LIGHT_SENSE_EN [1/3]

#define PHOTODIODE_LIGHT_SENSE_EN   29

Photodiode Enable Pin

Definition at line 63 of file sensebetx_rev3.h.

◆ PHOTODIODE_LIGHT_SENSE_EN [2/3]

#define PHOTODIODE_LIGHT_SENSE_EN   29

Photodiode Enable Pin

Definition at line 63 of file senseberx_rev3.h.

◆ PHOTODIODE_LIGHT_SENSE_EN [3/3]

#define PHOTODIODE_LIGHT_SENSE_EN   29

Photodiode Enable Pin

Definition at line 64 of file sensebe_rev3.h.

◆ SENSEBE_RX_TX_SEL_PIN [1/3]

#define SENSEBE_RX_TX_SEL_PIN   11

Pin that denotes if a board is TX or RX If Pin is high the board is RX, TX if the pin is low

Definition at line 121 of file sensebetx_rev3.h.

◆ SENSEBE_RX_TX_SEL_PIN [2/3]

#define SENSEBE_RX_TX_SEL_PIN   11

Pin that denotes if a board is TX or RX If Pin is high the board is RX, TX if the pin is low

Definition at line 121 of file senseberx_rev3.h.

◆ SENSEBE_RX_TX_SEL_PIN [3/3]

#define SENSEBE_RX_TX_SEL_PIN   11

Pin that denotes if a board is TX or RX If Pin is high the board is RX, TX if the pin is low

Definition at line 122 of file sensebe_rev3.h.