Appiko
Macros
Appiko Sense Be Rx unit revision 2

Board definitions for the 2nd revision of the receiver unit of SenseBe active motion sensor by Appiko. More...

Macros

#define PHOTODIODE_LIGHT_SENSE   5
 
#define PHOTODIODE_ENABLE_PIN   GPIO1_PIN
 
#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
 

Pins for testing and debugging

#define GPIO1_PIN   19
 
#define GPIO2_PIN   18
 

LED definitions for SenseBe Rx rev2

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

Definition of configuration mode enable button pin

#define BUTTON_PIN   8
 
#define BUTTON_ACTIVE_STATE   0
 

Definitions of the pin of the audio jack to trigger camera

#define JACK_INSERTED_PIN   11
 
#define JACK_FOCUS_PIN   12
 
#define JACK_TRIGGER_PIN   13
 

Serial port definitions for communicating with SenseBe Tx unit

A audio jack connected is used as the port for communication

#define RXTX_UART_RX_PIN   15
 
#define RXTX_UART_TX_PIN   16
 
#define RXTX_UART_JACK_INSERTED   14
 

TSSP4056 IR receiver output and enable pins definitions

#define TSSP_RX_OUT   6
 
#define TSSP_RX_EN   7
 

Serial port definitions for Sense rev4

#define RX_PIN_NUMBER   17
 
#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

#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 121 of file sensebe_rx_rev2.h.

◆ BUTTON_ACTIVE_STATE

#define BUTTON_ACTIVE_STATE   0

The logic level at which the Button will set value

Definition at line 68 of file sensebe_rx_rev2.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   1

The output level at which the LEDs shine

Definition at line 53 of file sensebe_rx_rev2.h.

◆ PHOTODIODE_ENABLE_PIN

#define PHOTODIODE_ENABLE_PIN   GPIO1_PIN

Photodiode Enable Pin

Definition at line 60 of file sensebe_rx_rev2.h.

◆ PHOTODIODE_LIGHT_SENSE

#define PHOTODIODE_LIGHT_SENSE   5

Photodiode light sensing

Definition at line 57 of file sensebe_rx_rev2.h.