my dog goes through chokers

You know how there are regular dog collars and then there are choker collars? well my dog, Lelu, knows how to get out of her collar if she wants to so I use a choker when she is outside in the front yard on a leash. Last night she went through another choker. this time I got the one with the cloth band going through it which saved her from running off after whatever she broke the choker for (cat or skunk).

broken choker

thats what it looks like. She was sorry to break it as displayed here

sorry dad

xbee wireless with arduino and an lm35

check out the flickr stream. i got 2 xbee series 2.5 radios connected and through a sparkfun usb explorer and an xbee arduino shield on an xbee.

at first the setup sucked because i couldnt write the firmware without a reset but when i jumped the reset pin and the ground pin it accepted it and worked fine. One thing i had issues with was I was using vista so if i unplugged the xbee or the usb xbee explorer then i would have to restart X-CTU program or else it would brick the xbee.

one trick i found that somehow worked with a bricked radio was just have the usb explorer plugged in and just hot swap the radio with it self (pull it out and put it back in without unplugging the usb cable) this usually got the radio back in a talking state. but i would have to of course restart x-ctu.

once i found the reset trick was really working, i updated the firmware on one to znet 2.5 router/end device at and set the node identifier to 1 and panid to 9933 and the baud rate to 57600. then i put the other one on, did the restart program trick and set the other one to znet coordinator at and set all the same stuff except the node identifier was set to 2.

plugged arduino shield in and pulled the jumpers off completely and put the router device end radion on then plugged in the usb. the arduino was then programmed to write to the serial at baud 57600 and uploaded the sketch.

then unplugged the usb, put the jumpers on xbee and plugged usb back in. now we have communication!! if you connect a terminal to the arduino then you should see the output. switch the com port to the usb explorer and you should still see the communication being sent. in my case it was testing first and the temperature second time.

now that they are talking, there really isnt much more setup.

to do all this stuff i used references from all over the net. i found a pdf that described the whole process with a xbee programming board but not the usb explorer.