Rf examples

General discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
pr.tournesol35150
Posts: 5
Joined: 31 Aug 2017 16:44

Rf examples

#1 Post by pr.tournesol35150 » 17 Sep 2017 19:24

Hello,

Here is my question:
I have adapted a progaram from the example of hardwares libraries of Mikropascal Pro including transmitters and receivers
''Aurel'' and ''Micontroli''.
The initial program works perfectly in wireframe ''RC to RC0''.
On the other hand, in RF mode, the Lcd only displays ''???,,,,,,,????......, without exeption.

Transmittres and receivers run 100% from another progrm writter in ASM.

After comparing the 2 frames to the scope, i understood where the problem could come from.

Under Mikropascal,the1 bit ''manchester''frame measures more than 4 ms and the inter-frameabout 60 ms.

By other program in ASM, the bit measures 1 ms and the inter-frame 10ms, it works correctly.

The receiver ''aurel has an automatic gain adjustement which triggers in the absence of signal of more than 15 ms.It then sends parasitic signals which affect the frames.
I tried to change the delays: I have not got satisfactory improvement.
It seens to me that it could be necessary to use a transmission much superior to the 500 bauds of the routine ''man send''.But i have not found a way to change it.

I use Mikropascal, Mikro C easypic5, easypic6 and easypic7,device pic16f628, 16f887 16f877, 16f874.

Could you help me, please.

Thanks you.

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: Rf examples

#2 Post by lana.arsic » 19 Sep 2017 16:44

Hi,

Welcome to the MikroE forum.

Can you please describe which exactly hardware are you using?
Can you post the minimal project which represents the issue?

Kind regards,
Lana

pr.tournesol35150
Posts: 5
Joined: 31 Aug 2017 16:44

Re: Rf examples

#3 Post by pr.tournesol35150 » 19 Sep 2017 16:57

Hello,
I use easypic5, 6,7 whith pic 16f887 and pic 16f628, mikropascal, device ''aurel'' tx433 and rr3.
Thanks.

pr.tournesol35150
Posts: 5
Joined: 31 Aug 2017 16:44

Re: Rf examples

#4 Post by pr.tournesol35150 » 21 Sep 2017 12:18

I use the program Manchester codes library supplied in the mikropascal assistant.
She works in wired on RC0 and RC1 but not in RF.
I wish to modify Mam_Send_Init to accelerate the number of bauds per second.

thanks.

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: Rf examples

#5 Post by lana.arsic » 21 Sep 2017 15:06

Hi,

Unfortunately, we don't have that module,
so we cannot test it.

At this moment, baud rate is fixed on 500 bps.

Manchester Library is not open source,
and it is our company's policy not to share the source code.

But I will forward your suggestion for changeable baud rate
to our developers for consideration.

Thank you for understanding.

Kind regards,
Lana

pr.tournesol35150
Posts: 5
Joined: 31 Aug 2017 16:44

Re: Rf examples

#6 Post by pr.tournesol35150 » 23 Sep 2017 10:49

Hello,
Thanks.

Post Reply

Return to “mikroPascal PRO for PIC General”