How to use an RF 433 MHz Transceiver

This document is going to show you, that how you can operate a wireless communication with RF 433 MHz modules. The system of a transmitter and a receiver can communicate wireless and be able to control doors, doorbells, and other wireless systems. The guide provides the basics of RF 433 MHz units and demonstrates how to use them with Ozeki 10 in a step by step guide. So, let's get started with the basic definitions.

What is RF 433 MHz Transceiver?

RF 433 MHz units are 433MHz radio modules are modules which can communicate using the 433 MHz frequency band. It works like any wireless system : a system using these modules is composed of a transmitter and a receiver. They're massively used in system like a garage door, wireless doorbell, etc...

How to use an Arduino RF 433 MHz Transceiver?

To use the transceiver in your Arduino project, first you have to wire the transmitter and the receiver as well to your Arduino. The ground (Gnd) and the 5V pins are connected to both the transmitter and the receiver and go to the Arduino as one wire. Then, you need to connect the transmitter and the receiver to a separate PVM pin on the Arduino.

Arduino RF 433 MHz Transceiver wiring diagram

wiring diagram of arduino rf 433
Figure 1 - Wiring diagram of Arduino RF 433 MHz Transceiver

How to use an RF 433 MHz Transceiver in Ozeki

RF 433MHz Transceiver connection provides two-way communication between the RF transceiver and a selected connection in your Ozeki software. This RF connection forwards outside signals to your selected connection or transfers signals from one of your connections to the 433MHz radio frequency. In the 3rd video, below, you can see how 2 RF 433 MHz Transceivers communicate with each other. To use the RF 433MHz Transceiver in Ozeki, you first need to download Ozeki Robot Developer. Ozeki Robot Developer will install the Arduino libraries needed to use this sensor efficiently.

Download Ozeki Robot Developer

Download Ozeki Robot Developer

After Ozeki Robot developer is installed, you need to upload the RF 433MHz Transceiver control code to your Arduino. You can find the code and download instructions on the following pages. The upload process includes two steps: first you need to format the EEPROM of the arduino, then you need to upload the control code. The procedure is very simple, it only takes a few seconds.

Upload the RF 433MHz Transceiver code to Arduino Uno
Upload the RF 433MHz Transceiver code to Arduino Mega 2560
Upload the RF 433MHz Transceiver code to Arduino Nano
Upload the RF 433MHz Transceiver code to Ozeki Matrix
Upload the RF 433MHz Transceiver code to Raspberry Pi

The arduino sensors and Ozeki will communicate over the USB port using the Ozeki RF 433MHz Transceiver protocol. This protocol makes it possible for you to use the sensor directly on your PC. You will be able to control this sensor through the web based user interface or you will be able to communicate with it using Ozeki Chat. You can read more about chat control on the following page.

How to communicate with the RF 433MHz Transceiver using chat

It is important to understand chat control, because when you build a robot, the way you wish to control this sensor is by sending and receiving messages. If you open the Ozeki Robot Developer app, you will see, who you can write a C#.Net program to work with this sensor.

Connection steps

  1. Wire the RF 433 MHz Transceiver to your Arduino using the wiring diagram
  2. Connect the Arduino board to your computer
  3. Check the COM ports in Windows device list
  4. Open the Arduino application on your computer
  5. Upload example code to our microcontroller
  6. Type https://localhost:9515 in your browser to open Ozeki 10
  7. Select the connection of RF 433 MHz Tranceiver
  8. Test the transceiver by sending data

System overview

The system we suggest consists of a RF 433 MHz transmitter and a RF 433 MHz receiver, both wired to the analog port of your Arduino. The Arduino will be responsible for reading data from this device in real-time. The brain of the system will be running on a PC (Figure 2). On the PC, Ozeki 10 will be able to manage the communication. You can easily run Ozeki 10 using a webbrowser

setup rf 433 mhz to pc using arduino
Figure 2 - System configuration of RF 433 MHz Transceiver connecting to PC using Arduino

Prerequisites

  • RF transmitter (433 MHz)
  • RF receiver (433 MHz)
  • Ozeki 10 installed on your computer
  • Programmable board (Arduino Mega/Nano/Uno, Ozeki 433Mhz RF Module or Raspberry Pi)
  • USB cable is needed between Arduino Mega/Nano/Uno, Ozeki 433Mhz RF Module and your computer

Step 1 - Wire the RF units to your Arduino

You can see how to wire the RF units to any of the following boards:

After wiring, please plug the board to your computer!

Step 2 - Upload code to the microcontroller

(Here is the code to upload)

Step 3 - Start Ozeki 10 to try the 433 MHz transceiver

Step 4 - Configure your 433 MHz transceiver in Ozeki 10

To be able to configure your 433 MHz transceiver (attached to your Arduino) in Ozeki 10, that is installed on your computer, you need to open the graphical user interface (GUI) of Ozeki 10. You can open the GUI by entering the URL of the computer into your webbrowser. For example, if our PC has an IP address of 192.168.1.5, we would enter http://192.168.1.5:9513 into our webbrowser.

Step 5 - Understand the 433 MHz transceiver protocol

The RF 433 MHz Transceiver can communicate with Ozeki through the following protocol.

References:
https://create.arduino.cc

More information