|
4 | 4 | *
|
5 | 5 | * This example shows proper settings for the following configuration:
|
6 | 6 | *
|
7 |
| - * Mayfly v1.0 board |
8 |
| - * EnviroDIY SIM7080 LTE module (with Hologram SIM card) |
| 7 | + * Mayfly v1.x board |
| 8 | + * EnviroDIY ESP32 Wifi Bee module |
9 | 9 | * Hydros21 CTD sensor
|
10 | 10 | *
|
11 | 11 | * @author Sara Geleskie Damiano <sdamiano@stroudcenter.org>
|
@@ -96,7 +96,7 @@ const int32_t modemBaud = 115200; // Communication speed of the modem
|
96 | 96 | // Example pins here are for a EnviroDIY ESP32 Bluetooth/Wifi Bee with
|
97 | 97 | // Mayfly 1.1
|
98 | 98 | const int8_t modemVccPin = 18; // MCU pin controlling modem power
|
99 |
| -const int8_t modemResetPin = A5; // MCU pin connected to modem reset pin |
| 99 | +const int8_t modemResetPin = -1; // MCU pin connected to modem reset pin |
100 | 100 | const int8_t modemLEDPin = redLED; // MCU pin connected an LED to show modem
|
101 | 101 | // status
|
102 | 102 |
|
@@ -136,20 +136,6 @@ MaximDS3231 ds3231(1);
|
136 | 136 | /** End [ds3231] */
|
137 | 137 |
|
138 | 138 |
|
139 |
| -// ========================================================================== |
140 |
| -// Everlight ALS-PT19 Ambient Light Sensor |
141 |
| -// Built in on Mayfly 1.x |
142 |
| -// ========================================================================== |
143 |
| -/** Start [everlight_alspt19] */ |
144 |
| -#include <sensors/EverlightALSPT19.h> |
145 |
| - |
146 |
| -// Create a Everlight ALS-PT19 sensor object |
147 |
| -// For an EnviroDIY Mayfly, you can use the abbreviated version |
148 |
| -const uint8_t alsNumberReadings = 10; |
149 |
| -EverlightALSPT19 alsPt19(alsNumberReadings); |
150 |
| -/** End [everlight_alspt19] */ |
151 |
| - |
152 |
| - |
153 | 139 | // ==========================================================================
|
154 | 140 | // Sensirion SHT4X Digital Humidity and Temperature Sensor
|
155 | 141 | // Built in on Mayfly 1.x
|
@@ -194,8 +180,6 @@ Variable* variableList[] = {
|
194 | 180 | new MeterHydros21_Temp(&hydros), // Temperature (Meter_Hydros21_Temp)
|
195 | 181 | new SensirionSHT4x_Humidity(&sht4x), // Relative humidity (Sensirion_SHT40_Humidity)
|
196 | 182 | new SensirionSHT4x_Temp(&sht4x), // Temperature (Sensirion_SHT40_Temperature)
|
197 |
| - new EverlightALSPT19_Illuminance(&alsPt19), // Illuminance (Everlight_AnalogALS_Illuminance) |
198 |
| - new MaximDS3231_Temp(&ds3231), // Temperature (Maxim_DS3231_Temp) |
199 | 183 | new ProcessorStats_Battery(&mcuBoard), // Battery voltage (EnviroDIY_Mayfly_Batt)
|
200 | 184 | new Modem_SignalPercent(&modem), // Percent full scale (EnviroDIY_LTEB_SignalPercent)
|
201 | 185 | };
|
@@ -224,8 +208,6 @@ const char* UUIDs[] = // UUID array for device sensors
|
224 | 208 | "12345678-abcd-1234-ef00-1234567890ab", // Temperature (Meter_Hydros21_Temp)
|
225 | 209 | "12345678-abcd-1234-ef00-1234567890ab", // Relative humidity (Sensirion_SHT40_Humidity)
|
226 | 210 | "12345678-abcd-1234-ef00-1234567890ab", // Temperature (Sensirion_SHT40_Temperature)
|
227 |
| - "12345678-abcd-1234-ef00-1234567890ab", // Illuminance (Everlight_AnalogALS_Illuminance) |
228 |
| - "12345678-abcd-1234-ef00-1234567890ab", // Temperature (Maxim_DS3231_Temp) |
229 | 211 | "12345678-abcd-1234-ef00-1234567890ab", // Battery voltage (EnviroDIY_Mayfly_Batt)
|
230 | 212 | "12345678-abcd-1234-ef00-1234567890ab", // Percent full scale (EnviroDIY_LTEB_SignalPercent)
|
231 | 213 | };
|
|
0 commit comments