Troubleshooting - DeeEmm/DIY-Flow-Bench GitHub Wiki
If you are experiencing issues, the following details might be of help
Serial data API
The serial monitor can be used to view status information as the device operates, this can often give a pretty good idea of the cause of any issues you might be experiencing. It will also report the status of the system as it boots up. If the system stalls or panics the last status information displayed will often give you a very good idea of what the problem may be.
Once the system is running you can also interrogate the controller by sending characters to the serial port. A list of the available status functions can be viewed by sending '?'
Serial debug data verbose mode
By default the serial monitor only reports basic data. To enable a more verbose output simply send an exclamation mark using the serial terminal, this will toggle verbose (debug) mode and display more information.
Large / erroneous numbers displayed
If the values displayed in the WebUI are out of range or otherwise erroneous it is possible that you have the wrong I2C device addresses set or the ECU cannot read the I2C devices.
To check what I2C devices are being detected take a look at the serial monitor when the device is booting and it will scan and report all device addresses on the I2C network.
WebUI displays but has no data
If the WebUI appears but no data is displayed it is possible that the unit is experiencing a kernel panic. This is most easily viewed in the serial monitor where the device will report the start sequence but then reboot.
The most common cause for this is incorrect configuration settings. Also check that you have the correct I2C devices enabled
WiFi issues
The Wifi will by default try to connect to the SSID and password stored in the configuration settings. If for some reason this fails, the ESP will then create a WiFi access point for you to connect to it directly. By default the access point SSID is 'DIYFB' and the password is '123456789'.
If the system repeatedly fails to connect to your WiFi network and your WiFi credentials are good, then it is possible that your router may be preventing the system from connecting. This often arises when updating the firmware. To overcome this it is advised to clear the DNS cache in your router. You will need to check your routers help documentation to find out how to do this but often power cycling the router is all that is required.
If your router detects the system as a spoof attack it may blacklist its MAC address. You can either clear this in the routers settings, or alternately you can assign a new MAC Address to the system. The settings for this can be found in configuration.h
Support
If you get stuck please feel free to create a discussion in the forums and we will try to assist you.