PDA

View Full Version : using PIC 16f84 at 315 MHZ



abood
- 28th July 2005, 15:17
I am using TLP/RLP 434 (from laipac.com) module which is ASK transmitter and reciver for serial communication with PIC 16f84 Micocontroller.

These two module operate at frequency 315 MHz. I found some difficulty in sitting the frequency of the PIC to 315 MHZ.

Moreover, the data rate for this module is 4800 bps.

help me in sitting these two things.


Note:I am using serin2 and serout2 commands.

Darrel Taylor
- 29th July 2005, 00:32
Ya know, my mother always told me that "There are no stupid questions, just stupid answers".

Sorry MA, you were wrong.

---------------------------
abood,

Before you can do anything with PIC chips, you'll need to learn at least the very basic's of how they work. Things like what voltage to use for power, what to do with the MCLR pin, and what crystals you can use for the oscillator.

May I suggest you start with this article from Rentron.com
Your first PICMicro Project (http://www.rentron.com/Myke3.htm)

.

abood
- 29th July 2005, 06:56
I know my question is stupid but what to do to make this thing work.......

Actually, you didn't help me with your site

please directly answer my question as I explainded previously.... with sending me throw these sites

Darrel Taylor
- 29th July 2005, 07:18
OoooKaaaay,

It really doesn't matter what frequency the RF link is operating at. The 16F84 will have it's own oscillator running at 10mhz or less. Simply add a DEFINE OSC 10 for a 10 mhz crystal, or change the number to the appropriate value to match you're crystal. And, be sure to set the oscillator config to "HS". (You will never get a 16F84 to run at 315Mhz)

Then, a quick look in the manual shows that 188 is the Mode for 4800 baud, or 16572 for inverted 4800 baud.

Or, go here for a complete list of Serin/Out modes.
http://www.melabs.com/resources/ser2modes.htm

NavMicroSystems
- 29th July 2005, 11:33
...Sorry MA, you were wrong.


Darrel,

abood had actually a very innovative thought.

By running the PIC @ 315MHz he wouldn't need any RF-modules.

A piece of wire at any PIC ouptut pin is all he needs.

;-)

rhino
- 29th July 2005, 14:23
By running the PIC @ 315MHz he wouldn't need any RF-modules.
... I've heard of people trying to overclock Pics... but that's just a little extreme. {chuckles} Don't you think? http://www.picbasic.co.uk/forum/images/icons/icon10.gif

Darrel Taylor
- 29th July 2005, 20:02
OverClockers.com would be proud.

I suppose I could have mentioned that with an rfPIC you can make an ASK/FSK Transmitter running at 315mhz.

But then he'd still need to run that 16F84 at 315mhz to be able to receive it. :)

-----------

abood,

Sorry, we're just poking a little fun. Don't take it personaly!

What you are trying to do is pretty easy. Check out this link for some example code ...
http://list.picbasic.com/forum/messages/5058/5097.html?1043179926

abood
- 31st July 2005, 19:07
It is nice that you gaues to have a little fun.........

Thank you Mr.Darrel Taylor for your help but next time try to lessen to your mother and not to answer other people questions with stupid answers



(Don't take it personaly)

Darrel Taylor
- 31st July 2005, 19:16
Thanks for the advice.

But I think the next time somebody posts a similar question in the "Forum Requests" area, I'll probably do the same thing.

Darrel