This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include "ThingSpeak.h" | |
char ssid[] = "XXXX"; // your network SSID (name) | |
char pass[] = "XXXX"; // your network password | |
/* | |
***************************************************************************************** | |
**** Visit https://www.thingspeak.com to sign up for a free account and create |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// **************************************************************************** | |
// * H2S GAS SENSOR WITH DATA UPLOADS TO Ubidots AND openSenseMap * | |
// * LOW POWER MODE, CAN RUN ON BATTERY * | |
// * Uses ESP8266 thing and DGS-H2S sensor from SPEC sensors * | |
// * https://www.sparkfun.com/products/13231 * | |
// * https://www.spec-sensors.com/product/digital-gas-sensor-h2s/ * | |
// * Wiring instructions * | |
// * https://electronza.com/ * | |
// * CHANGELOG * | |
// * v7 - first stable version * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// **************************************************************************** | |
// * H2S GAS SENSOR WITH DATA UPLOADS TO openSenseMap * | |
// * LOW POWER MODE, CAN RUN ON BATTERY * | |
// * Uses ESP8266 thing and DGS-H2S sensor from SPEC sensors * | |
// * https://www.sparkfun.com/products/13231 * | |
// * https://www.spec-sensors.com/product/digital-gas-sensor-h2s/ * | |
// * Wiring instructions * | |
// * https://electronza.com/ * | |
// * CHANGELOG * | |
// * v7 - first stable version * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
4-20mA Thermometer using Mikroe click boards | |
https://electronza.com/arduino-4-20ma-thermometer/ | |
Part I - 4-20mA T click transmitter code | |
*/ | |
#include <SPI.h> | |
// REQUIRES the following Arduino libraries: | |
// - DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
4-20mA Thermometer using Mikroe click boards | |
https://electronza.com/arduino-4-20ma-thermometer/ | |
Part II - 4-20mA T click receiver code | |
*/ | |
#include <SPI.h> | |
#include <MIKROE_LCDmini.h> | |
// Arduino UNO with Mikroe Arduino Uno Click shield |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://electronza.com/mikroe-2376-arduino-uno-capacitance/ | |
// C-meter click is installed in socket #1 | |
// of Arduino Uno click shield | |
// Pulses will be applied on pin D2 | |
int pin = 2; | |
// We compute on float | |
float period; | |
float Cx; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C-meter click is installed in socket #1 | |
// of Arduino Uno click shield | |
// Pulses will be applied on pin D2 | |
int pin = 2; | |
// We compute on float | |
float period; | |
float Cx; | |
unsigned long pulse; | |
void setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPEC H2S Sensor | |
// See https://electronza.com/h2s-sensing-revisited-tutorial-arduino-uno/ | |
// Serial number of my sensor | |
// #define mysensor_serial_no 012017030207 | |
// #define portOne_RX_BUFFER_SIZE 256 | |
// #define portOne_TX_BUFFER_SIZE 256 | |
// Sensor values |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Generated Main Source File | |
Company: | |
Microchip Technology Inc. | |
File Name: | |
main.c | |
Summary: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************* | |
____ __ ____ ___ ____ ____ __ __ _ ____ __ | |
( __)( ) ( __)/ __)(_ _)( _ \ / \ ( ( \(__ ) / _\ | |
) _) / (_/\ ) _)( (__ )( ) /( O )/ / / _/ / \ | |
(____)\____/(____)\___) (__) (__\_) \__/ \_)__)(____)\_/\_/ | |
Project name: Voltmeter click: tutorial & Arduino code | |
Project page: https://electronza.com/voltmeter-click-tutorial-arduino-code/ | |
Description : Voltmeter click calibration code | |
********************************************************************/ |
OlderNewer