315 Mhz RF Receiver and Transmitter pair

Questions on other types of hardware and getting it talking to the ARM CPU
Arnold113
Posts: 7
Joined: Wed Apr 23, 2014 5:28 am

315 Mhz RF Receiver and Transmitter pair

Postby Arnold113 » Sun Aug 03, 2014 6:21 am

Has anyone tried using these? I've got a pair, model MX-05V and MX-FS-03V, that I'm trying to use for a wireless remote LED display and push button station. I'm programing in basic but I have very little past experience in programing and no experience in the ARM SuperPro computer bd. Could someone help get me started in the right direction? Thanks Arnold

basicchip
Posts: 759
Joined: Fri Oct 19, 2012 2:39 am
Location: Lake Tahoe, CA
Contact:

Re: 315 Mhz RF Receiver and Transmitter pair

Postby basicchip » Sun Aug 03, 2014 3:07 pm

These things just keep getting cheaper, while I haven't used this particular one most operate about the same. They take an input and modulate that and send it to a receiver. At that end the signal is demodulated and re-created. That is in the best case, and ignores noise.

The easiest use is to a UART to send a serial command over the link. The SuperPRO is probably overkill for this, but would work. Basically one end sends out serial commands and the other end receives them. You can use TXD(0) and RXD(0) which goes to the PC to debug both ends of setup. Choose characters to send that are quite different so noise has less effect, ie. if you send A and B those are only 1 bit different and might be misinterpreted.

A first test you might run would be to check out the operation of the pair in the distance and locations you want to use them. Something like sending a stream of characters and checking them at the other end.

Arnold113
Posts: 7
Joined: Wed Apr 23, 2014 5:28 am

Re: 315 Mhz RF Receiver and Transmitter pair

Postby Arnold113 » Mon Aug 11, 2014 5:54 am

Can I transmit and receive using the same micro computer or will I need to transmit on one and use another micro to receive. I ask this because, if I understand it right, doing a bbTXD all bytes are shifted out but the cpu is tied up until all bytes are transmitted. How can I do a bbRXD and receive data that has already finished being transmitted? What am I missing here? Do I need to start the bbRXD first, as it does not tie up the cpu, and then start the bbTXD? Thanks

basicchip
Posts: 759
Joined: Fri Oct 19, 2012 2:39 am
Location: Lake Tahoe, CA
Contact:

Re: 315 Mhz RF Receiver and Transmitter pair

Postby basicchip » Mon Aug 11, 2014 8:06 pm

If you are using a SuperPRO, you have 4 UARTs, it would be better to use them than bit-banged routines.

olzeke51
Posts: 275
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: 315 Mhz RF Receiver and Transmitter pair

Postby olzeke51 » Tue Aug 12, 2014 2:42 am

basicchip is onto something.
use baud(x), rxd(x),txd(x) for one - either input or output
then use baud(n), rxd(n), txd(n) for the the other function
basically you are creating a (sort-of) loop back function - but using two channels of UART
TXD of sending connected to the RXD of the receiver.
this allows the cpu/rom routines to do the low level work.take care of timing etc.
'
this assumes you are debugging the initial setup to test your program.

olzeke51
Posts: 275
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: 315 Mhz RF Receiver and Transmitter pair

Postby olzeke51 » Fri Aug 15, 2014 2:57 am

well I got off my lazy butt and looked up the devices.
So , yes you would normally use two computers, one to transmit your data from
the other to receive the commands and perform the operations you sent.
'
you can use the SuperPro to do both functions - as I described in my previous post,
use two different BAUD(x)/RXD()/TXD() setups. for debugging purposes.
keep your transmitter voltage low so you don't overpower/BLOW out the receiver diodes !!!!
'
are you trying to control your bandsaw from a remote position, or the end/beginning of the feed line??

yellowman
Posts: 1
Joined: Thu Sep 25, 2014 10:17 am

Re: 315 Mhz RF Receiver and Transmitter pair

Postby yellowman » Thu Sep 25, 2014 10:51 am

you can use the SuperPro to do both functions - as I described in my previous post,






______________________
Fifa 15 coins

olzeke51
Posts: 275
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: 315 Mhz RF Receiver and Transmitter pair

Postby olzeke51 » Thu Sep 25, 2014 3:03 pm

seems something got lost - yellowman.

I was referring to test/debug setup to check out the communications. - using one SuperPro
eventually he will need two computers - one at the controlling machine end,
and then a portable device with a feedback display - most likely an LCD


Return to “Other Hardware interfaces”

Who is online

Users browsing this forum: No registered users and 1 guest