WebCom 2015 IoT presentation
WebCom2013 - Node - Bell
WebCom2013 - Node - BellID=x44 d68
|
|
#define MAX_MESSAGE_LEN 30 // Payload lenght including: Sync Byte x47 (optional), dstID, MyID, Type, Inst, Len, Data[] |
|
|
|
WebCom - Node - Proto1 - Schematic & PCB
|
|
|
|
sWebComConfig WebComConfig = {
ProgramMyID, //uint8_t MyID; // X47x31x61x30x31x32 71;49;97;48;49;50 GGG1a012 (12594)
true, //bool Enable_Com; // Enable Com Port
true, //bool Enable_vwRF433; // Enable vwRF433
false, //bool Enable_nRF905; // Enable nRF905
nRF905ADDR, //byte nRF905addr[4]; // {192, 168, 0, 2} // Address of this device (4 bytes)
true, //bool Enable_Alarm; // Enable Alarm
2, //uint8_t AlarmPin ; // LDR-HW pin connected 0 = ADC2
500, //int AlarmTreshold; // 0-1024
0xFF, //uint8_t AlarmDstID; // AlarmDstID
28, //uint8_t AlarmInst; // Alarm Instruction // => Data has Alarm Value, Len = 2
1, //int AlarmCount; // Count Alarm cycles
true, //bool Enable_Event; // Enable Alarm
20000, //long EventPeriod_ms; // Event Period in milli Sec
3, //uint8_t EventPin ; // LDR-HW pin connected ADC3
500, //int EventTreshold; // 0-1024
0xFF, //uint8_t EventDstID; // AlarmDstID
17, //uint8_t EventInst; // Alarm Instruction // => Data has Alarm Value, Len = 2
0, //int EventCount; // Count Event Cycles
false, //bool Enable_Temperature; // Enable Alarm
22.1, //float UpperTemperature;
14.9, //float LowerTemperature;
0xFF, //uint8_t TempAlarmDstID; // TemperatureAlarm DstID
28, //uint8_t TempAlarmInst; // TemperatureAlarm Instruction // => Data has Alarm Value, Len = 2
1, // Enable Network
2, // Set httpMode AnalogInputs = 1, RF433Control = 2, SDWebServer = 3
0, // EnableSMS
"0473990345", // PhoneNumber
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } // uint8_t Spare[10];
|
WebCom2013 - Server
WebCom2013 - Gate / Passage Control x33ID=x22 d34
|
|
#define nRF905ADDR {192, 168, 0, ProgramMyID} // Address of this device (4 bytes)
|
|
http://192.168.0.34
|
|
|
|
sWebComConfig WebComConfig = {
|