Last edited · 2 revisions  


These instructions tell you how to compile and upload the Raduino code (sketch) to the Raduino hardware.

Make sure you have installed the Si5351A library (See the "Retrieving the Si5351A Library" page)

Start the Arduino App.

Compiling the Sketch

Open the "raduino.ino" sketch (See the "Retrieving the Raduino Code" page)

Click on "Tools" at the top of the Arduino App, go down to "Board" on the drop down list, and select "Arduino Nano" if it isn't.

Click on "Sketch" at the top of the Arduino App and then "Verify/Compile".

The compilation should start.

You may see several warning messages appearing at the bottom of the page like the following:

Raduino_V1_1.ino:275:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

These can be ignored.

Any lines that have "Error" instead of "Warning" will prevent the compilation from successfully completing.

If the compilation is successful you should see a couple of lines appear at the bottom similar to these:

Sketch uses 19,504 bytes (63%) of program storage space. Maximum is 30,720 bytes.
Global variables use 960 bytes (46%) of dynamic memory, leaving 1,088 bytes for local variables. Maximum is 2,048 bytes.

Uploading the Sketch

Apply power to the Raduino.

Connect the Raduino to a USB port on your computer.

There are four LEDs on the Arduino Nano.

With the USB connector on the right the LEDs are labeled top to bottom as:





The PWR LED on the Arduino Nano should be lit.

If the "L" LED is blinking at about a one second rate that means that the "blink.ino" sketch has been loaded (this seems to be fairly common).

Click on "Tools" at the top of the Arduino App, go down to "Port:" and verify that the port connected to the Raduino is selected.

    Hint (Windows Only):  If you don't know which port is connected to your Raduino do the following:

                    Disconnect the Raduino USB from your computer.

                    Open your computers Control Panel and go to Device Manager.

                    Scroll down to "Ports (COM & LPT).

                    Click on this to expand it's contents and observe the list of ports.

                    Now connect the Raduino to your computer's USB port and observe what port has been added to the list.

                    Go back to "Tools" and select this port.

You should now be ready to upload the sketch.

Go to "Sketch" at the top of the Arduino App and select "Upload".

You should observe both the RX and TX LEDs on the Nano flashing.

When the flashing stops the sketch should be loaded and the Raduino LED should display: