Тёмный

AWS IoT Core with Raspberry Pi4 Tutorial- Complete Guide 

BINARYUPDATES
Подписаться 38 тыс.
Просмотров 15 тыс.
50% 1

Let’s learn how to use AWS IoT Core with Raspberry Pi4. This step-by-step tutorial will show you how to register Raspberry Pi in AWS IoT Dashboard. We’ll create AWS policy and certificate to securely communicate Raspberry Pi with AWS using MQTT Protocol. Later on, we will install Client like MQTTFx to publish and subscribe messages. This will let us monitor or control devices using AWS IoT Platform.
[SUPPORT]
►► Get FREE TRIAL of Altium Designer: www.altium.com/yt/binaryupdates
►► Now Search Electronic Components Online: octopart.com/
►► Need Help? To Learn Embedded Systems: courses.binaryupdates.com
[LINKS]
►► Download Code: github.com/binaryupdates/aws-...
►► PART-2 SNS and DynamoDB Database: • Amazon SNS and DynamoD...
[TIMESTAMPS]
00:00 Introduction
00:23 Browse AWS IoT Core
01:22 Register Device in AWS
08:08 Write Python Program for AWS IoT
10:14 Insert AWS Credentials into Program
14:00 Install Paho-MQTT Client Library
14:47 Testing MQTT Client on AWS
18:42 Setup MQTTFx Test Client
21:22 Reading data on MQTTFx from AWS IoT
Umesh Lokhande
BINARYUPDATES.COM
Web: binaryupdates.com
Mail: umesh@binaryupdates.com

Наука

Опубликовано:

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 21   
@muthurajar8584
@muthurajar8584 Год назад
Great work .
@MikdanJey
@MikdanJey Год назад
Good concept
@cristianvargas3365
@cristianvargas3365 Год назад
Thank you very much, I learned a lot!!
@BINARYUPDATES
@BINARYUPDATES Год назад
Welcome Cristian!
@0426vincent
@0426vincent Год назад
Hi, nice video and I would like to know if there is any video that can include publishing message to the device? Thanks.
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Vincent, I've controlled LED connected to Raspberry Pi from AWS IoT but unfortunately due to lack of time wouldn't documented. But you can use client.subscribe() function in python code running on RPi to subscribe and receive data from AWS. I hope this may help. I'll try in future make that video. Good luck and best wishes!
@cristianvargas3365
@cristianvargas3365 Год назад
Hi Umesh, I´d like to ask you some advice. I´m working on a project where Arduino is sending the current data sensor to Raspberry Pi by serial communication, how can I send this numeric data to IOT Core? It´s necessary to send it in JSON format? or stamptime is needed?
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Cristian, the numeric data can be sent as a raw data or in json format. AWS IoT can receive in any format. Its not necessary always to send in JSON, you can send raw data. We usually prefer json in IoT projects as its easy to deal with at server side as an indusry standard. And about timestamp cloud will always log data with respect to timestamp. So this means its not needed always....I hope this may help you. Best wishes!
@Mitjitsu
@Mitjitsu Год назад
14:20 - Do you have to use an SSL connection, because I'm not getting the "connected with result code 0" message.
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Mitjitsu, yes indeed. I used amazon aws security certificates which uses SSL/TLS encryption for communication of Raspberry Pi with AWS IoT Core.
@Mitjitsu
@Mitjitsu Год назад
@@BINARYUPDATES That explains a lot given I knew there was nothing wrong with how my MQTT was setup. I was just using my Rasperry Pi via my LCD TV. So there's no need to use SSL. Is there an alternative method that doesn't require using SSL?
@user-ig2ok4hs8b
@user-ig2ok4hs8b 3 месяца назад
while runnig pipython script i faced the error " TypeError: __init__() missing 1 required positional argument: 'callback_api_version'" i have done many troubleshooting but it dosen't solved cany you please guide me
@user-dl6ki2oy9y
@user-dl6ki2oy9y Год назад
GREAT VIDEO CAN I GET SOME ADVICE I WANT TO CONTROL MY ROBOT WITH AWS CORE AM USING A JETSON NANO 2GB AND ROS2 IN A LINUX UBUNTU 20.04 OS. IS IT POSSIBLE AND IF SO HOW DO I GO ABOUT IT??
@BINARYUPDATES
@BINARYUPDATES Год назад
Yes, Its possible. You can use Paho-MQTT library to communicate with AWS IoT Core. The process will remains same as shown in this video lesson. The only change will be OS running on your Jetson Nano. Please do check Python SDK for AWS. I hope this may help you. Good luck and best wishes!
@dakalosiri
@dakalosiri 11 месяцев назад
@@BINARYUPDATES THANK YOU SO MUCH I WAS ABLE TO ESTABLISH THE CONNECTION BUT NOW AM I WANNA USE MY CAMERA BUT STRUGGLING ON HOW TO GO ABOUT IT ANY ADVICE
@MOHANSINGH-ek3dv
@MOHANSINGH-ek3dv 11 месяцев назад
Hi sir actually I run this code it giving error ModuleNotFoundError: No module named 'thread' can you help me to resolve this issue. How I can import thread module
@BINARYUPDATES
@BINARYUPDATES 10 месяцев назад
Hi Mohan, you can replace 'thread' with '_thread' throughout the python code. As RPi new Raspberry Pi OS default uses python3 older code doesn't supported anymore. So make these changes and try again! It will work. Good luck and best wishes!
@user-jn1em5vw6i
@user-jn1em5vw6i Год назад
12:34 I can't connect to SSH. What can i do ?
@BINARYUPDATES
@BINARYUPDATES Год назад
Please confirm right IP address of your Raspberry Pi otherwise SSH connection will not succeed. It has nothing to do with AWS IoT Core or platform. Check Raspberry Pi video on our channel to learn more about RPi. Good luck and best wishes!
@csoutsource
@csoutsource Год назад
You lost me at ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-adKuyckikuw.html when you said we don't need to download the ROOT CA Certificate. I am not following how you created a universal cert.
@BINARYUPDATES
@BINARYUPDATES Год назад
Hi Matthew, you can download rootCA from AWS website I avoided to download from there as it download with ugly name And while making video I wanted to make it simple Anyways good day
Далее
How to Get Started with MQTT
13:38
Просмотров 398 тыс.
MQTT tutorial | send data to aws IoT core
20:36
Просмотров 18 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
10 МИНУСОВ IPHONE 15
18:03
Просмотров 25 тыс.