Skip to content
  • Contacts
Electronics manufacturer for IoT
  • Home
  • Shop
  • Posts
  • Useful
    • GGreg20_V3 Ionizing Radiation Detector
    • Easy Links
    • Our modules: real demo
    • Return and exchange policy
  • English
    • Українська (Ukrainian)
  • 00грн.
00грн.
  • Home
  • Shop
  • Posts
  • Useful
    • GGreg20_V3 Ionizing Radiation Detector
    • Easy Links
    • Our modules: real demo
    • Return and exchange policy
  • English
    • Українська (Ukrainian)
  • 00грн.
  • Contacts

Technical note on bug fixes in ESPHome firmware for ESP32 regarding GPIO and interrupt handler settings modes

  • Post published:06.03.2023
  • Post category:News/Tips

To the attention of those users of the Geiger counter module GGreg20_V3 connected to the ESP32 microcontroller with ESPHome firmware who created their firmware earlier and have not yet had…

Continue ReadingTechnical note on bug fixes in ESPHome firmware for ESP32 regarding GPIO and interrupt handler settings modes

Tags

Arduino Bug-fix DCDC_3V3_400V_V1 debounce DIY emulator ESP12.OLED ESP32 ESP8266 ESPHome esphome-config Expressive Firmware-update Geiger geiger-counter GGreg20_ES GGreg20_V3 ggreg20_v3-sensor-node gm-tube GPIO Home Assistant I2C I2CUI4_V1 Interrupt ionizing radiation iot IoT devices ISR J305 LUA NodeMCU Pulse Counter radiation rest reverse-polarity-protection SBM20 schottky-diode supply-voltage-range Tasmota technical-note thingspeak tindie Twitter unit test yaml-config

Our contacts

  • Mobile+38 (098) 892-57-94Opens in your application
  • Mobile:+38 (063) 486-70-47Opens in your application

New publications

  • Promotion “Cyber Monday” until 30.11
    Promotion “Cyber Monday” until 30.11
    23.11.2023/
    0 Comments
  • The IoT-devices, LLC store is already on Etsy
    The IoT-devices, LLC store is already on Etsy
    06.11.2023/
    0 Comments
  • GGreg20_ES – souvenir Geiger counter
    GGreg20_ES – souvenir Geiger counter
    28.10.2023/
    0 Comments

We are in social networks

  • FACEBOOKOpens in a new tab
  • TWITTEROpens in a new tab
  • Cart
Copyright - IoT-devices.com.ua
Select your currency
UAH Ukrainian hryvnia
USD United States (US) dollar
×
×

Cart

Yaml

може сховати лістинг у акордеон?
####### ggreg20_esp8266_esphome.yaml #####
esphome:
  name: esphome_node1 # Controller Unique Name
  platform: ESP8266 # Platform type you have to select when creating new yaml-config in ESP Home
  board: nodemcuv2 # Controller type you have to select when creating new yaml-config in ESP Home

wifi:
  ssid: "YourWiFiSSID"
  password: "SSIDPassword"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome Node1 Fallback Hotspot"
    password: "Cpxg9hRIBU7M"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "APIpassword"

ota:
  password: "OTApassword"

# Just embedded test D3 (GPIO0) button on every ESP8266 Devboard
# You can press D3 button several times to simulate incoming GGreg pulses
binary_sensor:
  - platform: gpio
    name: "D3 Input Button"
    pin:
      number: 0
      inverted: True
      mode: INPUT_PULLUP

# Here we calc and include to the firmware a power and doze values of ionizing radiation as sensor outputs
sensor:
- platform: pulse_counter
  pin: D3
  unit_of_measurement: 'mkSv/Hour'
  name: 'Ionizing Radiation Power'
  count_mode: 
    rising_edge: DISABLE
    falling_edge: INCREMENT
  update_interval: 60s
  accuracy_decimals: 3
  id: my_doze_meter
  filters:
    - sliding_window_moving_average: # 5-minutes moving average (MA5) here
        window_size: 5
        send_every: 5      
    - multiply: 0.0054 # SBM20 tube conversion factor of pulses into mkSv/Hour 
- platform: integration
  name: "Total Ionizing Radiation Doze"
  unit_of_measurement: "mkSv"
  sensor: my_doze_meter # link entity id to the pulse_counter values above
  icon: "mdi:radioactive"
  accuracy_decimals: 5
  time_unit: min # integrate values every next minute
  filters:
    - multiply: 0.00009 # obtained doze (from mkSv/hour into mkSv/minute) conversion factor: 0.0054 / 60 minutes = 0.00009; so pulses * 0.00009 = doze every next minute, mkSv.
####### END of ggreg20_esp8266_esphome.yaml #####

 

[contact-form-7 id=”298″ title=”Contact form”]