Attaching RS485 board to Wifi-Dongle #96
odroegehorn
started this conversation in
General
Replies: 1 comment
-
Thanks a lot for your summary! Feel free to create new issues if you miss something or if you see room for improvements. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody,
I just want to document, what I did with the help of the software-developer #syssi:
I flashed the stock-wifi dongle with the new 8266-wifi-dongle firmware with the "example.yaml" file for it.
This worked already. Beyond that, I added the web-server support to it (as shown in "display-example.yaml").
Last I have asked, if there are free GPIOs on the 8266, and yes, there are.
In my case, I have soldered an RS485-to-TTL module (same as shown on the first page) directly under the wifi-dongle.
+3.3V and GND are from the dongle-board (see dongle-doc) and RX/TX are going to the 8266.
I used GPIO5 (as it is free) and GPIO14 (as it was presoldered), easiest way to solder for me. Originally I planned for GPIO5 & 16, but the 16 PIN didn't got strong soldering for the cable, therefore I switched to GPIO14.
You can see the results in the pictures.
All fit's "more or less" into the original wifi-dongle housing. You just have to make a little space for the RS485 board, and widen the USB-cut-out a little bit, as the wifi-dongle board comes a little bit up.
The rest is straight forward. I integrated the RS485 like in the "display-example.yaml" file, so that we have WIFI-TTL and RS485 on two uarts, like in the file. Only difference: it's not the WeMos but the wifi-dongle.
Hope that helps anybody.
Beta Was this translation helpful? Give feedback.
All reactions