No data back from megadesk #181
Unanswered
davidmutton
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I bought a new megadesk to have a play around with ESP home and home assistant integration.
I used the example code and it works perfectly to send controls to megadesk. All the controls seem to work fine and when I turn on debug, I can see them being sent.
But I don't get any height information, or any information back from megadesk. I've pulled the whole thing apart a few times now, switched ESP modules, switched to a breadboard so I can be completely sure the connectivity is correct. But I don't get any data back over the RX link.
Today I discovered that if I lower the baud rate from 115200 to 9600, all of a sudden I can see data coming through. It's not well formed but there's data there. Except with the baud rate set that low, sending the commands to megadesk no longer work.
Does anyone have any suggestions as to what might be going on here?
Here's my YAML, I've been swapping back and forth between the baud rates/
uart:
id: uart_desk
baud_rate: 115200 #9600
tx_pin: GPIO1
rx_pin: GPIO3
debug:
direction: BOTH
dummy_receiver: true
after:
delimiter: "\n"
EDIT:
It would appear that the RX pin on the megadesk wasn't working correctly. When I connected directly to the MISO contact point, everything works perfectly.
Beta Was this translation helpful? Give feedback.
All reactions