Page 1 of 1

PR16 help

PostPosted: Sat Mar 31, 2012 1:37 am
by shinigami.alv
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? =)

Re: PR16 help

PostPosted: Sat Mar 31, 2012 12:24 pm
by ABSF
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

Re: PR16 help

PostPosted: Thu Apr 05, 2012 10:42 am
by robosang
Agreed with Allen, perform a simple but basic test first before proceeding to complex setup.