# Input data to database for xbee s1

**URL:** <https://forums.digi.com/t/input-data-to-database-for-xbee-s1/20429>\
**Category:** Device Manager\
**Tags:** xbee-s1, device-cloud, xbee-java-library\
**Created:** [April 19, 2019, 9:41am UTC](https://forums.digi.com/t/input-data-to-database-for-xbee-s1/20429 "2019-04-19T09:41:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![najwa](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@najwa](https://forums.digi.com/u/najwa)\
**Post date:** [April 19, 2019, 9:41am UTC](https://forums.digi.com/t/input-data-to-database-for-xbee-s1/20429/1 "2019-04-19T09:41:57Z")

</div>

My project consists of:  
-2 Xbee S1  
-1 Arduino  
-1 Xbee shield  
-dht22 and soil moisture sensor

one xbee(remote) connected with sensors and arduino then send the data to another xbee(local) that is connected to laptop. I successfully transferred data from remote xbee to local xbee. I have some questions,

first one- can i send the data from local xbee to a database(eg:mysql/sqlite) using serial port? I just want to show the data on the interface(perhaps using php and html) If can, do you have the references for me to use.

Second question- Does xbee java works for my first question. I already tried but i’m lost halfway.

Third question- Can Digi Device Cloud acts as the database?

Thank you.
