http://w0ep.us/OM/?p=3366
On Thu, Sep 30, 2021 at 8:05 AM Chris Howard <ch.w...@gmail.com> wrote: > I looked in my old blog posts and found info about what I used. The > picture is not very clear about connections. > I still have this and could get you a better schematic if you need it. > > > On Thu, Sep 30, 2021 at 7:58 AM Chris Howard <ch.w...@gmail.com> wrote: > >> >> The Pi (and BBB) only allow 3.3 volts on their UART pins. So if the >> weather station uses higher than 3.3 volts, >> you have to have a serial level shifter to avoid harming the Pi/BBB. >> >> For my station I was using a 12 volt battery and solar panels to power >> everything. >> The BBB needed 5 volts for power. I had 5 volts to the WXT520 also for >> power. >> The documentation for WXT520 says it can use 5 to 30 volts input. That's >> higher than 3.3. >> I used a DC/DC converter to make the 5 volts. >> Then the serial line between BBB and weather station went through level >> shifter which I mounted on a "proto" HAT board. >> >> I have a Vaisala USB/M10 cable. It maybe OK to plug that straight into >> the USB of the Pi. >> I don't think I ever tried that with the BBB. It may be a non-soldering >> option. Possibly I could >> try that out. >> >> >> >> On Thu, Sep 30, 2021 at 7:25 AM 'Andrew Terhorst' via weewx-user < >> weewx-user@googlegroups.com> wrote: >> >>> 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 >>> >>> Sent with ProtonMail <https://protonmail.com/> Secure Email. >>> >>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >>> On Thursday, September 30th, 2021 at 22:17, Chris Howard < >>> ch.w...@gmail.com> 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 <rev.derek.hard...@gmail.com> >>> 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 < >>>> andrew.terho...@gmail.com> 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 weewx-user+unsubscr...@googlegroups.com. >>>> 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 weewx-user+unsubscr...@googlegroups.com. >>> 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 weewx-user+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/HXlmxUXZ5jGtsd6CfGjHw4MzhDdOnlLQjpo0YwUgPGpr7Hne9K5IRXWz_xwlSBhHm0vgMXaJ4zFcIPMxkvpoddP4TpS945H335Ww7G-olSE%3D%40protonmail.com >>> <https://groups.google.com/d/msgid/weewx-user/HXlmxUXZ5jGtsd6CfGjHw4MzhDdOnlLQjpo0YwUgPGpr7Hne9K5IRXWz_xwlSBhHm0vgMXaJ4zFcIPMxkvpoddP4TpS945H335Ww7G-olSE%3D%40protonmail.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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAAEaNNTjVTCm%3DYawC9SAC84bkDsK7deZf64k9zww4gxSOxFMxg%40mail.gmail.com.