Skip to content

Everything works except the serial comms #34

@domwells27-a11y

Description

@domwells27-a11y

Hi all,

I have built all my modules, and am just starting to configure each one. However, I cannot get the web interface to send messages to any of the units. Here's what works:

  • Each unit successfully calibrates on start up
  • EEPROM setting has been set for each unit
  • ESP web interface loads correctly, and I can access via IP address
  • Serial debug on Arduinos and ESP are reporting back in serial monitor.

Here's what I have done:

  • Ensured the Arduinos and ESP are not in serial debug mode
  • Confirmed the number of units matches the ESP program
  • Confirmed the DIP switches are set correctly
  • Tried another ESP, same result
  • Tried multiple Arduinos (albeit from the same batch), incase there is an I2C issue
  • Tried 'sniffing' the I2C bus with a logic analyzer. I get signal immediately on power up of the ESP, but then silence after, and from what I can tell lots of NACK codes, no ACK.
  • Altered the code as here (ESP8226 no connection to Arduino Nano #31 (comment)). It didn't make a difference.

A couple of questions:

What is the expected behaviour when using a logic analyzer? Should I expect a constant stream of data if the ESP is set to 'clock mode' for example?
Anything else I have missed? Could the PCB be defective (assembled by PCBWay)?

Many thanks
Dom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions