Arduino RF 433 MHz Protocol

How to build the test circuit with an Arduino Mega?
Arduino codes are included.

I. "Welcome" event from microcontroller

c=welcome&id=i479ZY&type=Oz433MhzTransceiverController&pos=2&t=3

Parameters

Parameter Type Range Functionality
c String "welcome" Identifies the welcome message.
type String "Oz433MhzTransceiver" Determines the type of the device.
pos Byte 0-255 Determines the position of the device on the list of the ID manager of the microcontroller. Please make sure there are no other devices in the same position.
id String 6 characters (numbers, uppercase and lowercase characters) The ID of the device which is chosen by the microcontroller.
t Byte 0-255 Counts the number of events and responses sent combined. Counts from 0 to 255 then from 0 again.



II. Commands to microcontroller

"Send ID" command

Example

c=sendid&value=55j71a6&t=0&id=i479ZY

Parameters

Parameter Type Range Functionality
c String "sendid" Identifies the command.
value String ID can be max 7 character long The ID of the RF device you would like to target.
id String 6 characters (numbers, uppercase and lowercase characters) Identifies the device. The ID is never changed during communication.
t Byte 0-255 Counts the number of commands sent. Counts from 0 to 255 then from 0 again.

Response

c=sendid_resp&value=55j71a6&id=i479ZY&t=3

Parameters

Parameter Type Range Functionality
c String "sendid_resp" Identifies the response.
value String ID can be max 7 character long The ID of the RF device you would like to target.
id String 6 characters (numbers, uppercase and lowercase characters) Identifies the device. The ID is never changed during communication.
t Byte 0-255 Counts the number of events and responses sent combined. Counts from 0 to 255 then from 0 again.



"Send Binary" command

Can send any binary number.

Example

c=sendbin&value=11101110&t=1&id=i479ZY

Parameters

Parameter Type Range Functionality
c String "sendbin" Identifies the command.
value String any Value to send.
id String 6 characters (numbers, uppercase and lowercase characters) Identifies the device. The ID is never changed during communication.
t Byte 0-255 Counts the number of commands sent. Counts from 0 to 255 then from 0 again.

Response

c=sendbin_resp&value=11101110&id=i479ZY&t=4

Parameters

Parameter Type Range Functionality
c String "sendbin_resp" Identifies the response.
value String any Value sent.
id String 6 characters (numbers, uppercase and lowercase characters) Identifies the device. The ID is never changed during communication.
t Byte 0-255 Counts the number of events and responses sent combined. Counts from 0 to 255 then from 0 again.



III. Event from microcontroller

"On Received ID" event

By sending this event it forwards any incoming message through the serial port.

Example

c=onreceivedid&value=hello1223&id=i479ZY&t=5

Parameters

Parameter Type Range Functionality
c String "onreceivedid" Identifies the event.
value String any Incoming radio frequency data signals.
id String 6 characters (numbers, uppercase and lowercase characters) Identifies the device. The ID is never changed during communication.
t Byte 0-255 Counts the number of events and responses sent combined. Counts from 0 to 255 then from 0 again.

More information