I didn't wait for USB RaZberry 7Pro and bought a hat for Raspberry.
Tell me, please, is it possible to connect RaZberry 7 Pro to USB using any UART-USB adapter?
If so, please share the solution that works.
I want to install Z-Way on a virtual machine ESXI.
Thank you.
UART-USB adapter for RaZberry 7Pro
UART-USB adapter for RaZberry 7Pro
Raspberry Pi 4, Raspberry Pi OS Lite (Debian version: 11 (bullseye),
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
-
- Posts: 172
- Joined: 02 Mar 2020 22:41
Re: UART-USB adapter for RaZberry 7Pro
Definitely possible. I do this using an inexpensive USB to TTL Serial Converter (4 converters for $10.88 - https://ww.amazon.com/dp/B07XF2SLQ1) and 4 jumper wires ($6.98 - https://www.amazon.com/dp/B01EV70C78). Note that the converter has a mini-USB connector (not USB-C or micro-USB) and does not use a genuine FT232RL chip (functionality seems the same as a genuine FT232RL, but the serial number is not unique which likely will result in random serial port assignments when using multiple converters on a single host).
Re: UART-USB adapter for RaZberry 7Pro
Thanks a lot for the detailed answer!
I understand correctly that you used
Raspberry Pi - PIN
PIN 02 - 5v DC Pover - this is the most important question - 3.3v or 5v
PIN 06 - Ground
PIN 08 - GPIO14(TXD0)
PIN 10 - GPIO15(RXD0)
I understand correctly that you used
Raspberry Pi - PIN
PIN 02 - 5v DC Pover - this is the most important question - 3.3v or 5v
PIN 06 - Ground
PIN 08 - GPIO14(TXD0)
PIN 10 - GPIO15(RXD0)
Raspberry Pi 4, Raspberry Pi OS Lite (Debian version: 11 (bullseye),
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
-
- Posts: 172
- Joined: 02 Mar 2020 22:41
Re: UART-USB adapter for RaZberry 7Pro
The RaZberry uses 3.3V (pin 1 of Raspberry Pi), do not use pin 2 (5V). The remaining pins are correct. As shown in the picture, I use pin 9 for Ground, pin 6 is also Ground - either pin is correct. If you purchase the knock-off USB to TTL Serial Converter that I use, be sure to set the jumper on the serial converter to 3.3V.
As a precaution, before connecting the RaZberry board to the serial converter, I recommend testing with a voltmeter to verify the red wire/brown wire voltage is +3.3V.
If you install an Ubuntu-compatible distro on your VM, you should be all set. I use Linux Mint 20.3 (Ubuntu Focal) with Z-Way for Ubuntu x64.
As a precaution, before connecting the RaZberry board to the serial converter, I recommend testing with a voltmeter to verify the red wire/brown wire voltage is +3.3V.
If you install an Ubuntu-compatible distro on your VM, you should be all set. I use Linux Mint 20.3 (Ubuntu Focal) with Z-Way for Ubuntu x64.
Re: UART-USB adapter for RaZberry 7Pro
Thank you! On your advice, I also chose Linux Mint.
Ordered USB to TTL Serial Converter.
Ordered USB to TTL Serial Converter.
Raspberry Pi 4, Raspberry Pi OS Lite (Debian version: 11 (bullseye),
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
Re: UART-USB adapter for RaZberry 7Pro
I was unable to forward UART-USB in Linux Mint. It's easy on Home Assistant (debian), easy on Windows too.
Is there any secret?
Is there any secret?
Raspberry Pi 4, Raspberry Pi OS Lite (Debian version: 11 (bullseye),
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
-
- Posts: 172
- Joined: 02 Mar 2020 22:41
Re: UART-USB adapter for RaZberry 7Pro
What do you mean by "unable to forward UART-USB"? If "forwarding" is related to running linux Mint as a virtual machine on a VMware ESXi host, please understand that this is a Z-Wave.Me forum and not a VMware forum. I suggest you search the internet for configuring VMware USB Passthrough (e.g., https://www.nakivo.com/blog/how-to-use- ... l-machine/).
If you're running linux Mint on a physical laptop (or you've successfully configured VMware USB Passthrough), run the command "lsusb" on your Mint machine to see if there's a USB serial device. This is what appears when I run lsusb:
The serial port shows up as: Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Now run the command "dmesg | grep FTDI" on your Mint machine to determine if the kernel has attached the serial device to a tty port (the tty port name is how Z-Way communicates to the RaZberry). This is what appears when I run dmesg | grep FTDI:
What you are want/need to see is the FTDI "ttyUSB0" serial device. The last step is to configure Z-Way to communicate using ttyUSB0. This is done using the smarthome web UI -> configuration menu -> Apps -> Z-Wave Network Access -> Settings. The settings shown below work (on my laptop running linux Mint). As best as I can recall, the only setting that needs to change is "Serial port to Z-Wave dongle" to /dev/ttyUSB0.
Good luck.
If you're running linux Mint on a physical laptop (or you've successfully configured VMware USB Passthrough), run the command "lsusb" on your Mint machine to see if there's a USB serial device. This is what appears when I run lsusb:
Code: Select all
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp.
Bus 001 Device 003: ID 0bda:57f0 Realtek Semiconductor Corp. HD WebCam
Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Now run the command "dmesg | grep FTDI" on your Mint machine to determine if the kernel has attached the serial device to a tty port (the tty port name is how Z-Way communicates to the RaZberry). This is what appears when I run dmesg | grep FTDI:
Code: Select all
$ dmesg | grep FTDI
[ 1.499493] usb 1-2: Manufacturer: FTDI
[ 9.219666] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 9.219722] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected
[ 9.225747] usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0
Good luck.
Re: UART-USB adapter for RaZberry 7Pro
Thank you very much!
Thanks to your help, I was able to find the error.
I forgot to change to - /dev/ttyUSB0
Thanks to your help, I was able to find the error.
I forgot to change to - /dev/ttyUSB0
Raspberry Pi 4, Raspberry Pi OS Lite (Debian version: 11 (bullseye),
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
Z-Way for Raspberry Pi, RaZberry 7 Pro, RaZberry 2
-
- Posts: 23
- Joined: 06 Sep 2018 13:54
Re: UART-USB adapter for RaZberry 7Pro
Does this pass a valid Z-way license to Z-way running on a VM setup?
Re: UART-USB adapter for RaZberry 7Pro
Yes, VM should be transparent for the USB/UART communication