Skip to content

Instantly share code, notes, and snippets.

@SimedruF
SimedruF / esp32_cam_doorbell.yaml
Created February 19, 2022 12:41
esp32_cam_doorbell.yaml
substitutions:
devicename: Doorbellcam
esphome:
name: esp32-cam
esp32:
board: nodemcu-32s
framework:
type: arduino
@SimedruF
SimedruF / platformio_attiny85.ini
Created February 12, 2022 08:04
platformio_attiny85.ini
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
@SimedruF
SimedruF / ATTiny85_Doorbell.ino
Last active February 12, 2022 08:06
ATTiny85_Doorbell.ino
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / Arduino_Mega2560_PIR.ino
Created February 2, 2022 18:07
Arduino_Mega2560_PIR.ino
/*
* PIR sensor tester
*/
int ledPin = 13; // choose the pin for the LED
int inputPin = 2; // choose the input pin (for PIR sensor)
int pirState = LOW; // we start, assuming no motion detected
int val = 0; // variable for reading the pin status
void setup() {
@SimedruF
SimedruF / ESP32_uWeatherStation.ino
Created January 30, 2022 08:37
ESP32 uWeatherStation for Home automation MQTT
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / Doorbell_433Mhz_Decoding.ino
Created January 29, 2022 12:23
Doorbell_433Mhz_Decoding.ino
#include "rcswitch.h"
RCSwitch mySwitch = RCSwitch();
unsigned char snifferMode = 0;
#define SAMPLESIZE 500
static unsigned int timings[SAMPLESIZE];
static unsigned int pos = 0;
static unsigned long lastTime = 0;
@SimedruF
SimedruF / ESP32_MQTT_BME280.cpp
Created January 2, 2022 19:48
ESP32_MQTT_BME280.cpp
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / ESP32_AudioPlayer.cpp
Last active January 2, 2022 19:35
ESP32_AudioPlayer.cpp
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / ESp32_record_audio_with_INM441.cpp
Last active July 31, 2025 21:22
ESp32_record_audio_with_INM441.cpp
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/
@SimedruF
SimedruF / ESP32_RelayTest.ino
Created November 7, 2021 13:12
ESP32_Relay control from a webserver
/*
Florin Simedru
Complete project details at https://automatic-house.blogspot.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
*/