Hello World! - On 433 MHz
I got myself an Arduino Uno and an Arduino Nano recently and started playing around with it.
Soon, I also got a transmitter and receiver pair for 433MHz. Actually I got three of each because that stuff is really cheap - only 10 Euro for everything.
This is the transmitter:
That is how the receiver looks like:
The goal of my week-end project was to send a “Hello World!” string from the Nano to the Uno.
First, I have “virtually” wired everything up in Fritzing:
Then I have shamelessly stolen some code from this blog post, removed most of the stuff and changed it a little bit.
The transmitter will send out the “Hello String!” message every second. To indicate that there is some activity going on, the LED will blink when a transmission happens.
{% gist a9a3a1080f9fc6306e5b transmitter.ino %}
The receiver code is as below. There is also a LED in this setup. It will blink whenever the message “Hello World!” has been received.
{% gist a9a3a1080f9fc6306e5b receiver.ino %}
All in all, the full setup looks as follows and works without any problems.
Actually, I let it running for the whole weekend. No issues here. The LEDs were blinking and blinking until I pulled the plugs.
Done for today!