Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dead Board?
#1
Hi,

I have a KC868-A8.

I Flashed it fine four days ago using ESP Home on windows 11.  The board is connected to a regulated switched-mode 12v supply.  I had started to program up a script to use as an aquaponics controller.  I had the following connected:

One dry contact on the first input

One TDS sensor on A1  (+4v)

One DS18B20 on S1

All was working well.  I left the board running overnight.

Came back this morning and noticed that it wasn't showing up in Home Assistant or responding to its IP address.

Power was still OK everywhere.

I have attempted to reflash using esphome webtools and using ESP flasher and your own
 tool from here:  ESP Module Flash Download Tools - Smart Home Automation | KinCony

I have rebooted and reinstalled the com port.  

I have tried from my mac.

The Serial port is showing up on USB connection on both the mac and PC.

I have tried with a different USB cable.

I have confirmed I am able to flash other esp32 chips from the PC with no problem.

I have tried using the s1 and s1 as boot buttons.

My assumption is that the board is dead unless you have other advice?

----
config for reference:
I had yet to attach the Ph probe as I was building a voltage divider this morning. Also the Ultrasonic sensor requires some extra files for the build and i had yet to but those in the right place.  
# Basic Config
esphome:
  name: "greenwall"
  friendly_name: Greenwall
esp32:
  board: esp32dev
  framework:
    type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
  encryption:
    key: !secret greenwall_api_key
   
ota:
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  domain: !secret local_domain
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-E12294"
    password: "sJdgDQKbR936"
captive_portal:
web_server:
  port: 80
  auth:
    username: !secret web_server_username
    password: !secret gw_web_server_password
#ethernet:
#  type: LAN8720
#  mdc_pin: GPIO23
#  mdio_pin: GPIO18
#  clk_mode: GPIO17_OUT
#  phy_addr: 0
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a
# Individual outputs
switch:
  - platform: gpio
    name: "Circulation Pump"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Swirl Filter Pump"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Tank Fill"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Mixer"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Ph Up"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Ph Down"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Calcium"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Micronutrients"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
# Inputs
# Binary
binary_sensor:
  - platform: gpio
    name: "Tank Level Low"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Swirl Level Low"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Bio Level Low"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Tank Overflow"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
# Digital
  - platform: gpio
    name: "a8-s3"
    pin:
      number: 32
      inverted: true
  - platform: gpio
    name: "a8-s4"
    pin:
      number: 33
      inverted: true
dallas:
  - pin: 14
sensor:
  - platform: dallas
    #address: 0x1c0000031edd2a28 #replace with your sensor's ID
    index: 0
    name: "Water Temperature"
  - platform: ultrasonic
    trigger_pin: 13
    echo_pin: 32
    name: "Water Level"
    update_interval: 1s
    accuracy_decimals: 2
    filters:
    - lambda: return (1 - x + 0.03);
    - median:
        window_size: 20
        send_every: 10
    unit_of_measurement: "m^3"
# Analog
# pins 34/35
  # https://esphome.io/components/sensor/adc.html
  - platform: adc
    pin: 34
    id: ph
    name: "pH Sensor"
    update_interval: 1s
    unit_of_measurement: pH
    # https://esphome.io/components/sensor/ind...or-filters
    filters:
      - median:
          window_size: 7
          send_every: 4
          send_first_at: 3
      # Measured voltage -> Actual pH (buffer solution)
      - calibrate_linear:
          - 0.59 -> 7.0
          - 0.71 -> 4.0
  - platform: adc
    pin: 35
    id: tds
    name: "TDS Sensor"
    update_interval: 1s
    unit_of_measurement: ppm
    # https://esphome.io/components/sensor/ind...or-filters
    filters:
      - lambda: return (x * 1000);
      - median:
          window_size: 7
          send_every: 4
          send_first_at: 3
      # Measured voltage -> Actual TDS (buffer solution)
      #- calibrate_linear:
      #    - 0.59 -> 7.0
      #    - 0.71 -> 4.0


Attached Files Image(s)
   
Reply


Messages In This Thread
Dead Board? - by grs56 - 09-22-2023, 06:11 AM
RE: Dead Board? - by admin - 09-22-2023, 08:06 AM
RE: Dead Board? - by grs56 - 09-22-2023, 08:14 AM
RE: Dead Board? - by admin - 09-22-2023, 08:20 AM
RE: Dead Board? - by grs56 - 09-22-2023, 09:43 AM
RE: Dead Board? - by admin - 09-22-2023, 09:59 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)