SendReceiveUart by Vencislav Atanasov (user890104)
An Arduino project to send and receive RF commands over 433MHz using a pair of receiver
and transmitter boards.
POSSIBLE COMMANDS TO SEND:
HELP or ? - this message
SEND - send RF command.
Format: SEND <protocol> <pulse length (ms)> <repeat times> <type/length> <value>
For protocol ID, check RCSwitch.cpp
Type/Length = 0 means that value is a string of zeroes and ones
Type/Length > 1 indicates the number of bits, value is the actual data as long int
Example: SEND 1 350 15 24 4242
Example: SEND 1 350 15 0 0000111100001111
Response: SENT
SETRECEIVE - enable/disable monitoring for RF commands
Format: SETRECEIVE <flag>
Flag = 0 means disable, everything else means enable
Example: SETRECEIVE 0
Example: SETRECEIVE 1
Response: SETRECEIVE <ON/OFF>
PING - check if device is responding to serial commands
Format: PING
Response: PONG
POSSIBLE RESPONSE MESSAGES:
INIT - program has started
READY - receiving and transmitting is enabled
RECEIVE - a new command has just been received over RF
Format: RECEIVE <protocol> <pulse length (ms)> <number of bits> <value (long)>
-
Notifications
You must be signed in to change notification settings - Fork 0
initLab/SendReceiveUart
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An Arduino project to send and receive RF commands over 433MHz using a pair of receiver and transmitter boards.
Resources
Stars
Watchers
Forks
Packages 0
No packages published