- Platform information:
- Hardware: RPi 4b/4gb
- OS: Raspberry Pi OS with desktop
- Java Runtime Environment: Java 11
- openHAB version: latest stable
Hi, everyone! I hope You can help me out with my issue. I’m have to make a mini smart home for my school project using OpenHab. I currently use raspbery pi that im using as a PC where I run OH server and work in Arduino IDE.
Im using DHT22, PIR, MQ2 and IR flame sensor that are connected to Arduino. I want to use arduino to make an alarm system that can be activated/deactivated with a keypad. I also plan to add a gsm module that is going to send messages in case of emergency. I have experience in working with Arduino and that I don’t have problems with that.
The issue is that I don’t understand how to recieve sensor values from Arduino, and I dont how to send values (like a PIN code for alarm deactivation) to Arduino. I thought of connecting Arduino to Raspberry via USB and then trying to “catch” those values from serial monitor somehow. Or maybe connect a ESP01 to my Arduino Mega and send everything to MQTT server which I also don’t know how to use.
I don’t expect anyone to do that for me, it’s not grateful. I would be happy if somone would help point me in a direction where I could learn what I need to do.
If there’s anything unsaid, I will try to explain the best I can.
Thank You for your time!