Time to push some buttons! (Seeing the demo script in action)
Using our “multicast” capability, here we use the preloaded SNAPpy script
“McastCounter.py” to show that all three nodes can talk to (and hear) each other.
Press the select switch on the SN111 End Device Demonstration Board or the SN171
Proto Board. The seven-segment display on the SN111 should now be showing “01.” The
SN171 Proto Board and the bridge device receive the count as well, but have no seven-
segment display to display the change. Instead you can watch the lower two bits of the
count displayed on LED2 and LED1 on the SN171, and as a cycling tri-color LED on the
SNAP Stick.
Each additional button press should advance the displayed count by one (wrapping
around to 00 after the maximum value of 99), regardless of which node’s button you use .
Press the button on the SN171 Proto Board node to see it advance the count as well. (If
this does not function as expected, check the S1SEL jumper on the SN171 to be sure it is
connecting the GPIO5 pin rather than the RESET pin.) Turn off the SN111 End Device
board, and then turn it back on. Notice that it is now displaying 00 on its seven-segment
display. Press the button on the SN171, and the SN111 will now display the new count.
Press and hold for two seconds the push-button on either of the nodes to reset the
count to zero. The node with the seven-segment display should now show “00”.
Unplug the SNAP Stick from the USB port. Press the buttons on the remaining nodes.
The displayed count on the remaining nodes should still increment with every press of the
Select button.
The “bridge” node can provide the eventual connection to the Portal PC, but it is not a
“coordinator” of the SNAP network. (there is no central coordinator with SNAP)
Plug the SNAP Stick back in if you want to see all three nodes interoperating some more.
Some things to notice:
The nodes are immediately able to communicate with each other:
There is no such thing as a “network join time” with SNAP.
Any node can talk directly to any other node:
There is no central “coordinator” node with SNAP.
Using SNAPpy scripts, SNAP nodes can autonomously respond to changes in their
environment:
Page 16
of 42
EK2500 Users Guide-v1.7
相关PDF资料
EK4150-01 EVAL KIT FOR 4150
EK42440-01 KIT EVAL FOR 42440 RF SWITCH
EK42451-01 KIT EVAL FOR 42451 RF SWITCH
EK4250-01 KIT EVAL FOR 4250 RF SWITCH
EK4251-01 KIT EVAL FOR 4251 RF SWITCH
EK42552-01 KIT EVAL FOR 42552 RF SWITCH
EK42556-01 KIT EVAL FOR 42556 RF SWITCH
EK4259-02 KIT EVAL FOR PE4259 RF SWITCH
相关代理商/技术参数
EK2540-7R 功能描述:EURO-CASSETTE 150W 2X 15V RoHS:否 类别:电源 - 外部/内部(非板载) >> DC DC Converters 系列:* 标准包装:1 系列:Quint 类型:隔离 输入电压:24V 输出:24V 输出数:1 输出 - 1 @ 电流(最大):24 VDC @ 50A 输出 - 2 @ 电流(最大):- 输出 - 3 @ 电流(最大):- 输出 - 4 @ 电流(最大):- 功率(瓦特):1200W 安装类型:底座安装 工作温度:0°C ~ 40°C 效率:- 封装/外壳:模块 尺寸/尺寸:4.33" L x 9.09" W x 6.14" H(110mm x 231mm x 156mm) 包装:散装 电源(瓦特)- 最大:1200W 批准:- 其它名称:277-69722866365-NDQUINT-BAT/24DC/12AH
EK2540-9ER 制造商:Power-One 功能描述:DCDC - Bulk
EK2550 功能描述:NETWORK EVAL KIT VERSION 2.1 RoHS:是 类别:RF/IF 和 RFID >> RF 评估和开发套件,板 系列:- 标准包装:1 系列:- 类型:GPS 接收器 频率:1575MHz 适用于相关产品:- 已供物品:模块 其它名称:SER3796
EK25B0012 功能描述:器件套件 Engineering Kit RoHS:否 制造商:AVX 零部件类型:
EK26 功能描述:放大器 IC 开发工具 Eval Kit PA60EU RoHS:否 制造商:International Rectifier 产品:Demonstration Boards 类型:Power Amplifiers 工具用于评估:IR4302 工作电源电压:13 V to 23 V
EK-26597-C36 功能描述:麦克风 5.56 X 3.98 X 2.21MM RoHS:否 制造商:Knowles Acoustics 方向性:Omnidirectional 阻抗:4.4 K Ohms 工作电压:0.9 V to 10 V 灵敏度:- 53 dB 端接类型:Wire Leads 长度:5.56 mm 宽度:3.98 mm 深度:2.21 mm
EK2660-7R 功能描述:EURO-CASSETTE 150W 2X 24V RoHS:否 类别:电源 - 外部/内部(非板载) >> DC DC Converters 系列:* 标准包装:1 系列:Quint 类型:隔离 输入电压:24V 输出:24V 输出数:1 输出 - 1 @ 电流(最大):24 VDC @ 50A 输出 - 2 @ 电流(最大):- 输出 - 3 @ 电流(最大):- 输出 - 4 @ 电流(最大):- 功率(瓦特):1200W 安装类型:底座安装 工作温度:0°C ~ 40°C 效率:- 封装/外壳:模块 尺寸/尺寸:4.33" L x 9.09" W x 6.14" H(110mm x 231mm x 156mm) 包装:散装 电源(瓦特)- 最大:1200W 批准:- 其它名称:277-69722866365-NDQUINT-BAT/24DC/12AH
EK2660-9ER 制造商:Power-One 功能描述:DCDC - Bulk