Accéder au contenu principal

Articles

Affichage des articles associés au libellé arduino

Add of LORA technology to OpenMQTTGateway

The V0.9.1 release of  OpenMQTTGateway  will introduce the compatibility with LORA RF technology based on the work of  Sandeep MISTRY . LORA is a technology used on Low Power Wide Area Network, the 3 first words of this definition are very interesting. Indeed in home automation we are often faced against the challenge of range and working with battery powered device. LORA solves both problems by its low power consumption and its "kms" range. The first tests on OMG  has been done with the TTGO LORA boards based on ESP32. They are delivered with an antenna and an embedded display. Quite usefull for the first tests. Note that the modules I bought had already a sender and receiver program flashed! If you want to reflash these programs you can find them here: https://github.com/LilyGO/TTGO-LORA32-V2.0 You can use this library for the display: https://github.com/osresearch/esp32-ttgo/blob/master/libraries/OLED.zip These modules combined with ...

Mi flora integration to OpenMQttgateway

Following some users requests on OpenMQTTGateway github I made some research and code to be able to read data from Mi Flora sensor also known as xiaomi flower sensor. The goal is to connect the mi flora to an mqtt compatible controller like openhab or home assistant with a simple arduino or esp8266 connected to an hm10/11 module. Mi flora use Bluetooth Low Energy technology to communicate to a smartphone.  It gather on one sensor temperature, humidity, hygro and fertility measurement. These measures are available through an app on your smartphone so as to monitor your plants. As this device use BLE the idea was to be able to read the measures with OpenMqttgateway through the hm10 component. Some code and library are already available in python for the pi or equivalents. But not for arduino or esp8266. This is where it begins. With the current gateway version we were able to receive the mac adress of ble devices including the mi flora one. But not the dev...

Garage door sensor with Arduino nano

I needed to have a way to know the state of my garage door.  Several solutions where at my disposal so as to do that; hack the existing control central to be able to know the position of the door and send the status wireless to my 433Mhz to MQTT gateway add an external sensor  and send the status wireless to my  433Mhz to MQTT gateway One of these two options with a cable After some investigations on the control central of my garage door I have deducted that there is no "closed" "open" contact, indeed the stop of the motor seems to be detected by the fact that it is "forcing" maybe by detecting some over current. The sensor that I have at the bottom of this garage door is in case there is an obstacle in the course of the door. Sending a stop to the motor. Unfortunately I can't use this due to the fact it is not actionned at the end of the course. Safety sensor of the garage door (cannot be hacked for state recognition) I had to ...

Low cost, low power 6uA garden 433Mhz sensor with temperature, humidity ,hygrometer and voltage

I have built an external sensor so as to monitor temperature, air humidity, soil humidity of my garden and the battery voltage. The requirements was: waterproof long battery life, the atmega328p run at 8mhz with minimal components and functions under 10€ wireless (433Mhz) with good range (2 walls to cross and 10 meters) Here is the final view: And some reports from OpenHab displaying the sensor data: Air humidity Soil humidity Air temperature We can of course imagine to use these values to control a water pump. Now let's see hpw to build this. Bill of material The sensors is based on atmega328p (3€),  a 433 Mhz transmitter (1,5€) , a DHT11 (1€) or a DHT22 temperature and humidity sensor, a soil moisture sensor  (1,6€), an electrical box (1€)  a 433 mhz antenna (0,18€) DIP socket adaptor for the ATmega (1€) an electronic prototype printed circuit board (0,5€) a recycled  tube At total we are around 10€ ...

433toMQTTto433 - Bidirectional Arduino gateway between RF 433Mhz signal and MQTT

The goal of the Arduino 433toMQTTto433 is to act as a gateway between 433Mhz sensors and a MQTT broker or between the MQTT broker and 433Mhz actuators, It enables to: receive MQTT data from a topic and send RF 433Mhz signal corresponding to the received MQTT data  publish MQTT data to a different topic related to received 433Mhz signal  It can be an interesting part in an home automation system so as to interface sensors and actuators with software like openhab. The interest of putting this gateway to an arduino and not on a raspberry pi is to be able to manage security actions at arduino level (power on a siren, cut power to certain devices) following RF data received by sensors without being dependent to the PI for security related actions. [EDIT] all infos are now centralized into  the github repository  take a look at it you will find up to date info about OpenMQTTGateway You need: Arduino UNO  W5100 Ethernet shield  433Mhz Receiver XD RF ...