monoZero Cellular IoT solution is one of the best alternatives to the expensive commercial home security system. The monoZero hardware has a built-in 1WG modem module that supports LwM2M protocol with NIDD (Non-IP Data Delivery). Users need to insert an IoT SIM to the monoZero to make 1WG active and do cloud setup to receive and see the data. It has an associated SDK that makes programming simple with its own APIs, for example APIs that can send processed data as payload to the cloud.
Grove Button with monoZero is one such example where users can easily plug a push button to the monoZero Grove board. Add simple codes to read the status of the switch and use the monoZ SDK APIs to send the status of the push button as payload to the cloud.
Grove - Button is a momentary push button switch. It contains one independent "momentary on/off" button. “Momentary” means that the button rebounds on its own after it is released. This button outputs a HIGH signal when pressed, and LOW when released.
HARDWARE :
1 ) Connect the MonoZero Grove board on the monoZero 1WG V3 board
2) Connect the Grove Switch on the monoZero Grove board as per the schematic given.
Things you need :Working of Grove Button:
- Connect the "Grove button switch to the Grove board, upload the program using STM cube IDE and run the code.
- When you press the button its output signal state changes to a HIGH, Normally it will be in low state.
- When the switch is pressed monoZero 1WG will send 31 as payload to the server, when the switch is released monoZero 1WG will send 30 as payload to the server.
The console output:
The server output:
Unmanned convenience/grocery stores with monoZero Cellular IoT solution
This setup can be installed in Unmanned Convenience stores to add the selected products to cart using monoZero Cellular IoT. It requires a push button connected to monoZero with a built-in 1WG modem module. These push buttons are placed nearer to each item on the shelf. Based on the number of times the button is pressed, the count of the selected item is incremented and this count is stored using the monoZero. Then using the monoZ SDK APIs these (counts) payloads can easily be sent to the cloud. In the cloud these payloads are received and corresponding items are added to the cart.
Example - Convenience Store DashboardAlsufiyan

Comments