Software apps and online services
You may check your mailbox everyday to know whether your parcel is delivered or not. Nowadays, of course, there are many websites like Amazon notifying you of delivery status to your e-mail. However, it is difficult to check it real time because there should be a time gap from the system.
Here, we want to make the ordinary mailbox smart to let you know when parcel is delivered with messenger app!
When parcel's get delivered, you will get notified on messenger app, LINE. (https://line.me/en/)
1. Attach Distance Sensor on the top(ceiling) of the mailbox measuring the distance between the bottom to the top at all times
2. When parcel is put inside the mailbox, the distance will be shortened so it turns out that parcel is delivered.
3. When delivery is detected, send LINE notification message through API of LINE Notify
4. Now you are informed of delivery!
Connect infrared sensor to the obniz board as below.
obniz * Infrared Distance Sensor
0 * VCC
1 * GND
2 * Signal
Enter LINE Notify page and open My page.
Click "Generate token" on the page.
Enter a token name (I entered "posted" this time) and select 1-on-1 chat with Line Notify. Then, generate token and copy the token so that you don't lose it.
Finally, add "LINE Notify" account to your friends on your LINE app.
Write the code to monitor the distance and notify you with LINE app when the distance changes. The code is written with Node.js
Reference: "LINE_NOTIFY_TOKEN_HERE" → your token name
"OBNIZ_ID_HERE" → your obniz ID
obniz is a cloud-connected IoT development board. You can program on the web browser of any smartphone or computer and the command is sent to obniz through the internet via obniz cloud. By connecting the obniz to the cloud through wifi, users can remotely control devices that are physically connected to obniz.
obniz has 12 IO and WiFi-BLE module. It can be controlled through the APIs – REST or WebSocket API – on obniz cloud. Not only simple IO on/off but also UART, I2C, BLE etc can be used by remotely controlling obniz via internet. All you need to do to connect obniz is to input unique ID by scanning QR code. Complicated processes are done by obniz and its cloud. You can just start programming in HTML, browser and circuit have already been integrated. If you write a program to collect sensor values, you can make a chart of the values easily.
For more information, please visit our website!
You can buy obniz board on Amazon too.
You can find a variety of projects made with obniz board.