Loading

Tag Archives: xbee

Arduino library for MMA7260Q (Tilt Sensor)

In the past days I published a couple of arduino libraries. All coming from by XBee sensor development. I’m still waiting for the MAX756 to arrive from Futurlec, I need the MAX756 to power the xbee sensor with batteries and mount it in its final position. So in the meanwhile I’m cleaning a little bit [...]

Arduino XBee sensor (temperature, tilt, compass, and ambient light)

I finally put together an Arduino Pro Mini, the XBee, the MMA7260Q, the HMC6352, the TEMT6000 and the DS1620.
This is how it looks like on the prototyping board (ugly, I know)
Hopefully it would look better when I move it to the PCB. But before doing that I need to get the battery power set up. [...]

Example of XBee API frames

Some examples of XBee API Frames.
Modem status frame
7E 00 02 8A 06 6F

7E: API Frame
00 02: Length
8A: Modem status
06: Coordinator started
6F: checksum FF – ((8A +06) & FF) = 6F

AT Command API Frame: MY

7e 00 04 08 52 4D 59 FF

7E: API Frame
00 02: Length
08: AT Command Frame id
52: Frame id
4d 59: MY (4d [...]

Setting XBee to sleep causes Arduino reset

If you run into this problem it means that you’re probably using the XBeeShield. Maybe you didn’t notice but if you take a look to the Arduino XBee Shield schematics you’ll find out that DIO7 (CTS – Clear to Send) on the XBee is wired to RST in the Arduino. And that’s why you [...]

Upgrading Xbee Series 2 (XbeeShield) to Xbee ZB with Arduino

As stated in this digi page is possible to upgrade/convert a Xbee Series 2.5 to a Xbee ZB (with full standard Zigbee capabilities). Xbee Series 2.5 is just another name for the forme Series 2, so the upgrade procedure is exactly the same.
The procedure if fairly straighforward

Remove ATmega168 from Arduino board
Insert XbeeShield into [...]