Pages: [1]   Go Down
Author Topic: Simple XBee question. Can I sense XBee analog pins via AT command?  (Read 164 times)
0 Members and 1 Guest are viewing this topic.
Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7188
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am confused. An XBee has analog pins. I know how to set a pin up as analog pin with say ATD0 2. But from what I read, here, I can only sense analog pins on another XBee but not my own via AT comman?

http://www.digi.com/support/kbase/kbaseresultdetl?id=3522

What am I missing? Say if I have an xbee connected to an xbee explorer to a PC, how do I read this xbee's analog channel?

Thank you!
Logged


Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4058
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you're reading it correctly. Perhaps the thinking was that an XBee wouldn't be needed for local sensing, but I can see situations where it would be convenient, even if not the most straightforward. That's a good writeup BTW, thanks for the link.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7188
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Jack,

I was just learning xbee analog and digital pins right now and was confused that I couldn't sense them with AT commands.

What I was doing was to use an xbee wifi to remotely power cycle other devices. Say if a data logger in the field is stuck, I want to remotely restart it instead of going on site (miles and miles away) only to flip the power switch, then I can use the existing wifi hotspot at the site and an xbee wifi on a relay shield.

Via etherios (device cloud) I can control the pins on the xbee wifi, since it's connected to the internet. There is even a place I can create widgets (on/off switches) on a dash board, instead of digging deep into the etherios settings to flip the digital pins on the xbee wifi.

All those fun activities made me think that I want to learn more about these little bees, which led me to think I could read its inputs via AT command.

Logged


Pages: [1]   Go Up
Jump to: