hkiam / HCPBridge

emulates Hoermann HAP 1 HCP (HCP2) on ESP8622, ESP32 and Arduino.
90 stars 37 forks source link

Zu wenig Volt am Bus? #7

Closed coreGreenberet closed 2 years ago

coreGreenberet commented 2 years ago

Hallo,

ich habe das Ganze gemäß dem Diagram für den ESP32 verlötet. Beim Busscan vom Garagentor werden nur kurz ca 3V angelegt, was natürlich für den ESP32 zu wenig ist und da keine Antwort am Bus kommt wird er wieder abgedreht. Ich habe leider kein Labornetzgerät umd die Volt am Wandler einzustellen, darum wollte ich das direkt am Gerät machen.

Habe ich mich hier irgendwo vertan, oder gibt es hier noch etwas zu beachten?

donulfo commented 2 years ago

Hi Karel, yes i experiences the same behaviour why i switched to the other mentioned MQTT solutions mentioned above. With one of those the Bluetooth and remote is still working fine after a few weeks , but the MQTT service stopped working.

I don´t have a fully working solution either during these days...

Thx, Seb

karelkryda commented 2 years ago

Hi @donulfo, That's strange. I wonder if the problem is with the software or the hardware. In fact, due to the lack of internet, I can't even verify the reason for the ESP32 reboot. The biggest complication is that the gate operator motor refuses to continue working when communication with the board is interrupted and has to be turned off and on. I have done a complete update of all libraries recently, but I have not plugged the board in at the moment and am waiting. Technically, my problem can be solved with a remote controlled electrical outlet and simply restarting the gate when this problem occurs, but it is not an ideal solution.

Please let me know if you can figure anything out.

stomko11 commented 1 year ago

@snoekieboe trying to use fork from Andreas on my ESP32. I did modify my wifi details, host name and MQTT server details in the code, but I am struggling to understand which PINs to use for TX/RX on my ESP32. Which ones did you use?

To elaborate - I uploaded code to ESP32, when powered via USB just to test and see if it works, I see ESP on my wifi network and can get to webinterface (says, obviously, not connected to gate which is true). Now - when I connect it to Hormann, and go to menu 37 - 01 - and hold PRG to start bus scan, ESP powers on for the time of scan, but after that, powers off as if no bus scan components are found. I tried connecting RX and TX pins from RS485 to RX and TX pins on my ESP32. I also tried swapping RX and TX so that RX goes to TX, and TX goes to RX - with the same result. Reading this thread, I tried powering RS485 with 5V instead of 3,3V and the result is the same.

Anyone can give me any advice? Should i use different PINs on ESP, or should i modify code to point the to PINs I am using?