Romantic Lighting Sensor(Exercise 1)

“WIRELESS NETWORKING IS NOT NEARLY AS TRICKY AS NAVIGATING ROMANCE.”~Robert Faludi

But here is what you can do:

  • Set up your COORDINATOR to API mode on X-CTU:


  • Note that after setting up your coordinator firmware to API mode on X-CTU, you can only configure your PAN ID(your chosen address),  ATDH(0013a200) and ATDL(the remainder of your routers address) on X-CTU as the following:

  • Then click Write button to save changes.
  • Set up your ROUTER on Coolterm:

+++

ATID (Same as Coordinator ATID)

ATDH0013a200

ATDL ( Remainder of Coordinator’s address)

ATJV1 ( To ensure that router attempts to rejoin the coordinator on startup.)

ATD02 ( To put pin “0” in analog mode.)

ATIR64 [ To set up the sample rate to 10 times/second—1000ms/10=100ms=64(hex)]

ATWR (To save the settings.)

  • Wiring ————ROUTER:

  • Wiring ————COORDINATOR:

 

PITFALLS:

Make sure your voltage regualtor is plugged in properly. If you have the LM1086CT the pin where etched circle is located would be GROUND, the middle one would be OUTPUT and the third one would be INPUT.

Make sure your breakboard has the RIGHT pins connected to Arduino.

When its all done, upload the first code that Kate posted.

If everything is correctly hooked up you will observe this: