Add minimalist pictures and pcb. Cleanup code.
LocationBasedServices/mowesta/pipeline/head This commit looks good
LocationBasedServices/mowesta/pipeline/head This commit looks good
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -10,14 +10,12 @@
|
||||
#include "ArduinoJson.h"
|
||||
|
||||
// Hardware setup
|
||||
#define BUTTON_PIN D5
|
||||
#define VOLTAGE_PIN A0
|
||||
#define VOLTAGE_MULTIPLIER 11
|
||||
#define VOLTAGE_DIVIDER 255.0
|
||||
#define EEPROM_SIZE 512
|
||||
#define BUTTON_OUT D7
|
||||
#define BME_OUT D6
|
||||
#define VOLTAGE_OUT D8
|
||||
#define BUTTON_PIN D5
|
||||
|
||||
//Credentials for the Access Point
|
||||
#define WLAN_AP_SSID "MoWeSta - WiFi"
|
||||
@@ -124,12 +122,6 @@ void setup() {
|
||||
while (!Serial);
|
||||
Serial.println();
|
||||
|
||||
// power the voltage divider
|
||||
pinMode(VOLTAGE_OUT, OUTPUT);
|
||||
digitalWrite(VOLTAGE_OUT, LOW);
|
||||
// power the bme sensor
|
||||
pinMode(BME_OUT, OUTPUT);
|
||||
digitalWrite(BME_OUT, LOW);
|
||||
// power the button
|
||||
pinMode(BUTTON_OUT, OUTPUT);
|
||||
digitalWrite(BUTTON_OUT, LOW);
|
||||
|
||||
@@ -9,13 +9,12 @@
|
||||
#include "ArduinoJson.h"
|
||||
|
||||
// Hardware setup
|
||||
#define BUTTON_PIN D5
|
||||
#define VOLTAGE_PIN A0
|
||||
#define VOLTAGE_MULTIPLIER 11
|
||||
#define VOLTAGE_DIVIDER 255.0
|
||||
#define EEPROM_SIZE 512
|
||||
#define BUTTON_PIN D5
|
||||
#define BUTTON_OUT D7
|
||||
#define EXTERNAL_OUT D8
|
||||
|
||||
//Credentials for the Access Point
|
||||
#define WLAN_AP_SSID "MoWeSta - WiFi"
|
||||
@@ -124,8 +123,6 @@ void setup() {
|
||||
// power the button, voltage divider and sensor
|
||||
pinMode(BUTTON_OUT, OUTPUT);
|
||||
digitalWrite(BUTTON_OUT, LOW);
|
||||
// set out to in, since it is connected directly to GND
|
||||
pinMode(EXTERNAL_OUT, INPUT);
|
||||
// Initialize EEPROM with complete size
|
||||
// Configure the button to enter setup
|
||||
pinMode(BUTTON_PIN, INPUT_PULLUP);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 265 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 240 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
Reference in New Issue
Block a user