# python values to microcontroller

**URL:** <https://forums.digi.com/t/python-values-to-microcontroller/12451>\
**Category:** Python\
**Tags:** rssi, python, microcontroller\
**Created:** [January 28, 2014, 3:13am UTC](https://forums.digi.com/t/python-values-to-microcontroller/12451 "2014-01-28T03:13:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vicesbur](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@vicesbur](https://forums.digi.com/u/vicesbur)\
**Post date:** [January 28, 2014, 3:13am UTC](https://forums.digi.com/t/python-values-to-microcontroller/12451/1 "2014-01-28T03:13:09Z")

</div>

Ok, thank you for your answer.

My idea is to “query” the RSSI values with the python script and then connect with a microcontroller to control some external LEDs depending on the RSSI values.

Do you know how can I connect the Digi device to the microcontroller for this purpose? Thanks.

---

<div class="post-metadata">

**Author:** ![kjensen8](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kjensen8](https://forums.digi.com/u/kjensen8)\
**Post date:** [April 10, 2014, 5:36pm UTC](https://forums.digi.com/t/python-values-to-microcontroller/12451/2 "2014-04-10T17:36:40Z")

</div>

the hardware specifications are given in the xbee product guide:  
[http://ftp1.digi.com/support/documentation/90000976\_P.pdf](http://ftp1.digi.com/support/documentation/90000976_P.pdf)

the module takes 3.3v. make sure you don’t put 5v on the other lines. follow grounding instructions.

you can query the RSSI of the last received packet with the ‘DB’ AT command. You can use the set\_ddo\_param() method to pass the remote ‘DB’ command.

sounds like a neat idea.

---

<div class="post-metadata">

**Author:** ![chrisjx](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@chrisjx](https://forums.digi.com/u/chrisjx)\
**Post date:** [April 14, 2014, 6:20pm UTC](https://forums.digi.com/t/python-values-to-microcontroller/12451/3 "2014-04-14T18:20:59Z")

</div>

vicesbur, I collect rssi info from my sensor boards using a python library (python-xbee on google code). You can see the result here. Sadly, not all of them are working, but on some you can see a month of data:  
[https://xively.com/feeds/9982](https://xively.com/feeds/9982)
