RemoteLoRa - More Than ON / OFF


Picture 1


Today in the market you can find a bunch of all kinds of radio remotes. One of the most popular is the model based on IC2262 / 2272 (Figure 2). The solution is quite suitable for itself, but only in case you do not need feedback, encryption (or addressing) and analog mode.



Figure 2


I wanted to make an improved prototype of such a keychain, which will have in itself those advantages that are not in the existing solutions.


To create a prototype, I use the M5Stack BASIC Base Unit ( you can buy it here ) with a pre-installed LORA Module and real-time clock connected via I2C (since Wi-Fi with NTP will be superfluous here).


When you turn on the device for the first time, it suggests choosing to select the type of connection with the client device - asynchronous or synchronous. If synchronous is selected, the device will wait for the control value from the slave, then signal (triangular icon with an exclamation mark).


It is further proposed to choose the type - digital (HIGH and LOW) or analog (-127 ... + 127). In digital mode, when accessing the slave device, HIGH or LOW will be transmitted alternately, and with an analog counter, increased by one. If an analog type is selected, the device will ask for the minimum and maximum value within which the counter will operate.


Next, the device will ask - will the key be used? (orcall the address as you want) If you select a closed lock, the device will wait for the key to the slave device. For demonstration purposes, the slave is Arduino Nano with Ra-01 Module . When turned on, the Arduino sends a key. This is visible in the video.


Next, you can select the icon for the slave (Figure 3).



Figure 3


, , , : "power", "red", "green", "blue", "cold", "warm", "$" ,"%", "oC", "uV", "mV", "V", "uA", "mA", "A", "uW", "mW", "W" ,"m/s", "km/H", "ug", "mg", "g", "kg", "mL", "L", "rpm", "dBm", " ". !


, – A ( C ).


, , , , , ( ), - .


, A. B.
C.


, C B, . B A ( C ).


. , , , B, C. A.


, (YouTube). Arduino , M5Stack .


GitHub


, , , . .


All Articles