Write code via XBEE wireless dongle/module

Bluetooth, XBee, RF......

Write code via XBEE wireless dongle/module

Postby yu_buffon » Sat Apr 23, 2011 9:40 pm

Hi there, I'm realtively new to PIC programming. I have a few IFCs namely, XBEE PRO STARTER KIT, IFC - Xbee Wireless Card and other required cards. May I know if I can use the XBEE PRO STARTER KIT to transmit the .hex file to the PIC chip on the IFC - Main Board card via IFC - Xbee Wireless Card? My objective here is to overwrite the old code with a newer code. Is it possible? Please help!
yu_buffon
Freshie
 
Posts: 7
Joined: Sat Apr 23, 2011 9:29 pm

Re: Write code via XBEE wireless dongle/module

Postby yonghui » Sun Apr 24, 2011 7:24 am

hi,

im not so clear with ur intention.
the hex file u receive from the xbee is then sent to main board, then when the main board received it. u wanted to burn the hex file to where?
its not possible for the PIC on IFC to reprogram it self. u need UC00A/B


regards
yh
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: Write code via XBEE wireless dongle/module

Postby yu_buffon » Mon Apr 25, 2011 11:21 am

Hi there, thank u very much 4 the reply. U r very close there, the hex file is received from the xbee is then sent to main board, then when the main board received it n then burn/overwrite it into the main PIC. I know it may look not right, but I'm totally new to PIC programming. N thats the reason I'm on this forum asking for opinions. I'm really appreciate if u can give me thorough explanation what can n cannot be done with XBee cards.
yu_buffon
Freshie
 
Posts: 7
Joined: Sat Apr 23, 2011 9:29 pm

Re: Write code via XBEE wireless dongle/module

Postby yonghui » Mon Apr 25, 2011 7:42 pm

hi,

u can for example, preprogram the main controller with some tasks tat u want main controller to do. but the the task is not immediately run on power up of the main board, but it waits for command from xbee.

lets say
command task
'A' display "xbee communication sucessful" on IFC-control panel's LCD
'B' run motors on IFC-brush motor
'C' read analog value from sensor and display the meaning on IFC-control panel.
'R' reset IFC slave cards.

from sk xbee plug on computer. u can send a command out to the IFC-xbee. then main board will read data from IFC-xbee and perform task accordingly.



regards,
yh
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: Write code via XBEE wireless dongle/module

Postby yu_buffon » Tue Apr 26, 2011 1:53 pm

Thank u for the reply. Now I get the idea that I cannot use the XBee card to overwrite the PIC in the main card. For that purpose, I need to use the UC00A/B. I can use the XBee card, for example, to send signals to the main card to perform the preprogrammed task. Correct me if I'm wrong!
yu_buffon
Freshie
 
Posts: 7
Joined: Sat Apr 23, 2011 9:29 pm

Re: Write code via XBEE wireless dongle/module

Postby yonghui » Thu Apr 28, 2011 1:12 pm

ya
correct



regards,
yh
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: Write code via XBEE wireless dongle/module

Postby yu_buffon » Sun May 01, 2011 3:20 pm

thanks a lot.
yu_buffon
Freshie
 
Posts: 7
Joined: Sat Apr 23, 2011 9:29 pm


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 13 guests

cron