Skip to content

Troubleshooting

Troubleshooting OpenCoopControl

This guide helps you identify and resolve common issues you might encounter with your OpenCoopControl system.

Common Issues

Connectivity Problems

IssuePossible CausesSolutions
Cannot connect to setup WiFiDevice not powered properlyCheck power supply and connections
Too far from deviceMove closer to the device during setup
Setup mode timed outPress and hold the door button for 10 seconds to restart setup mode
Device won’t connect to home WiFiIncorrect WiFi credentialsVerify WiFi password and try setup again
WiFi signal too weakMove device closer to router or add a WiFi extender
Incompatible WiFi (5GHz vs 2.4GHz)Ensure you’re connecting to a 2.4GHz network (ESP32 doesn’t support 5GHz)
Cannot access web interfaceWrong IP addressCheck your router’s connected devices list for the correct IP
Device offlineRestart the device and check network connections
Browser cache issueClear browser cache or try a different browser

Door Control Issues

IssuePossible CausesSolutions
Door won’t open/closeServo not poweredCheck power connections to the servo
Mechanical obstructionInspect door track for obstructions
Servo not properly connectedVerify wiring on GPIO 13
Servo stall due to excessive loadEnsure door is properly balanced and not too heavy for the servo
Door opens/closes at wrong timeIncorrect time settingCheck and adjust time zone and door open/close times
System clock driftedRestart device to sync time
Light sensor mode active but coveredClean light sensor or adjust positioning
Door stuck half-openVoltage drop during operationEnsure power supply can handle peak current demands
Mechanical bindingCheck if door moves freely when disconnected from servo
Servo damagedReplace servo if it makes unusual noises or doesn’t hold position

Feeder Issues

IssuePossible CausesSolutions
Feeder doesn’t activateMotor not poweredCheck connections to GPIO 12 and motor driver
Motor driver faultVerify driver LED indicators and wiring
Feed hopper empty or jammedCheck feed levels and clear any blockages
Feeder runs too long/shortIncorrect duration settingAdjust feed duration in settings
Feed mechanism bindingCheck for mechanical issues in the feed delivery system
Feeder activates randomlyTriggered by noise on input pinAdd a capacitor across the control pin to reduce noise
Software issueUpdate to latest firmware version

Sensor Issues

IssuePossible CausesSolutions
Inaccurate temperatureSensor placed in direct sunRelocate sensor to shaded area
Poor sensor connectionCheck wiring to GPIO 32
Need calibrationApply offset correction in settings
Light sensor not workingCovered or dirty sensorClean and ensure proper placement
Incorrect wiringVerify connections to GPIO 33
Component failureTest with multimeter and replace if needed
Water level sensor issuesSensor fouledClean probe contacts
Incorrect calibrationRecalibrate using known water levels

System Status LED Indicators

The built-in LED on the ESP32 provides status information:

LED PatternMeaning
Solid ONDevice in setup mode
Single blink at startupNormal operation
Rapid blinkingConnecting to WiFi
Three blinks repeatingError state
Short-long-short patternUpdate in progress

Software Issues

Web Interface Not Loading

  1. Check that you’re using the correct IP address
  2. Try accessing the device using mDNS: http://opencoopcontrol.local
  3. Clear your browser cache or try a different browser
  4. Restart the device by cycling power

Settings Not Saving

  1. Check for full storage with System > Storage Info
  2. Try a restart after saving
  3. As a last resort, reset to factory defaults and reconfigure

Firmware Update Issues

IssueSolutions
Update fails to startCheck internet connectivity
Ensure device has at least 30% free storage
Update starts but failsTry manual update using the firmware.bin file
Perform full flash with latest release
Device unresponsive after updateWait 5 minutes for first boot to complete
If still unresponsive, perform full flash with recovery image

Hardware Troubleshooting

Power Issues

  1. Insufficient power supply: Ensure your power supply can provide at least 2A at 5V
  2. Voltage drops during operation: Add a large capacitor (1000μF) near the ESP32 power pins
  3. Intermittent resets: Check for loose connections and adequate power supply

Motor and Servo Troubleshooting

  1. Testing servos: Use the manual test function in Settings > System > Hardware Test
  2. Motor doesn’t run: Check for 5V at the motor driver VCC pin
  3. Servo jitters: Ensure separate power supply for servos or add large capacitor

Connectivity Hardware Issues

  1. Poor WiFi reception: Add an external antenna or WiFi extender
  2. Interference: Move away from metal objects and other electronic devices

Recovering from Major Failures

Complete Reflashing Procedure

If your device becomes completely unresponsive, you can restore it using the full flashing procedure:

  1. Download the latest release files from GitHub
  2. Follow the Installation Guide for a complete reinstallation

Recovery Mode

To enter recovery mode:

  1. Disconnect power
  2. Hold the BOOT button on the ESP32
  3. Reconnect power while holding BOOT
  4. Release BOOT after 5 seconds
  5. Device should appear as a serial port for flashing

Getting Additional Help

If you’re still experiencing issues after trying these troubleshooting steps:

  1. Check our GitHub Issues for similar problems
  2. Join our community forum for assistance
  3. Open a new issue with detailed information about your problem:
    • Firmware version
    • Hardware configuration
    • Exact steps to reproduce the issue
    • Any error messages displayed
    • Photos/videos of the issue if relevant

Preventative Maintenance

To avoid issues, perform these maintenance tasks regularly:

  1. Check and clean sensors monthly
  2. Inspect door mechanism for smooth operation
  3. Test manual override controls
  4. Check feed delivery system for blockages
  5. Update firmware when new versions are released
  6. Back up your configuration after significant changes