New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Use of "ttl to rs485"-circuit without RE/DE-pin? #1
Comments
The communication with the AHC is half duplex, ie. my code sets the direction of the MAX3072E to drive the bus, sends a message, changes the direction to listen on the bus, and then receive a reply message from the AHC. |
Thanks for the response! Finally got time to try it out, and it is working just fine ignoring D1 :) |
Hi Niklas. How did you wire your interface? |
Now that RS485 is implemented on some cool boards like this, could you please prove a few more details, @niklascp . I know this is a old issue. So... That brings us to: I've ordered the board I linked to, and hope that it will work just fine. |
Hi. First of all thanks for sharing your awesome work! I was also planning to integrate my AHC-9000 and HA, so this comes very convenient!
This is a hardware question more than a issue. I can see from your schematic that D1 is used as RE/DE for the MAX3072E. Now I don't have a MAX3072E/MAX3485 available. But I do have this one, which is based on MAX13487 with "AutoDirection" - so no RE/DE pin:
https://www.amazon.de/DSD-TECH-SH-U12-MAX13487-Raspberry/dp/B07B667STP/ref=sr_1_3?ie=UTF8&qid=1538679557&sr=8-3&keywords=ttl+rs485
My question is, do you think this will be compatiple with your code, and can be wired just ignoring the use of the D1 pin?
PS: I would put a 5/3.3V level converter between the NodeMCU and the RS485 to TTL since it is 5V.
Thanks!
Br.
Niklas
The text was updated successfully, but these errors were encountered: