Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up LED

Bluetooth, XBee, RF......

Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up LED

Postby davidtsj » Sat Mar 05, 2011 3:58 pm

Dear guys,
What should i do with these hardware..how should i start to transmit and receive data between 2 xbees(one connected to another mc and the other connected to another mc on a different breadboard) in order to blink LEDs to prove simple tranmission of data..thx in advance..
davidtsj
Novice
 
Posts: 20
Joined: Sat Feb 05, 2011 9:11 pm

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby shahrul » Sat Mar 05, 2011 8:44 pm

For simple operation, maybe you just do wireless ON/OFF LED with push button.
Push button >> PIC >> XBee ------ XBee >> PIC >> LED
or to use UC00A together with XBee, do ON/OFF from VB but you need multiuart for UC00A and XBee.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby davidtsj » Sun Mar 06, 2011 9:14 pm

DEAr shahrul,
Really appreciate ur help...i'm currently using pic basic pro to program and its kinda hard to obtain information regarding pic basic pro on xbee...and clues?
davidtsj
Novice
 
Posts: 20
Joined: Sat Feb 05, 2011 9:11 pm

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby shahrul » Sun Mar 06, 2011 9:41 pm

davidtsj WROTE:DEAr shahrul,
Really appreciate ur help...i'm currently using pic basic pro to program and its kinda hard to obtain information regarding pic basic pro on xbee...and clues?

It's just UART..
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby ABSF » Mon Mar 07, 2011 10:29 am

davidtsj WROTE:What should i do with these hardware..how should i start to transmit and receive data between 2 xbees(one connected to another mc and the other connected to another mc on a different breadboard) in order to blink LEDs to prove simple tranmission of data..thx in advance..


Take Shahrul's advice and do what he suggested.

If Button->PIC->UART->Xbee XBee->UART->PIC->LED is still too tough for you, You can always try without the XBee first. Just connect UART to UART and use your PBP program to make it work first. If it works, add in the XBee and try again. Since PIC can work on 3.3V, inter-working should be no problem.

You can refer to the discussion here. Instead of reading the ADC and send to the other XBEE, you can change it to read a button.

http://www.picbasic.co.uk/forum/showthr ... light=xbee

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby davidtsj » Tue Mar 08, 2011 10:16 pm

DEAr all,
I already read UART...frm many web sites and i still cant figure it out what izit about as time is running out for me as i need my final year project to be done as soon as possible..left 5 weeks for me to finished up my project...my project basically is a reasturant ordering system which consists of 2 mcu,2 xbees,some LEDS and a LCD...:)
davidtsj
Novice
 
Posts: 20
Joined: Sat Feb 05, 2011 9:11 pm

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby shahrul » Tue Mar 08, 2011 10:35 pm

davidtsj WROTE:DEAr all,
I already read UART...frm many web sites and i still cant figure it out what izit about as time is running out for me as i need my final year project to be done as soon as possible..left 5 weeks for me to finished up my project...my project basically is a reasturant ordering system which consists of 2 mcu,2 xbees,some LEDS and a LCD...:)

You can use this code, RF Module. It's involve 2 MCU transfering data using UART. Good luck, even I use UART 1 year after I start using PIC.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby davidtsj » Tue Mar 08, 2011 11:38 pm

Dear shahrul,
I'm using pic basic pro to program my mcu ,hence i cant use the code given by u as reference...thx anyways :)
davidtsj
Novice
 
Posts: 20
Joined: Sat Feb 05, 2011 9:11 pm

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby shahrul » Tue Mar 08, 2011 11:44 pm

davidtsj WROTE:Dear shahrul,
I'm using pic basic pro to program my mcu ,hence i cant use the code given by u as reference...thx anyways :)

Ok.. Carry on.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Using UC00A,2 xbees 1mw attenna,2 mc 16f877A to light up

Postby yonghui » Wed Mar 09, 2011 8:53 am

haha,
last minute job is exciting.
anyways u will need to find out, how uart works.

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


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 13 guests

cron