|Starbeamrainbowlabs a0b68ebc15 Merge branch 'master' of git.starbeamrainbowlabs.com:sbrl/arduino||5 months ago|
|Blink||2 years ago|
|Examples||5 months ago|
|I2cScanner||1 year ago|
|SizeOfTest||8 months ago|
|deepsleep||1 year ago|
|dht22||8 months ago|
|eeprom||11 months ago|
|eeprom-search||11 months ago|
|flashLed||2 years ago|
|soil-sensor||11 months ago|
|.gitmodules||11 months ago|
|LICENSE||2 years ago|
|README.md||5 months ago|
A place for all the Arduino code I write.
A collection of projects and example code for various Arduino-related devices.
My goal here is to make sure that everything is documented clearly enough that it should be a fairly easy and frustration-free experience picking up a project from here and running it. To that end, if you experience any difficulties - please contact me! Methods to get in touch are detailed on my website.
For some reason, the Arduino IDE is absolutely ridiculous in that it keeps libraries globally installed. Some of the projects and examples here require that libraries are installed to work, unfortunately (I wasn’t able to get them to function any other way :-/). To that end, I’ve listed below the libraries and where to get them from that I’ve used.
Used in some of the low-level LoRa test programs. This requires cloning the RadioHead repository into the Arduino IDE libraries folder, which is by default located at
~/Arduino/libraries. Here’s the clone command in question:
git clone https://github.com/PaulStoffregen/RadioHead.git
Execute it in the Arduino libraries folder as mentioned above.
Required for the LoRaWAN projects. Installable through the library manager if you search
In addition, for some reason the author of this library has made a very bad design choice, in that you’ve got to alter the original library code in order for it to work. Navigate to the Arduino IDE’s library folder (by default
~/Arduino/libraries), enter the
MCCI_LoRaWAN_LMIC_library directory, and then open
src/lmic/config.h for editing. You want to uncomment line 50, which should read like so once uncommented:
#define CFG_sx1276_radio 1