Tarts Basic control Скачать руководство пользователя страница 6

© 2014 Tarts Sensors, LLC.  All Rights Reserved.

 

Tarts Basic Control User

’s Guide (12/14)

 

Software 

Basic Control as a Sensor 

Tarts Basic Control is treated by the software as another sensor object; even though it is not technically a sensor, it is 
another wireless device on the network and behaves like a sensor. Therefore, all features in Report Interval, Link 
Interval, Retry, and Recovery are also valid for this device.  Therefore, it defines its own sensor type.  
 
Tarts Basic Control can be used to activate a switch (open it or close it), or you can create an application such that the 
unit reacts to other sensor types, such as temperature (ie, if a temperature sensor reports above 30°C, Basic Control will 
turn on a fan). 
 

Basic Control-specific Properties and Methods 

To manipulate these features, use these functions

Type 

Function Call  

Parameters 

Default State 

void 

setDefaultSwitchClosed(bool value) 

OPEN=TRUE, CLOSE=FALSE 

TRUE 

void 

setUseLowPower(bool value) 

TRUE, FALSE 

TRUE 

void 

setLedMode(TartsBasic Control::ledOptions value) 

enum{ALWAYS_OFF= 0, ALWAYS_ON=1, 
FLASH_WITH_POLL=2} 

ALWAYS_OFF

 

void 

setPollRate(uint16_t value) 

0-65535 seconds 

60 

bool 

getDefaultSwitchClosed() 

OPEN=1, CLOSE=0 

 

bool 

getUseLowPower() 

TRUE=1, FALSE=0 

 

TartsBasic 
Control::ledO
ptions 

getLedMode() 

enum{ALWAYS_OFF= 0, ALWAYS_ON=1, 
FLASH_WITH_POLL=2} 

 

uint16_t 

getPollRate() 

0-65535 seconds 

 

void 

sendControl(TartsBasic Control::switchOptions 
option) 

enum{OPEN = 1, CLOSE=2, TOGGLE=3} 

 

void 

sendControl(TartsBasic Control::switchOptions 
option, uint16_t commandDuration) 

enum{OPEN=1, CLOSE=2, TOGGLE=3},  
0-65535 seconds 

 

 

Tip

: When you are sending configuration settings to Tarts Basic Control using the ‘set’ methods, the program will revert 

to default configurations for parameters that are either not set and stored in global variables in the code file, or not 
stored in persistent memory. This can be a cause for confusion.  Also, when Tarts Basic Control is power cycled, it will 
revert to the defaultSwitchClosed state, regardless of what state is was in prior to that.  
 

Default Switch Closed:

 This defines what the default state of the switch is when the device enters its application mode, 

such as on power up. 
 

Low Power Mode: 

This mode selection allows the user to select if the device will be in a low power mode or a high 

power mode.  
 
When this property is TRUE, the device turns off the radio receiver in between poll intervals to save power.  Therefore, 
the selection of the poll interval is critical.  In essence, the larger the poll interval, the longer the battery life.  If an 
application does not require immediate reaction, power consumption can further be reduced by setting long poll 
intervals.  See “

Poll interval

” property for details below.  

 

Содержание Basic control

Страница 1: ...Tarts Basic Control User s Guide TM TM...

Страница 2: ...rol User s Guide 12 14 Table of Contents Overview 3 Use It For 3 Community Forum 3 Serial Identification Numbers 4 Antenna Orientation 5 Light Indicators 5 Tech specs for this device 7 Warranty Inform...

Страница 3: ...the action on the switch OPEN the switch CLOSE the switch or TOGGLE the switch to the opposite state When such an action is performed Tarts Basic Control will report the new state to the gateway Be a...

Страница 4: ...C All Rights Reserved 4 Tarts Basic Control User s Guide 12 14 Hardware Control Port The switch is an NPN transistor The NPN Collector input can handle up to 40 VDC and up to 30 mA with a switching ti...

Страница 5: ...circuit board on each Tarts Basic Control This is NOT the same as the UPC label on the packaging It is on the face of the plate You will need to know this identification number The identification numb...

Страница 6: ...tions getLedMode enum ALWAYS_OFF 0 ALWAYS_ON 1 FLASH_WITH_POLL 2 uint16_t getPollRate 0 65535 seconds void sendControl TartsBasic Control switchOptions option enum OPEN 1 CLOSE 2 TOGGLE 3 void sendCon...

Страница 7: ...hen the device is not in Low Power Mode Send Control When sending the command the user can tell the switch to go open go closed or toggle switch to the opposite state The user can optionally set a tim...

Страница 8: ...that are damaged or not in original form For products outside the ninety day warranty period repair services are available at Tarts at standard labor rates for a period of one year from the customer...

Страница 9: ...rease the separation between the equipment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced ra...

Страница 10: ...metteur radio peut fonctionner avec une antenne d un type et d un gain maximal ou inf rieur approuv pour l metteur par Industrie Canada Dans le but de r duire les risques de brouillage radio lectrique...

Отзывы: