PR16 help

Bluetooth, XBee, RF......

PR16 help

Postby shinigami.alv » Sat Mar 31, 2012 1:37 am

I have 2 PIC16F877A with me now and would like to transmit signals using RF-RX-315 and RF-TX-315. I've downloaded the sample code from the website but it's for 16F876A. so i'm not sure whether the code is compatible with my 877A or not? i mean the configuration part. anyone? =)
shinigami.alv
Newbie
 
Posts: 12
Joined: Sat Mar 31, 2012 1:34 am

Re: PR16 help

Postby ABSF » Sat Mar 31, 2012 12:24 pm

Not sure about the HEX codes. But if you compile the source codes again selecting the device as 16F877A and use that new hex code it should work. No mod is needed on the source. During programming the chip select device as 16F877A and config word 0x3F32 should be OK.

Actually you dont need to connect the RF modeles for initial testing. Just connect the UART-TX of the Transmitting PIC to the UART-RX of the receiving PIC with a piece of wire. Once they are working then only connect in the RF modules and test again...

TX PIC RX PIC
============================
UART-TX ------------> UART-RX
GND ------------------> GND

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: PR16 help

Postby robosang » Thu Apr 05, 2012 10:42 am

Agreed with Allen, perform a simple but basic test first before proceeding to complex setup.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm


Return to Wireless Device

Who is online

Users browsing this forum: No registered users and 46 guests

cron