A place for all the arduino code I write.
Go to file
Starbeamrainbowlabs 438b28f1b5
Document protocol spec in comment
2020-03-13 01:42:43 +00:00
Blink Add blink mini-project 2016-09-25 13:57:15 +01:00
EEITemperature Write simple display-based system to display temp & humidity with the NodeMCU 0.9 2019-09-30 21:22:52 +01:00
Examples Add HelloWorld example 2020-03-13 00:43:29 +00:00
I2cScanner Add missing \r in I2C scanner 2017-08-13 14:29:55 +01:00
RamLocationTest Add RAM location test 2019-09-30 18:52:48 +01:00
SizeOfTest [SizeOfTest] Add long 2018-08-19 15:09:25 +01:00
bme280 Document protocol spec in comment 2020-03-13 01:42:43 +00:00
deepsleep Add ESP deep sleep test 2018-04-20 22:40:43 +01:00
dht22 Write ESP DHT22 demo 2019-09-30 19:30:07 +01:00
dht22-esp8266 Write ESP DHT22 demo 2019-09-30 19:30:07 +01:00
eeprom Add eeprom tests 2018-04-27 23:16:29 +01:00
eeprom-search Add eeprom tests 2018-04-27 23:16:29 +01:00
flashLed Corect circuit order in comment 2016-07-02 15:02:36 +01:00
soil-sensor Test soil sensor 2018-05-13 15:40:42 +01:00
.gitmodules Write simple display-based system to display temp & humidity with the NodeMCU 0.9 2019-09-30 21:22:52 +01:00
LICENSE initial commit 2016-07-01 09:59:44 +01:00
README.md Add more detail to LMIC library info section 2018-11-06 19:33:41 +00:00

README.md

arduino

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.

Libraries

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.

RadioHead

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.

LMIC

Required for the LoRaWAN projects. Installable through the library manager if you search LMIC.

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

Useful Resources

  • Connect with WPA - What seems like a reasonaly good tutorial on how to get a Wemos to connect via WiFi. We'll need a TCP tutorial later on down the line though.