Home/Support/Support Forum/WRITING TO PORT OF XBEE TO DRIVE 7SEGMENT 2 digit display
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

WRITING TO PORT OF XBEE TO DRIVE 7SEGMENT 2 digit display

0 votes
DEAR ALL,

I wish to connect Xbee S2C to drive a remote display which uses 7 segment 2 digits configured as end device in AT mode.

Coordinator Xbee S2C connected at PC side. Now I want to drive port of End device Xbee S2C. Which will be programmed to drive digits and segments of digits.

Let me know how I can send a data by using API command to remote Xbee S2C.

Which command needs to be used. I do not want to use Set/Reset portbits of port.

Thanks in Advance.

Dharma Patil
M:9325218518
asked Jun 19, 2017 in Data Services by dharmapatil New to the Community (1 point)

Please log in or register to answer this question.

3 Answers

0 votes
I am confused. Are you wanting to send Serial Data out of the XBee modules to the devices or control a digital IO line by setting it as an output high or low?
answered Jun 19, 2017 by mvut Veteran of the Digi Community (11,300 points)
0 votes
I will be connecting co-ordinator xbee to serial port of SCADA which runs a script. By using this script wish to display 0-9 on 1st digit when selected. For 2nd digit also 0-9 when selected.

Suppose i wish to display a digit 8 on 1st digit.

I like to send a X = 1000 (Binary code of "8" ) and digit selection bit 1

For this wish to send "X" by using API command at once.

Which API command I should use ?

I cannot use 0x17 command the process of displaying will get slow.

Please suggest a API command to send display information
"8" "0"

Thank you for response.

Dharma Patil
answered Jun 20, 2017 by dharmapatil New to the Community (1 point)
If you are communicating to the 7 segment display with the Digital Output, use the command "IO". It isn't really documented as far as I can tell.

Here are two example strings:

To set D0 High
4242 0000 0000 0200 0102 494F 0000 0001      + CRC

To set D0 Low  
4242 0000 0000 0200 0102 494F 0000 0000       +CRC
0 votes
If you are communicating to the 7 segment display with the Digital Output, use the command "IO". It isn't really documented as far as I can tell.

Here are two example strings:

To set D0 High
4242 0000 0000 0200 0102 494F 0000 0001 + CRC

To set D0 Low
4242 0000 0000 0200 0102 494F 0000 0000 +CRC
answered Nov 3, 2017 by callwyat New to the Community (2 points)
...