O'Reilly logo

Building Wireless Sensor Networks by Robert Faludi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Basic Romantic Lighting Sensor

We’ll start by creating a simple wireless lighting sensor that gives feedback at the base station.

Parts

  • Two solderless breadboards (MS MKKN2, AF 64, DK 438-1045-ND, SFE PRT-09567)

  • Hookup wire or jumper wire kit (MS MKSEEED3, AF 153, DK 923351-ND, SFE PRT-00124)

  • One Arduino board (MS MKSP4, SFE DEV-09950, AF 50)

  • USB A-to-B cable for Arduino (AF 62, DK 88732-9002, SFE CAB-00512)

  • Two AA battery holders with connection wires (RS 270-408, SFE PRT-09547)

  • Two AA batteries (alkaline or NIMH rechargeable, fully charged) (RS 23-873, SFE PRT-09100 or PRT-00335)

  • Two 5 mm LEDs (DK 160-1707-ND, RS 276-041, SFE COM-09590)

  • One 20K ohm resistor (or twice the max value of your photoresistor) (DK P20KBACT-ND, SFE COM-08374 * 2 in series)

  • One 10K ohm photoresistor (also called an LDR or light-dependent resistor) (AF 161, DK PDV-P8001-ND, SFE SEN-09088)

  • One XBee radio (Series 2/ZB firmware) configured as a ZigBee Coordinator API mode (Digi: XB24-Z7WIT-004, DK 602-1098-ND)

  • One XBee radio (Series 2/ZB firmware) configured as a ZigBee Router AT mode (Digi: XB24-Z7WIT-004, DK 602-1098-ND)

  • Two XBee breakout boards with male headers and 2 mm female headers installed (AF 126 [add SFE PRT-00116], SFE BOB-08276, PRT-08272, and PRT-00116)

  • XBee USB Serial adapter (XBee Explorer, Digi Evaluation board, or similar) (AF 247, SFE WRL-08687)

  • USB cable for XBee adapter (AF 260, SFE CAB-00598)

  • Wire strippers (AF 147, DK PAL70057-ND, SFE TOL-08696)

Prepare your coordinator ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required