Remote sensor programming

Now that i’m very confident that my interrupt-driven motion sensor is finished, i was wondering what else there is to add; the first thing that comes to my mind is remotely adjusting the way the sketch works; no i don’t mean uploading a whole new sketch, but adjusting some parameters. For example, it should be relatively easy to adjust the heartbeat interval, or the motion report interval. Or disable sending the additional information in the packet that is being sent (packet size reduction = power reduction!); or disable motion reporting completely, e.g. disabling the sensor temporarily! What else can i think of?  🙂 It does sound like something that’s nice to have…

The question is, do i really need it? Or shall i proceed with a door/window sensor? Or go on building these motion sensors until i have replaced all the MS13 sensors i removed from my house some time ago and the few that are still being used? Or first finish the LED strips… tough choices!

Bookmark the permalink.

4 Responses to Remote sensor programming

  1. Jesper says:

    Hi!
    Very nice work with these motion sensors. I will also begin to build a jeenode with xbee in the autum which seems as the very best solution. (Looking at those room boards from jeenode too)
    Will be interesting to see how long the battey will last since your last changes to the motion sensor.

    I think you should proceed with a door sensor!
    Thanks for the great blog.
    // Jesper from Sweden

    • Thanks Jesper,

      Regarding the battery life; I’ve been timing, counting and measuring some things on the 2 motion sensors for a period of 24 hours and put all those numbers together in a sheet. Later this weekend I’ll post the results! 🙂 (yeah, there’s reason to smile)

  2. Charles Anderson says:

    Some changes I would propose
    1) Wire a port in the case to the case for the programming cable, that way you could upload new sketches with a laptop and a cable, and not take the whole thing apart. Also place a pin hole over the reset switch.

    2) You may want to add an LED to the face of the device that goes on when the sensor detects so that you would have some feedback when setting the sensitivity or verifying that the area you want covered is being monitored.
    This is something you would want to be able to disable remotely.

    3) Another change would to add a text field that broadcasts a name that the user could set remotely to help identify the sensor. This could be originally set to the some hardware address. As you add more and more sensor you need a way to keep track of what is where or when you are deploying more than one.

    4) Another change I would make would be an RJ11 or RJ45 Jack into the exterior of the case so you could maybe put a remote wired sensor in line (like say one wireless PIR and then a second PIR wired to the first, both using the same Jeenode and xbee module. This would allow you easily to cover 2 legs of an “L” hallway using a minimum of xbee modules.

    This would also abstract the comm module from the sense module. I am watching this keenly not so much for the motion detection but for application with a water intrusion sensor. In this use, consider a long vanity with 2 sinks, under one you would place a sensor, under the other you would place a sensor, xbee/jeenode. and power source. 2 locations one jeenode/xbee. In US dollars this would be about $50 savings. What is that, like 40 euros?

    Just my thoughts, but hey you asked for suggestions.

    Keep us posted! This project is awesome!

    • Charles,

      Always interested in suggestions, thanks!
      Some of them had already crossed my mind (there are a few places where i need 2 PIRs near each other) or are already implemented (like the LED). And i have a bunch of 3.5 mm stereo jack plugs i intend to use between the actual sensor and the enclosure that holds the JeeNode/XBee. That way i can easily take the enclosure back to my office and upload sketches and things like that. Just keep on reading, I’ve got some new plans for motion sensor v3 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *