Appiko
Macros
Appiko Sense Be unit revision 1

Board definitions for the 2nd revision of the transreceiver unit of SenseBe active motion sensor 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
 

Pins for testing and debugging

#define GPIO1_PIN   19
 
#define GPIO2_PIN   18
 

LED definitions for SenseBe

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
 

Light Sensor definitions for SenseBe

#define PHOTODIODE_LIGHT_SENSE   5
 
#define PHOTODIODE_LIGHT_SENSE_EN   29
 

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
 

IR transmitter

#define IR_TX_LED_EN   27
 
#define IR_TX_REG_EN   28
 
#define IR_TX_PWR1   3
 
#define IR_TX_PWR2   4
 

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 140 of file sensebe_rev1.h.

◆ BUTTON_ACTIVE_STATE

#define BUTTON_ACTIVE_STATE   0

The logic level at which the Button will set value

Definition at line 73 of file sensebe_rev1.h.

◆ IR_TX_LED_EN

#define IR_TX_LED_EN   27

Pin where signal has to be given

Definition at line 105 of file sensebe_rev1.h.

◆ IR_TX_PWR1

#define IR_TX_PWR1   3

Power control pin 1

Definition at line 109 of file sensebe_rev1.h.

◆ IR_TX_PWR2

#define IR_TX_PWR2   4

Power control pin 2

Definition at line 111 of file sensebe_rev1.h.

◆ IR_TX_REG_EN

#define IR_TX_REG_EN   28

Pin to control the Regulator

Definition at line 107 of file sensebe_rev1.h.

◆ LEDS_ACTIVE_STATE

#define LEDS_ACTIVE_STATE   1

The output level at which the LEDs shine

Definition at line 53 of file sensebe_rev1.h.

◆ PHOTODIODE_LIGHT_SENSE

#define PHOTODIODE_LIGHT_SENSE   5

Photodiode light sensing

Definition at line 61 of file sensebe_rev1.h.

◆ PHOTODIODE_LIGHT_SENSE_EN

#define PHOTODIODE_LIGHT_SENSE_EN   29

Photodiode Enable Pin

Definition at line 64 of file sensebe_rev1.h.