Communication between Zigbee and a GSM module

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Communication between Zigbee and a GSM module

Postby yweixD » Mon Nov 28, 2011 11:31 pm

So for example I have 2 Zigbees. Zigbee A is connected to a PIC with a sensor (eg. lm35) and will transmit data to Zigbee B, which is connected directly to a PC, when the temperature is higher than a certain level. On the other end, a GSM module is also connected to the PC, which will send a text message to the user when data comes in from Zigbee B.

I think I'd probably have to design a platform to transfer what Zigbee B receive to the GSM module and vice versa. I also found out about JAVA communication API, which is used to access COM ports in Windows. But the thing is, I'm not quite sure how do I go about searching for information, much less doing it, cause this is kinda new to me.

So my question is: What are the keywords to search for information regarding this matter? And can anyone provide some sites where I can refer to regarding this?

Thanks, and sorry about the long post.
yweixD
Greenhorn
 
Posts: 3
Joined: Mon Nov 28, 2011 11:03 pm

Re: Communication between Zigbee and a GSM module

Postby shahrul » Tue Nov 29, 2011 12:16 am

Can you describe, why you need to connect zigbee and gsm module to PC? So, for this thing you connect to 2 USB right? Is that purpose to use GUI?
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Communication between Zigbee and a GSM module

Postby yweixD » Tue Nov 29, 2011 1:16 pm

Yes. Basically we will need to write our own program using Java. We want to bypass all the premade programs that are provided with the Zigbee and GSM module by accessing the COM ports directly using Java.

Any reference? Thanks.
yweixD
Greenhorn
 
Posts: 3
Joined: Mon Nov 28, 2011 11:03 pm

Re: Communication between Zigbee and a GSM module

Postby shahrul » Tue Nov 29, 2011 10:18 pm

yweixD WROTE:Yes. Basically we will need to write our own program using Java. We want to bypass all the premade programs that are provided with the Zigbee and GSM module by accessing the COM ports directly using Java.

Any reference? Thanks.

I don't know Java, I just know VB. Maybe Java have code to connect with serial port.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Communication between Zigbee and a GSM module

Postby yweixD » Wed Nov 30, 2011 9:32 pm

Ah its ok, thanks anyway :)
yweixD
Greenhorn
 
Posts: 3
Joined: Mon Nov 28, 2011 11:03 pm

Re: Communication between Zigbee and a GSM module

Postby TCK5417 » Sat Dec 10, 2011 4:25 am

shahrul WROTE:
yweixD WROTE:Yes. Basically we will need to write our own program using Java. We want to bypass all the premade programs that are provided with the Zigbee and GSM module by accessing the COM ports directly using Java.

Any reference? Thanks.

I don't know Java, I just know VB. Maybe Java have code to connect with serial port.


Shahrul, u know the VB code for connecting GSM and Zigbee? i am using VB 2010, and my project almost same as yweixD. Can teach me how are you connect them together?
How to send the message automatic with condition? wish to get help from you..thanks~
TCK5417
Fledgling
 
Posts: 1
Joined: Sat Dec 10, 2011 4:19 am

Re: Communication between Zigbee and a GSM module

Postby shahrul » Sat Dec 10, 2011 8:48 am

TCK5417 WROTE:Shahrul, u know the VB code for connecting GSM and Zigbee? i am using VB 2010, and my project almost same as yweixD. Can teach me how are you connect them together?
How to send the message automatic with condition? wish to get help from you..thanks~

Firstly, you connect VB to serial port. Connect serial port to GSM and Zigbee is further way that connect to GSM you need to know AT command. See this link for serial port http://shahrulnizam.com/vb-lesson-serial-port/
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 4 guests

cron