PIC-BEE Gravitech, PIC-BEE Datasheet - Page 4

no-image

PIC-BEE

Manufacturer Part Number
PIC-BEE
Description
Daughter Cards & OEM Boards PIC-BEE XBEE RADIO INTERFACE
Manufacturer
Gravitech
Datasheet

Specifications of PIC-BEE

Rohs
yes
Product
PIC-BEE XBee Radio Interface Boards
Core
PIC
Description/function
PIC-BEE is the first XBee adapter and interface board that embeds a command interface using simple ASCII commands
Dimensions
2.5 in x 2 in
Operating Supply Voltage
4 V to 12 V
For Use With
XBee/XBee-PRO Modules
All commands to the module are prefaced with a "%" character, and terminated with a
carriage return (hex 0x0D) The following is a list of valid commands:
%A
%B
A: Control analog or digital settings of PortA
B: Control the direction of PortB
C: Xbee command mode
G: Gets the values on PortA and PortB
H: Timer module hours setting
L : LED control
M: Timer module minutes setting
P : Puts a value on portB, for those set to output
Q : Query mode – polling (1) or Periodic reports
S : Timer module seconds setting
V : Reports back software version
PortA on the micro controller can either be a digital or analog input (it cannot be
an output port). Sending the command by itself will return a hex value that
indicates the current settings for Port A of the micro controller, with a ‘1’ indicates
a digital while a ‘0’ represents an analog input. The setting is stored in non-
volatile memory such that on power cycles, it will retain its settings. Sending a
ASCII value with the command will force a setting change for it. The valid range
is 0xA thru 0xF per the following table (anything below 9 defaults to A)
For example, sending a %AC is equivalent of "set PORTA inputs to a '111000',
where a '0' makes the bit an analog input, and a '1' makes it an digital input.
Note that the range for then inputs are limited from the reference ground to the
board voltage of 3.3V (typical) on both analog and digital.
this is setting the ADCON1 register in the micro controller.
The micro controller has a 8 bit digital I/O port, called "PortB".
command by itself, will return a value that indicates if the particular input on the
port is an input (1) or an output (0), represented by two byte hex value. Sending
a hex value with the command will force a setting change for it. The setting is
stored in non-volatile memory such that on power cycles, it will retain its settings.
Valid range for setting is 00-FF
For example, sending the command “%BC3” is equivalent of saying "set PORTB
Hex
Value
0xA
0xB
0xC
0xD
0xE
0xF
Port Bit Assign
4 3 2 1 0
A A A A A
D A A A A
D D A A A
D D D A A
D D D D A
D D D D D
In technical terms,
Sending this

Related parts for PIC-BEE