Skip to content

Installation

Gabriel Ian Escober Abel edited this page Jun 12, 2019 · 3 revisions

Prerequisites

Install Arduino Sketch if it is not already installed:

Installation

  1. Clone the repository or download as zip.
git clone https://github.com/IanEscober/WasteMan-Driver.git
  1. Open up Arduino Sketch and navigate to Sketch > Include Library > Add .ZIP Library. Select the zip file in the root of the directory WasteMan-Driver-Libs.zip.
  2. Navigate to where Arduino libraries are installed, usually C:\Users\{user}\Documents\Arduino\libraries and open the Secrets.h file from the WasteMan-Driver-Libs folder.
  3. Edit the Secrets.h file with your values and save it. Below is a sample configuration:
struct Secrets {
    const char* APN = "my_telecom_apn";
    const char* BROKER_HOST= "my_broker_host";
    const int BROKER_PORT= 1234;
    const char* BROKER_USERNAME= "my_broker_username";
    const char* BROKER_PASSWORD= "my_broker_password";
};
  1. Verify the sketches and upload to your respective Arduino boards.
Clone this wiki locally