Using an Raspberry Pi as a Z-Wave Sensor? - raspberry-pi

I would like to make a sensor for the z-wave protocol.
The "sensor" is a raspberry pi, which do "something" and have to send the state (Integer Value or if possible: a String Value) via z-wave.
Is there any library for the raspberry z-wave module, which can create such a "virtual z-wave device"?
Thanks in advance! :)

Please have a look at the Razberry project.
They have a server, running on raspberry pi, which communicates with the razberry daughter board. You can use HTTP API to communicate with it or work with their C library.

Related

Do I need a level converter for Raspberry Pi and STM32 to communicate via GPIO(UART) port?

I want to connect an STM32F407 Discovery board with a Raspberry Pi 4 Model B.
And I want to use UART as communication so I plan to use PD5&6 on STM32 and Pin8&10 on RPi. But after looking up online it says that the voltage of a STM32 port is 5V and RPi is 3.3V, so it seems that I need a level converter between them?
And there are also some articles says that not all the STM32 port are 5V, some are 3.3V. But I cannot find any of that information in the datasheet. Can anyone tell me where can I find these information?
Thank you very much ~ ~
The STM32 uses 3.3V as well. But it's 5V tolerant.
Just go ahead and connect them. There is no voltage difference.
You should have a look at the reference manual for that discovery board. It is here: STM32F407 Reference Manual.
There should be no issue connecting UARTs between those boards. Just remember to connect the TX from one to the RX of the other and vice versa. You can also use the CTS/RTS for flow control, but that isn't necessary as long as you are using baud rates of 115200 or slower.
Something else that I would recommended is to power the Raspberry Pi from the Discovery board. There should be pins for suitable power on the discovery. This is important because it gets both boards using the same power and ground so that the UART logic levels are consistent between the two. This may not be necessary, but I have had issues trying to connect two Nucleo boards SPI busses together if I didn't power one board from the other.

stm32wb, nucleo-wb55, sensor, hardware

I am using nucleo-wb55 development board with STM32WB55 processor. I want to connect sensors like IIS3DWB, STTS22H to this board. How can I go about connecting the modules of these sensors to nucleo-wb55?
You can connect them via the I2C and SPI interfaces the board provides. Either built your own I2C/SPI or use the STM32 HAL provided functions.

Interface with Xbee pro-S2C with raspberry pi to set frequency parameters

Is it possible to set the frequency parameters of Xbee pro-S2C or will it work on default settings only?
If yes, any sample available which will help me to create this kind solution with python code?
I am connecting Xbee with Raspberry pi by using micro USB shield.
Your advice on this will be helpful.

How can I stream Kinect V2 tracking data from PC to Raspberry Pi 3 through WiFi?

I'm currently working with Kinect v2. I can do all sort of stuff on PC with it. What I want to do next is, to get the data I want on PC and control the Raspberry Pi with that data (for example, I will move the Pi with motors when I tilt my head to right). I have sorted out the motors and everything but I just don't know how to use that tracking data I have on PC to control the Pi.
I hope the question makes sense, i'm just extremely new to both Pi and Kinect.
Thanks for the help!
The first step is to choose the bus that will connect the
PC to the Raspberry PI.
Your options are:
Serial bus: Pi Serial tutorial,USB Serial to Pi cable
Network Socket (cable/wifi): Socket client/server c++ examples
i2c: i2c windows PC, Configuring i2c on Pi
I believe that the i2c or serial bus will be the easiest to start
with. But in the end all 3 options need to set up the connection, and send and receive bytes / byteArrays.

CAN bus and SPI communication in Raspberry Pi

I am developing a prototype for adaptive cruise control using two raspberry pi's. I have tested SPI on pi and it works (checked it through loopback). Now i want to write this data to the cotroller. So, after referring to resources i found Socketcan should be used in order to interface can controller with the pi. So i request some one to explain how the communication happens like
1. After writing to spi how the can controller can take that data?
2. If socketcan be used to take data from spi , i need to know how?
Thanks