Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#include "driver/rtc_io.h" // Include ESP32 library for RTC pin I/O (needed for rtc_gpio_isolate() function)
#include <rom/rtc.h> // Include ESP32 library for RTC (needed for rtc_get_reset_reason() function)

#define uS_TO_S_FACTOR 1000000 // Conversion factor for micro seconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Conversion factor for micro seconds to seconds
#define TIME_TO_SLEEP 10 // Time how long ESP32 will be in deep sleep (in seconds). In this case 10 seconds.

Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and also set library into 1-bit mode (BW)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const uint8_t *pictures[] = {picture1, picture2,
picture3}; // This array of pinters holds address of every picture in the memory,
// so we can easly select it by selecting index in array

#define uS_TO_S_FACTOR 1000000 // Conversion factor for micro seconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Conversion factor for micro seconds to seconds
#define TIME_TO_SLEEP 20 // How long ESP32 will be in deep sleep (in seconds)
RTC_DATA_ATTR int slide = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include <Inkplate.h>

// Conversion factor for micro seconds to seconds
#define uS_TO_S_FACTOR 1000000
#define uS_TO_S_FACTOR 1000000ULL
// Time ESP32 will go to sleep (in seconds)
#define TIME_TO_SLEEP 30

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
#include <WiFiClientSecure.h>

// Enter your WiFi credentials
const char *ssid = "Soldered Electronics";
const char *pass = "dasduino";
const char *ssid = "";
const char *pass = "";

// Specify the API URL to send a POST request
const char *apiUrl = "https://jsonplaceholder.typicode.com/posts";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
#include "Inkplate.h" //Include Inkplate library to the sketch
Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and also set library into 1 Bit mode (BW)

const char ssid[] = "Soldered Electronics"; // Your WiFi SSID
const char *password = "dasduino"; // Your WiFi password
const char ssid[] = ""; // Your WiFi SSID
const char *password = ""; // Your WiFi password

//This is the certificate for the website https://varipass.org

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
#include <HTTPClient.h> //Include HTTP library to this sketch
#include <WiFi.h> //Include ESP32 WiFi library to our sketch

#define ssid "Soldered Electronics" // Name of the WiFi network (SSID) that you want to connect Inkplate to
#define pass "dasduino" // Password of that WiFi network
#define ssid "" // Name of the WiFi network (SSID) that you want to connect Inkplate to
#define pass "" // Password of that WiFi network

Inkplate display(INKPLATE_1BIT); // Create an object on Inkplate library and also set library into 1 Bit mode (BW)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const char sdCardTestStringLength = 100;
const char *testString = {"This is some test string..."};

// Change this to your WiFi
const char *WSSID = {"Soldered Electronics"};
const char *WPASS = {"dasduino"};
const char *WSSID = {""};
const char *WPASS = {""};

// Change this to your used slave device
const uint8_t easyCDeviceAddress = 0x76;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ NetworkFunctions network(calendarID, apiKey);
Gui gui(inkplate);

// --- Deep Sleep Configuration ---
#define uS_TO_S_FACTOR 1000000 // Convert microseconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Convert microseconds to seconds
#define TIME_TO_SLEEP 600 // Sleep time: 600 seconds = 10 minutes

void setup()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ Inkplate display(INKPLATE_3BIT);



const char ssid[] = "Soldered Electronics"; // Your WiFi SSID
const char *password = "dasduino"; // Your WiFi password
const char ssid[] = ""; // Your WiFi SSID
const char *password = ""; // Your WiFi password

void setup()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
#include "src/includes.h" // Include necessary libraries and dependencies for Inkplate and networking

// --- WiFi Configuration ---
const char *ssid = "Soldered Electronics";
const char *password = "dasduino";
const char *ssid = "";
const char *password = "";

// --- User and Location Info ---
String myUsername = "Username"; // User's name to be displayed on screen
Expand All @@ -104,7 +104,7 @@ WeatherData weatherData; // Structure to hold fetched weather data
Gui gui(inkplate); // Drawing visuals and info

// --- Deep Sleep Configuration ---
#define uS_TO_S_FACTOR 1000000 // Convert microseconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Convert microseconds to seconds
#define TIME_TO_SLEEP 1800 // Sleep time: 1800 seconds = 30 minutes

// --- Main Setup: Runs Once on Boot ---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
//---------- CHANGE HERE -------------:

// Put in your ssid and password
char ssid[] = "Soldered Electronics";
char pass[] = "dasduino";
char ssid[] = "";
char pass[] = "";

//----------------------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@


// CREDENTIALS / SECRETS
static const char* WIFI_SSID = "Soldered Electronics";
static const char* WIFI_PASSWORD = "dasduino";
static const char* WIFI_SSID = "";
static const char* WIFI_PASSWORD = "";

static const char* SPOTIFY_CLIENT_ID = "your_spotify_client_id";
static const char* SPOTIFY_CLIENT_SECRET = "your_spotify_client_secret";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <Inkplate.h>

// Conversion factor for micro seconds to seconds
#define uS_TO_S_FACTOR 1000000
#define uS_TO_S_FACTOR 1000000ULL
// Time ESP32 will go to sleep (in seconds)
#define TIME_TO_SLEEP 120

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#include "Inkplate.h" // Include Inkplate library to the sketch
Inkplate display;

const char ssid[] = "Soldered Electronics"; // Your WiFi SSID
const char *password = "dasduino"; // Your WiFi password
const char ssid[] = ""; // Your WiFi SSID
const char *password = ""; // Your WiFi password

//This is the certificate for the website https://varipass.org

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ WiFiClient client;
#define POSTING_INTERVAL_IN_SESCS 20

// Enter your WiFi credentials
const char *ssid = "Soldered Electronics";
const char *pass = "dasduino";
const char *ssid = "";
const char *pass = "";

// ThingSpeak settings
char *server = "api.thingspeak.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include <HTTPClient.h> //Include HTTP library to this sketch
#include <WiFi.h> //Include ESP32 WiFi library to our sketch

#define ssid "Soldered Electronics" // Name of the WiFi network (SSID) that you want to connect Inkplate to
#define pass "dasduino" // Password of that WiFi network
#define ssid "" // Name of the WiFi network (SSID) that you want to connect Inkplate to
#define pass "" // Password of that WiFi network

Inkplate inkplate; // Create an object on Inkplate library and also set library into 1 Bit mode (BW)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include "WiFi.h" //Include library for WiFi
Inkplate inkplate; // Create an object on Inkplate library and also set library into 1 Bit mode (BW)

const char ssid[] = "Soldered Electronics"; // Your WiFi SSID
const char *password = "dasduino"; // Your WiFi password
const char ssid[] = ""; // Your WiFi SSID
const char *password = ""; // Your WiFi password

void setup()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ static constexpr size_t sdCardTestStringLength = 100;
// Keep this short so it always fits comfortably
static const char *testString = "This is some test string...";

static const char *WSSID = "Soldered Electronics";
static const char *WPASS = "dasduino";
static const char *WSSID = "";
static const char *WPASS = "";

// Change this to your used slave device
static const uint8_t easyCDeviceAddress = 0x76;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ NetworkFunctions network(calendarID, apiKey);
Gui gui(inkplate);

// --- Deep Sleep Configuration ---
#define uS_TO_S_FACTOR 1000000 // Convert microseconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Convert microseconds to seconds
#define TIME_TO_SLEEP 600 // Sleep time: 600 seconds = 10 minutes

void setup()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
Inkplate display;

//WiFi credentials
const char *ssid = "Soldered Electronics"; // Your WiFi SSID
const char *password = "dasduino"; // Your WiFi password
const char *ssid = ""; // Your WiFi SSID
const char *password = ""; // Your WiFi password


void setup()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include "src/includes.h" // Include necessary libraries and dependencies for Inkplate and networking

// --- WiFi Configuration ---
const char *ssid = "Soldered Electronics";
const char *password = "dasduino";
const char *ssid = "";
const char *password = "";

// --- User and Location Info ---
String myUsername = "Soldered"; // User's name to be displayed on screen
Expand All @@ -53,7 +53,7 @@ WeatherData weatherData; // Structure to hold fetched weather data
Gui gui(inkplate); // Drawing visuals and info

// --- Deep Sleep Configuration ---
#define uS_TO_S_FACTOR 1000000 // Convert microseconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Convert microseconds to seconds
#define TIME_TO_SLEEP 1800 // Sleep time: 1800 seconds = 30 minutes

// --- Main Setup: Runs Once on Boot ---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@


// CREDENTIALS / SECRETS
static const char* WIFI_SSID = "Soldered Electronics";
static const char* WIFI_PASSWORD = "dasduino";
static const char* WIFI_SSID = "";
static const char* WIFI_PASSWORD = "";

static const char* SPOTIFY_CLIENT_ID = "your_spotify_client_id";
static const char* SPOTIFY_CLIENT_SECRET = "your_spotify_client_secret";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ NetworkFunctions network; // Create network object for WiFi and HTTP functions
RTC rtc; // RTC object for RTC functions

// Write your SSID and password (needed to get the correct time from the Internet)
char ssid[] = "Soldered Electronics";
char pass[] = "dasduino";
char ssid[] = "";
char pass[] = "";

// Adjust your time zone, 1 means UTC+1
int timeZone = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
#include "picture2.h"
#include "picture3.h"

#define uS_TO_S_FACTOR 1000000 // Conversion factor for micro seconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Conversion factor for micro seconds to seconds
#define TIME_TO_SLEEP 20 // How long ESP32 will be in deep sleep (in seconds)

const uint8_t *pictures[] = {pic1, pic2, pic3}; // This array holds address of every picture in the memory, so we can
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Inkplate display; // Initialize Inkplate object
NetworkFunctions network; // Create network object for WiFi and HTTP functions

// Write your SSID and password (needed to get the correct time from the Internet)
char ssid[] = "Soldered Electronics";
char pass[] = "dasduino";
char ssid[] = "";
char pass[] = "";

// Define a delay time of 40 seconds. It's around a minute if we add the refresh display time
#define DELAY_TIME 40 * 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ NetworkFunctions network; // Create network object for WiFi and HTTP functions
RTC rtc; // Create RTC object for RTC functions

// Write your SSID and password (needed to get the correct time from the Internet)
char ssid[] = "Soldered Electronics";
char pass[] = "dasduino";
char ssid[] = "";
char pass[] = "";

// Adjust your time zone, 1 means UTC+1
int timeZone = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
#include "WiFi.h" // Include library for WiFi
Inkplate display; // Create an object on Inkplate library and also set library into 1 Bit mode (BW)

const char ssid[] = "Soldered Electronics"; // Your WiFi SSID
const char password[] = "dasduino"; // Your WiFi password
const char ssid[] = ""; // Your WiFi SSID
const char password[] = ""; // Your WiFi password

void setup()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include "Wire.h"

// Change this to your WiFi
const char *WSSID = {"Soldered Electronics"};
const char *WPASS = {"dasduino"};
const char *WSSID = {""};
const char *WPASS = {""};

// Change this to your used slave device
const uint8_t easyCDeviceAddress = 0x76;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ uint8_t MODE = 1;
int timeZone = 2;

// Put in your ssid and password
char ssid[] = "Soldered Electronics";
char pass[] = "dasduino";
char ssid[] = "";
char pass[] = "";
#define DELAY_WIFI_RETRY_SECONDS 10
//----------------------------------

Expand All @@ -111,7 +111,7 @@ char pass[] = "dasduino";
#include "includes/two.h"
#include "includes/zero.h"

#define uS_TO_S_FACTOR 1000000 // Conversion factor for micro seconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Conversion factor for micro seconds to seconds
#define TIME_TO_SLEEP 300 // How long ESP32 will be in deep sleep (in seconds)

// Array for digital display 7 segment numbers bitmaps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ NetworkFunctions network(calendarID, apiKey);
Gui gui(inkplate);

// --- Deep Sleep Configuration ---
#define uS_TO_S_FACTOR 1000000 // Convert microseconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Convert microseconds to seconds
#define TIME_TO_SLEEP 600 // Sleep time: 600 seconds = 10 minutes

void setup()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ Inkplate display;
NetworkFunctions network;

// Change to your wifi ssid and password
char ssid[] = "Soldered Electronics";
char pass[] = "dasduino";
char ssid[] = "";
char pass[] = "";

// Change to your api key, if you don't have one, head over to:
// https://openweathermap.org/guide , register and copy the key provided
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ Inkplate display;
// ---------------- CHANGE HERE ---------------------:

// WiFi credentials
const char *ssid = "Soldered Electronics"; // Your WiFi SSID
const char *password = "dasduino"; // Your WiFi password
const char *ssid = ""; // Your WiFi SSID
const char *password = ""; // Your WiFi password

// Define delay between 2 images in seconds
#define SECS_BETWEEN_IMAGES 30
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

// How long the device will stay in deep sleep (in minutes)
#define SLEEP_DURATION_IN_MINS 30*60
#define uS_TO_S_FACTOR 1000000
#define uS_TO_S_FACTOR 1000000ULL

// WiFi credentials
const char* ssid = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
#include "src/includes.h" // Include necessary libraries and dependencies for Inkplate and networking

// --- WiFi Configuration ---
const char *ssid = "Soldered Electronics";
const char *password = "dasduino";
const char *ssid = "";
const char *password = "";

// --- User and Location Info ---
String myUsername = "Username"; // User's name to be displayed on screen
Expand All @@ -101,7 +101,7 @@ WeatherData weatherData; // Structure to hold fetched weather data
Gui gui(inkplate); // Drawing visuals and info

// --- Deep Sleep Configuration ---
#define uS_TO_S_FACTOR 1000000 // Convert microseconds to seconds
#define uS_TO_S_FACTOR 1000000ULL // Convert microseconds to seconds
#define TIME_TO_SLEEP 600 // Sleep time: 600 seconds = 10 minutes
RTC_DATA_ATTR int bootCount = 0; // This variable persists across deep sleep resets

Expand Down
Loading
Loading