Ashfaque KKYash Nayak
Published

Smart Tea Machine Using Bolt IoT (UPI Payments)

A Smart Tea Machine Using Bolt IoT with Real-time Payment integration(UPI/BHIM/Paytm/PhonePe/Google Pay/WhatsApp Pay).

AdvancedFull instructions provided5 hours4,434
Smart Tea Machine Using Bolt IoT (UPI Payments)

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Tea Machine
(Old)
×1
Adafruit 5v Relay Module
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
UTSOURCE Electronic Parts
UTSOURCE Electronic Parts
×1

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
Android Studio
Android Studio
Unified Payments Interface (UPI)
Integromat

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Custom parts and enclosures

3D Model

Schematics

Circuit Diagram

Code

Tea Machine Integromat Blueprint

JSON
Blueprint for the scenario
{
    "name": "Tea Machine App Connect",
    "flow": [
        {
            "id": 9,
            "module": "gateway:CustomWebHook",
            "version": 1,
            "parameters": {
                "hook": 326103,
                "maxResults": 2
            },
            "mapper": {},
            "metadata": {
                "designer": {
                    "x": -29,
                    "y": -38
                },
                "restore": {
                    "hook": {
                        "label": "TeaMachineHook"
                    }
                },
                "parameters": [
                    {
                        "name": "hook",
                        "type": "hook",
                        "label": "Webhook",
                        "required": true
                    },
                    {
                        "name": "maxResults",
                        "type": "number",
                        "label": "Maximum number of results"
                    }
                ],
                "interface": []
            }
        },
        {
            "id": 6,
            "module": "bolt-iot:executeCommand",
            "version": 1,
            "parameters": {
                "__IMTCONN__": 943954
            },
            "mapper": {
                "command": "digitalWrite",
                "parameters": {
                    "pin": "0",
                    "state": "HIGH",
                    "deviceName": "BOLT293850"
                }
            },
            "metadata": {
                "designer": {
                    "x": 259,
                    "y": -50
                },
                "restore": {
                    "command": {
                        "label": "Write digital output"
                    },
                    "__IMTCONN__": {
                        "label": "Yash Nayak's (BOLT293850)"
                    }
                },
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "command",
                        "type": "select",
                        "label": "Command",
                        "required": true,
                        "validate": {
                            "enum": [
                                "digitalWrite",
                                "digitalRead",
                                "analogRead",
                                "analogWrite",
                                "serialBegin",
                                "serialWrite",
                                "serialRead",
                                "version",
                                "restart",
                                "isAlive"
                            ]
                        }
                    },
                    {
                        "name": "parameters",
                        "spec": [
                            {
                                "name": "deviceName",
                                "type": "text",
                                "label": "Device name",
                                "required": true
                            },
                            {
                                "name": "pin",
                                "type": "text",
                                "label": "Pin",
                                "required": true
                            },
                            {
                                "name": "state",
                                "type": "text",
                                "label": "State",
                                "required": true
                            }
                        ],
                        "type": "collection",
                        "label": "Parameters"
                    }
                ]
            }
        },
        {
            "id": 7,
            "module": "util:FunctionSleep",
            "version": 1,
            "parameters": {},
            "mapper": {
                "duration": "20"
            },
            "metadata": {
                "designer": {
                    "x": 480,
                    "y": -35
                },
                "expect": [
                    {
                        "name": "duration",
                        "type": "uinteger",
                        "label": "Delay",
                        "required": true,
                        "validate": {
                            "max": 300,
                            "min": 1
                        }
                    }
                ]
            }
        },
        {
            "id": 8,
            "module": "bolt-iot:executeCommand",
            "version": 1,
            "parameters": {
                "__IMTCONN__": 943954
            },
            "mapper": {
                "command": "digitalRead",
                "parameters": {
                    "pin": "0",
                    "deviceName": "BOLT293850"
                }
            },
            "metadata": {
                "designer": {
                    "x": 711,
                    "y": -53
                },
                "restore": {
                    "command": {
                        "label": "Read digital input"
                    },
                    "__IMTCONN__": {
                        "label": "Yash Nayak's (BOLT293850)"
                    }
                },
                "parameters": [
                    {
                        "name": "__IMTCONN__",
                        "type": "account",
                        "label": "Connection",
                        "required": true
                    }
                ],
                "expect": [
                    {
                        "name": "command",
                        "type": "select",
                        "label": "Command",
                        "required": true,
                        "validate": {
                            "enum": [
                                "digitalWrite",
                                "digitalRead",
                                "analogRead",
                                "analogWrite",
                                "serialBegin",
                                "serialWrite",
                                "serialRead",
                                "version",
                                "restart",
                                "isAlive"
                            ]
                        }
                    },
                    {
                        "name": "parameters",
                        "spec": [
                            {
                                "name": "deviceName",
                                "type": "text",
                                "label": "Device name",
                                "required": true
                            },
                            {
                                "name": "pin",
                                "type": "text",
                                "label": "Pin",
                                "required": true
                            }
                        ],
                        "type": "collection",
                        "label": "Parameters"
                    }
                ]
            }
        }
    ],
    "metadata": {
        "version": 1,
        "scenario": {
            "roundtrips": 1,
            "maxErrors": 3,
            "autoCommit": false,
            "sequential": false,
            "confidential": false,
            "dataloss": false,
            "dlq": false
        },
        "designer": {
            "orphans": []
        },
        "zone": "eu1.integromat.com"
    }
}

Smart Tea Machine App

Java
Mobile App
No preview (download only).

Smart Tea Machine Android App Source Code

Java
Android App Source Code
No preview (download only).

Credits

Ashfaque KK

Ashfaque KK

5 projects • 3 followers
Yash Nayak

Yash Nayak

9 projects • 73 followers
Maker | Innovator | Technology Enthusiastic

Comments