3

I want to create an IoT system. My system contains a robotic arm, a CNC machine and a web page. I want to use MQTT in which I can publish from my web page to robotic arm to pick up the object and put it on the table of the CNC machine. My problem is that I don't know how to connect the web page to AWS IoT and publish messages from my page to the robotic arm.

This question is not a duplicate of connect CNC to AWS IoT, I was asking there about how to connect CNC machine to IoT and here I am asking about how to use a webpage to send messages. I want to start the manufacturing process when I press the push button on my webpage. All I found is how to make the messages come to you in your browser, I can't find examples showing me how I can send messages from my webpage.

This is a followup of this question.

Helmar
  • 8,450
  • 6
  • 36
  • 84
Balsam Qassem
  • 693
  • 4
  • 11

1 Answers1

4

AWS IoT supports MQTT over Websockets which can be used from with in the client side of a web application.

You can follow the instructions here for details of how to do the required authentication.

hardillb
  • 12,813
  • 1
  • 21
  • 34