AWS EC2 instance can be used to control BeagleBone Ai-64 from web browser. The AWS E2C instace has public IP address so we can connect from all over the world. For communication between BeagleBone AI-64 we will use MQTT.
MQTT is a versatile and robust messaging protocol that has become a popular choice for IoT and M2M communication. Its simplicity, efficiency, and reliability make it a great option for many different applications and industries.
To develop simple web server we will use Node.js.
On the AWS E2C Instance we will install the EMQ X message broker from https://www.emqx.io/
EMQ X is an open-source, highly scalable and distributed MQTT message broker that supports MQTT 5.0, MQTT 3.1.1 and MQTT-SN protocols.
To BeagleBone AI-64 we will connect AHT15 digital temperature and humidity sensor and two leds.
Once connected, the EC2 instance can receive and process MQTT messages from BeagleBone AI-64, and send messages to the devices as well. This can be used for a variety of use cases, such as:
- Monitoring and controlling IoT devices remotely from the cloud.
- Collecting and analyzing data from IoT devices in real-time.
- Sending alerts and notifications to IoT devices based on certain conditions.