Reply to topic  [ 1 post ] 
433MHz Wireless Module MX-05 (HCMODU0087) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 667
Post 433MHz Wireless Module MX-05 (HCMODU0087)
Image

Order yours here


RECEIVER MODULE PARAMETERS:

Model: MX-05V
Working voltage: 5V DC quiescent current: 4mA
Receiver Frequency: 433.92MHZ
Receiver sensitivity:-105DB
Size: 30 x 14 x 7mm
Product Code: HCMODU0087 (Transmitter also available: HCMODU0088)

Image

NOTES:

When using an external antenna a 1/4 wavelength is recommended. Ideally use 50 impedance ohm single-core wire, the length of the antenna 433M is about 17cm (1/4 wavelength). When locating the receiver antenna keep it as far away as possible from shielded areas, high voltages, and any other possible interfering frequencies.


APPLICATIONS:

Remote control switch, receiver module, motorcycles, automobile anti-theft products, household anti-theft products, electric doors, shutter doors, windows, remote control socket, remote control the LED, remote control stereo, remote control electric gate, garage door remote control, remote control retractable doors, remote control volume gate, pan doors, remote control door opener, door closing device control system, remote control curtains, alarm system, alarm, remote control motorcycle, remote control electric cars, remote control such as MP3.

MX-05V Schematic:
Image

Arduino VirtualWire library: http://www.pjrc.com/teensy/arduino_libr ... alWire.zip


ARDUINO RECEIVE EXAMPLE

Code:
/* FILE:    MX05V_433MHZ_MODULE_HCMODU0007_RECEIVE_EXAMPLE.pde
   DATE:    03/03/13
   VERSION: 0.1
   AUTHOR:  Andrew Davies

This is an example of how to use the 433MHz wireless reciever module 
(HCMODU0007) which is the Rx part of the tranmitter and reciver module pair.
This example makes use of the VirtualWire library written by Mike McCauley.
This sketch in intended to be used with the Tx example code to recive analogue
input data sent from the transmitting Arduino. The received data is then output 
to the UART.

Rx MODULE CONNECTIONS:

PIN  DESCRIPTION      ARDUINO PIN
1    GND              GND
2    RX DATA          D2
3    RX DATA          N/A
4    VCC (5V)         VCC


You may copy, alter and reuse this code in any way you like, but please leave 
reference to HobbyComponents.com in your comments if you redistribute this code. 

THIS SOFTWARE IS PROVIDED "AS IS". HOBBY COMPONENTS LTD MAKES NO WARRANTIES, WHETHER 
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF 
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE.
HOBBY COMPONENTS SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR ANY DAMAGES, 
INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY 
REASON WHATSOEVER.
*/


/*Include the VirtualWire library */
#include <VirtualWire.h>

/* Digital IO pin that will be used for receiving data from the receiver */
const int RX_DIO_Pin = 2;

void setup()
{
    pinMode(13, OUTPUT);
    Serial.begin(9600);

    /* Initialises the DIO pin used to receive data from the Rx module */
    vw_set_rx_pin(RX_DIO_Pin);
    
    /* Receive at 2000 bits per second */
    vw_setup(2000);
    
    /* Enable the receiver */
    vw_rx_start(); 
}

/* Main program */
void loop()
{
  /* Set the receive buffer size to 2 bytes */
  uint8_t Buffer_Size = 2;
  
  /* Holds the recived data */
  unsigned int Data;
  
  /* The receive buffer */
  uint8_t RxBuffer[Buffer_Size];

    /* Has a message been received? */
    if (vw_get_message(RxBuffer, &Buffer_Size)) // Non-blocking
    {
        /* If so, then turn on the LED connected to DIO 13 
           to indicate this */
        digitalWrite(13, HIGH); 
   
        /* Store the received high and low byte data */
        Data = RxBuffer[0] << 8 | RxBuffer[1];

        /* Output this data to the UART */
   Serial.print("Analogue pin A0: ");
        Serial.println(Data);
   
        /* Turn off the LED on pin 13 to indicate that the 
           data has now been received */
        digitalWrite(13, LOW);
    }
}


Attachment:
VirtualWire-1.14.zip


You do not have the required permissions to view the files attached to this post.


Fri Apr 10, 2015 11:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD