Thanks, Chris. I can enable the UART on the Raspberry Pi. The voltage converter chip is the bit I need to understand better.
Cheers -- Andrew Terhorst [+61400869594](tel:+61400869594) Sent with [ProtonMail](https://protonmail.com/) Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, September 30th, 2021 at 22:17, Chris Howard <[email protected]> wrote: > I have WXT520 working with a BeagleBoneBlack single board computer. > On the BBB there are serial ports available through the pin connectors (UART > via GPIO pins) > The cable from the WXT520 goes to those through a voltage converter chip. > > You could do that same thing with a Pi. > > For USB, I would build a cable from the M12 connector to a DB9 serial > connector, > then use a DB9 to USB serial adaptor and plug that into the USB on the > Raspberry Pi. > > I dislike USB connectors for long-term unattended connections. I feel that > they > slowly degrade if they aren't disconnected/reconnected every so often. > Therefore > my recommendation would be to go the UART/GPIO route if you can. > > The only thing you should have to do to the weewx code in either case is to > aim it at the correct serial port and get the speed/parity/stop-bits > configured. > > On Thu, Sep 30, 2021 at 1:42 AM Derek <[email protected]> wrote: > >> Can you use a Serial/USB adapter - USB is a serial facility in itself >> (Universal Serial Bus). >> >> -- >> Derek >> >> On 30 September 2021 3:30:02 pm NZDT, Andrew Terhorst >> <[email protected]> wrote: >>> >>>Hi >>> >>>I have a Vaisala WXT520 with M12 connector and cable but no USB plug. >>>If I >>>configure the Vaisala to deliver data via RS232 what must I do to get >>>weewx >>>to understand the messages? >>> >>>Before judging me too harshly, I am not a Python expert or an embedded >>>systems expert. I am a hobbyist. I assume I need to enable the GPIO to >>>accept serial comms. Then I need to modify Matthew Wall's driver >>>accordingly? I assume it expects a USB connection. >>> >>>Please advise. Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to >> [[email protected]](mailto:weewx-user%[email protected]). >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/2850DCBD-7598-488C-8AF9-4CE54CE52AF5%40gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > [https://groups.google.com/d/msgid/weewx-user/CAAEaNNRJZ0mCE3gf3%3DmtdLc%2BN4WMfV7%3DAOGx8%2B_J%2BzEUkTEB8w%40mail.gmail.com](https://groups.google.com/d/msgid/weewx-user/CAAEaNNRJZ0mCE3gf3%3DmtdLc%2BN4WMfV7%3DAOGx8%2B_J%2BzEUkTEB8w%40mail.gmail.com?utm_medium=email&utm_source=footer). -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/HXlmxUXZ5jGtsd6CfGjHw4MzhDdOnlLQjpo0YwUgPGpr7Hne9K5IRXWz_xwlSBhHm0vgMXaJ4zFcIPMxkvpoddP4TpS945H335Ww7G-olSE%3D%40protonmail.com.
