CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

RF modules testing
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
poiuy
Guest







RF modules testing
PostPosted: Fri May 19, 2006 9:58 pm     Reply with quote

I got an RF module and I suspect it is defective.

I connected the vcc and ground for the transmitter and receiver. Receiver
dataout does not go high when I set the transmitter datain high.

Does this mean the module is broken? I want to do serial communication between a pda and a PIC.
Guest








PostPosted: Fri May 19, 2006 11:19 pm     Reply with quote

sometimes you can only transmit an AC signal with these modules... try putting a 1khz square wave with TTL level at the input and see it it shows at the output of the other module.
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Sat May 20, 2006 4:52 am     Reply with quote

And some modules only want to see RS232 or other protocols. Read the manual and see what it says.
poiuy2
Guest







PostPosted: Sat May 20, 2006 2:53 pm     Reply with quote

I hooked up my pda's tx pin to my transmitter datain and my receiver dataout to my computer. I sent ascii U from my pda but nothing shows up on my computer.

I haven't tried the 1khz signal input b/c I don't have an oscilloscope

I got the RF modules on ebay and have the datasheet for them but there aren't a lot of information on the modules.
op
Guest







PostPosted: Sat May 20, 2006 2:54 pm     Reply with quote

they are ISM 315mhz modules.
Guest








PostPosted: Sat May 20, 2006 4:42 pm     Reply with quote

probably they accept 5v ttl levels, not +-12V RS-232 levels. You need a couple of MAX232 or similar chips to put them working.
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sat May 20, 2006 9:43 pm     Reply with quote

Quote:

I connected the vcc and ground for the transmitter and receiver. Receiver
dataout does not go high when I set the transmitter datain high.


Check if this are your modules:

http://friendcom.en.alibaba.com/product/50144632/50667153/ISM_Micro_Power_Data_RF_Module/ISM_Micro_power_RF_Module.html


Detailed Product Description
FC-201/SR features:
1) Operating in ISM band
2) Compact full-functional module
3) CMOS/TTL compatible output
4) Voltage: 3V
5) Low current consumption: 2.5mA
6) Capture frequency: 433MHz (315MHz also available)
7) Size: 30 x 13mm

FC-201/ST features:
1) Transmitting range up to 100 meters
2) CMOS/TTL input
3) Single supply voltage: 3V
4) Low current consumption: 5mA
5) Low spurious emissions: -30dBC
6) Size: 18 x 18mm

According to this, your modules had been fried.

Humberto
Guest
Guest







PostPosted: Wed May 24, 2006 1:46 am     Reply with quote

is it possible that the receiver is not tuned? It has a variable capacitor on it.

How do I tune the receiver? I don't have any RF measurement tools btw.
guest
Guest







PostPosted: Wed May 24, 2006 1:53 am     Reply with quote

I was messing around with the tuning and I found a position on the variable cap that makes the receiver output = 0.4v when the trans input =5 and receiver output= 1.45v when trans input=0.

Kinda wierd how it is inverted and the voltage is not TTL
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Wed May 24, 2006 6:45 am     Reply with quote

Quote:

Kinda wierd how it is inverted and the voltage is not TTL


The Receiver digital output should swing rail to rail.
It doesn't matter if the output is inverted, you can change the phase with a single transistor + 2 resistors.
Also you can manage an inverted signal wiring the incoming data ( TTL level) directly to the PIC.
Then use a software UART handler, invoking the REVERSE option in the rs232 directive definition
to take care of the reversing signal.
It would be easy if you can borrow a scope to see what's going on.


Humberto
guest
Guest







PostPosted: Wed May 24, 2006 4:48 pm     Reply with quote

I hooked up the RF receiver to the scope and the output looks good. I transmitted a 1khz squarewave and the receiver got it. The weird thing is that sometime the output is inverted. If I shake or move the transmitter in a certain way, the output of the receiver would invert itself.

Also, when I stop transmitting, the RF receiver outputs some random signals.
guest
Guest







PostPosted: Thu May 25, 2006 12:00 am     Reply with quote

I use a transistor to amp. the 2.5v to around 3.5V which is enough i think for rs232. So now low=0v and high= 3.5v.

I tried sending UUUUU from my pda and I see it on the screen. The problem i'm having is garbage output. It is outputing a lot of garbage whenever I hook the transmitter Datain to my pda's TX pin. If i don't hook it up, then it is fine (Datain of transmitter is pulled up high) no garbage.

It seems like my pda outputs noise or some sort. I hooked up my pda to my computer directly and serial com works fine without garbage. Wierd.

Any advice? Very Happy
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Thu May 25, 2006 3:09 pm     Reply with quote

Quote:

Also, when I stop transmitting, the RF receiver outputs some random signals.

This behaviour is normal in this kind of AM receiver. They have very poor selectivity and
the 315Mhz band is extensivelly used because is a licence free band in USA and other
countries -hence very noisy- (I know that it is not the same for Europa, where is used
specifically for Earth-to-Space satellite uplinks, but Iīm not sure if this is actually true)

Quote:

If i don't hook it up, then it is fine (Datain of transmitter is pulled up high) no garbage.

This kind of transmitter normally irradiate RF when Datain = HIGH.

You must be aware that it doesnīt matter what you do, you will never get a robust wireless
link using this kind of "toys". There are different techniques to improve this kind of weak
RF links, for example using redundant transmission, that is: you send the packet 3 times,
in the receiver side you stored the packet 3 times and then make a majority comparison.
Also you can use a balanced codified signals, or you can include a CRC result in the payload
to validate the received packet, it depends of your skills and experience with the hardware
and/or the software.


Humberto
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Thu May 25, 2006 3:17 pm     Reply with quote

Humberto: Do you have a suggestion for a more reliable RF module?
Any experience with one brand or another?
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Thu May 25, 2006 4:05 pm     Reply with quote

treitmey,

The limitations of this kind of transmitters that operate in a free band, is that the regulations
itself do not allow that this devices irradiate more RF power.
Anyway Iīm not involved in RF devices, I worked in a project with this kind of devices
(AM transmitters in 315/433Mhz) and tested a few of them but for sure, I do not remember
none of them who have been really superior.

Actually there are a new generation of devices with superb performance (according with
the manufacturer data sheet of course) that I didnīt play with them yet.

Just an example:
Key features of the EZRadio transceiver chipsets include:

"Highly programmable: Choice of unlicensed band (433, 868, 915MHz),
low noise amplifier (LNA) gain, baseband bandwidth (67kHz - 400kHz), data rate, automatic
frequency control, crystal load capacitance, output power level, FSK modulation deviation
- reducing production and customization costs.
Automatic Antenna Tuning (patent pending): Eliminates the need for production line
tuning costs and ensures optimal RF transmission throughout the product lifecycle.
Automatic Antenna Tuning takes the guesswork out of the design process, eliminates the need
for expensive RF engineering, and delivers an extremely robust wireless link.
Fully integrated on-chip RF features: Requires only two external components, a crystal
and a low-cost microcontroller, reducing the bill of materials and simplifying the design-in process.
Automatic Frequency Control (AFC): The receiver is automatically tuned to the incoming signal,
allowing the use of an inexpensive crystal without compromising the radio link.
Key radio management functions: EZRadio performs functions such as data recovery and
timing without a microcontroller, allowing the choice of a less expensive microcontroller.
Clock source available: Does not require a second crystal if a microcontroller is used.
Fast and reliable frequency hopping: Counter interference and multipath fading enable
over a hundred devices to be used in the same environment, without user issues.
High impedance loop antenna can be etched directly onto the circuit board:
Eliminates the need for more expensive external antenna designs. "


I want to state that I have not any kind of relationship nor comercial interest with EZRadio.


regards,

Humberto
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group