Yet another RF component problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
electronix
Posts: 58
Joined: Sat Aug 22, 2009 5:45 pm
Has thanked: 17 times
Been thanked: 7 times

Yet another RF component problem

Post by electronix »

Hi everybody.

Has anyone tried using the RF component succefully?
I don´t, When I try sending a byte of data for instace: 200, all that is being transfered is 1!! regardless what I try to send the reciver picks up only 1.

Since I still have FC V4 installed I made a simple loop that would send a byte(200 again) each sec, I also used the exact settings as in FC V5, and it worked!
I was reading 200 each sec on the reciver side.
After rechecking all my settings in both FC versions and my HW settings I´m stuck, has there been any changes in the RF component?

Regards

electronix

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Yet another RF component problem

Post by Benj »

Hello,

I will investigate this issue for you. Can you attach your programs so I can see how your using the RF macros.

electronix
Posts: 58
Joined: Sat Aug 22, 2009 5:45 pm
Has thanked: 17 times
Been thanked: 7 times

Re: Yet another RF component problem

Post by electronix »

Hi Ben.

Thank´s a lot Ben :-)
Here´s the files, RF_test_V4 is working just fine, no problems changing the byte that is sent.
But RF_test_V5 is just sending out 1 no mather what changes in the settings, I also tried to change the settings inside the main loop using the macros, but it still doesnt work.

HW:
Receiver 18F4550 @20MHz using FCV4
Transmitter 16F886 @20 MHz using both FCV4 and FCV5

Best Regards

Stefan
Attachments
RF_test_V5.fcf
(11.5 KiB) Downloaded 238 times
RF_test_V4.fcf
(5 KiB) Downloaded 235 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Yet another RF component problem

Post by Benj »

Hello Stefan,

The protocol for the RF transaction has changed slightly from v4 to v5 did you reprogram both your transmitter and your receiver with the v5 versions of the program? I don't think a direct communication between a v4 and a v5 program will work.

electronix
Posts: 58
Joined: Sat Aug 22, 2009 5:45 pm
Has thanked: 17 times
Been thanked: 7 times

Re: Yet another RF component problem

Post by electronix »

Hi Ben

Ok, that means that i´ll have to continue using V4 since I have >100 units on the market right now, and I was working on an uppgrade of the transmitter only.
Is there any chance of a fix or workaround?

Best Regards

Stefan

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Yet another RF component problem

Post by Benj »

Hi Stefan,

Yes we can probably create a workaround for this. The v5 communications is much improved to include a valid CRC check and a better data flow mechanism but if you are stuck with the v4 code for the receivers then that's the way it must be.

I will look into this for you and see what I can come up with.

electronix
Posts: 58
Joined: Sat Aug 22, 2009 5:45 pm
Has thanked: 17 times
Been thanked: 7 times

Re: Yet another RF component problem

Post by electronix »

Hi Ben

Ok sounds greate, the workaround that is. :-)


Best Regards

Stefan

Post Reply