The serial port voltage conversion is usually called a "level shifter"
On Thu, Sep 30, 2021 at 7:17 AM 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]. >> 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/CAAEaNNSOeRyotvEkw8%2BCYpTHPRJ0%2Bvh8SEHUyk8EFXyire5pWw%40mail.gmail.com.
