It’s now easy to add support for all unsigned.io boards in the Arduino IDE!┬áJust go to preferences in Arduino, and under “Additional Boards Manager URLs”, add the following URL:

http://unsigned.io/arduino/package_unsignedio_UnsignedBoards_index.json

If you already have other URLs, separate them with commas. You can now go into “Board Manager”, scroll down and install “UnsignedBoards”. That’s it! The Arduino IDE now has native support for all unsigned.io boards.

The library will be updated when new boards are released.

6 thoughts on “Board support in Arduino IDE

  1. Hi,
    good job.
    I’d like to do some tests, I have an ATmega1284P TQFP here, how can I load your firmware?
    How should I set the fuses ?

    1. Which firmware do you want to load? Assuming it’s the RNode firmware, I’d say the easiest way is probably to just burn the Arduino bootloader by adding the board support files like above, and then selecting “burn bootloader” in the Arduino IDE. That’s going to set all the fuses correctly. After that, you can just upload the firmware over serial with avrdude or similar.

  2. Hi, I’m trying to upload the rnode arduino .ino to a moteinoMEGA us,
    I get these errors in Arduino IDE:

    C:\Users\user\AppData\Local\Temp\arduino_build_499315\sketch\LoRa.cpp: In member function ‘void LoRaClass::onReceive(void (*)(int))’:

    LoRa.cpp:325: error: ‘digitalPinToInterrupt’ was not declared in this scope

    SPI.usingInterrupt(digitalPinToInterrupt(_dio0));

    ^

    LoRa.cpp:329: error: ‘digitalPinToInterrupt’ was not declared in this scope

    detachInterrupt(digitalPinToInterrupt(_dio0));

    Is it possible to use Rnode firmware on this board?

    1. Looks like they didn’t add SPI and/or interrupt support to their Arduino Core for the board, which means that it won’t be able to run the firmware.

      Also, the HopeRF modules that board uses are much lower quality (which equals much lower range) than the Semtech-based radios that RNode uses. If you need reliability and long range, and want the features from the RNode firmware, I will highly recommend you go with an actual RNode!

      1. Thanks for the quick reply.
        Great work with the rnode firmware, buying a few would be the easiest way to get this working.
        However I own so many spare arduino boards and radios that I would like to make an rnode with what I already have.

        Would the Arduino library ‘ EnableInterrupt’ help with getting this working on Moteino or any other unsupported boards?

        What Arduino board would you recommend? I have 4 unused inair9b radios that I would like to use with rnode.

        1. Ah, that makes sense! You could be daring and try to use my RNode Arduino Core for the moteino board, they use the same processor I see. There’s a chance that it might work. You can just add my boards to Arduino IDE with the instructions in this post, and then select RNode as device, even though you are uploading to the moteino. I obviously can’t guarantee that this will work, or that it will not cause problems with the moteino, but it might be worth a try.

          Other than that, the RNode firmware actually supports ATmega328p as well, so you can run it on an Uno or similar, but you loose the packet queue and a few other minor things, do to the lack of RAM on the 328p. It’s been a while since I tested on an 328p though…

          My Unduino1284p board (https://unsigned.io/projects/unduino1284p/) would have been a perfect use for this as well, but unfortunately I haven’t gotten around to writing the user manual for it yet, so it’s still not available in my shop, even though I have them produced and ready.

          Once you have the firmware on a board, you must bootstrap it with RNode Config Utility, this writes the EEPROM settings according to which LoRa module you use and such. The easiest way to do this is actually to flash and bootstrap at the same time using the “-f” option of rnodeconf.

Leave a Reply

Your email address will not be published. Required fields are marked *