API request in Micropython | WiFi Station & Access Point Mode | urequests
ฝัง
- เผยแพร่เมื่อ 18 มิ.ย. 2024
- This episode will guide you with interfacing WiFi on ESP32 board using Micropython from very basics. And in the end, we made a very interesting IoT project of requesting Blynk APIs using Micropython to control our home appliances
To try out free trial version of Altium, click here - www.altium.com/yt/techiesms
You can support me🙏🏻 and also get benefitted on Patreon :- / techiesms
Subscribe now💪🏻 to watch some amazing videos coming up soon.
bit.ly/techiesms_youtube
__________________________________________________________
👨🏻💻 Important Links 👨🏻💻
Codes used in this video - bit.ly/30Mzjbr
__________________________________________________________
Now you can get free PCB with every order of techiesms T-shirt or techiesms pocket notebook.
You can buy the merchandise from here,
techiesms.com/merchandise/
__________________________________________________________
👀 Other Episodes of this series 👀
Episode 1 - • Easy to use than Ardui...
Episode 2 - • OLED display & DHT11 S...
Episode 3 - • BLE, Interrupts & Time...
Episode 4 - • API request in Micropy...
Episode 5 - • Home Automation using ...
Episode 6 - • Adafruit MQTT Home Aut...
Episode 7 - • Micropython Script to ...
__________________________________________________________
Buy the components for your projects and support techiesms💡🔌
ESP32 Dev board - amzn.to/3jiwCD6
ESP32 Module - amzn.to/3g5CKh5
NodeMCU - amzn.to/2wbzNrZ
Raspberry Pi 4b - amzn.to/3phsKFN
Raspberry Pi pico - amzn.to/2RgeSyW
Arduino MEGA - amzn.to/3vMEkLw
TTGO TCALL module - amzn.to/2SQG6wH
Visit my Amazon Storefront for purchasing any components you need for this project or any other project :-
bit.ly/techiesms-Amazon-Store
__________________________________________________________
⏱ Time Stamps ⏱
00:00 Introduction to Micropython Series
00:10 Agenda of Episode 4
01:46 Do Watch out other episodes of this series
02:09 Let's start WiFi Scan Example
02:24 How to check which modules comes builtin in Micropython
03:45 Testing WiFi scan example script
04:05 Configuring ESP32 in Access Point mode
05:40 Testing WiFi Access Point script
06:44 Configuring ESP32 in Station Mode
08:38 Testing WiFi Station Mode
08:50 Modifying the code to not stuck in Infinite while loop
11:14 Testing the modified code
12:08 Using urequests module for requesting a Website or API in Micropython
13:49 Testing the script for requesting Website
14:54 Explaining script for requesting Blynk APIs to control Home Appliances
19:19 Testing the Blynk API script in Micropython
19:47 Working project to control actual Studio Appliances by requesting APIs in Micropython
20:06 Do give a like to this video, if you are learning something new in this series
__________________________________________________________
🎥 🎙 My Video Gear 🎙🎥
Camera - Canon 750d
Lens - 50mm f/1.8 STM Lens (amzn.to/32gqnsi), 24mm f/2.6
Key Light - Godox SL60W (amzn.to/3522mHe)
Fill Light/Back Light - Osaka Lightning Setup (amzn.to/2I5cdDi)
Tripod - amzn.to/3uNhC4H
Microphone - Samson Meteor (amzn.to/32jfVAt)
Editing - Final Cut Pro X on MacBook Pro ( amzn.to/3vHcSyJ )
__________________________________________________________
Get connected with techiesms everywhere..
Subscribe Main Channel :- bit.ly/techiesms_youtube
Subscribe Shorts Channel :- bit.ly/techiesms_shorts
Facebook :- / techiesms
Twitter :- / imtechiesms
Instagram :- / techiesms
Website :- www.techiesms.com
Telegram - @techiesms
You can support me and also get benefitted on Patreon :- / techiesms
__________________________________________________________
techiesms
explore | learn | share - วิทยาศาสตร์และเทคโนโลยี
Salute sir for your hard work to make such kind of great tutorial❤
Great energy in this video! Helped me a lot to get started on my next project, thank you!
Great to hear!
i start loving it...as usual...salute
What a great video!!! Thanks a lot!
Greaaat!!! I love when the projects are Arduino Free. It would be great if you could Make some project with STM32.
Thanks bro I was looking for this
Thankyou bro now I got a idea about how blyn works
Great video and great help - thanks!
You're welcome!
Excellent video. Please your help has an example of how to use urequests with digest authentication. First of all, Thanks
great job!!
Thank you for share, do more Content!❤
Thank you, I will
Thank you ❤✌
Can you do projects related to augmented reality. That you provided before...
Hi bro, this video helps me a lot
one request
plz provide the button interrupt episode link
you mentioned in the video 16:20
You are the best!!!👍👍👍👍
Wow, thanks!
Hello, i was having problems with request post function crashing after 3 times on ESP32. I was not doing .close() funtion. I will try it. Thanks
do you need to be connected to a Wifi to use ''urequests'?
what if in my firmware urequests is not in there? how to install it?
I can't be able to use request. text in following code can you help:
print("sending data to blynk:")
post_url = URL_post0+str(data_voltage)
# r = urequests.get(post_url)
r = urequests.get(url = get_url)
print(r.status_code)
get_data = r.text
print(get_data)
r.close()
My code is just stuck at r.text. it does not produce any output or error
Bro, how about making a video about df player mini.
Wohh!! Now I don't need to learn C for programming my esp's ... I know python 😉😉
👍 I will wait for you to learn C so I can teach you the rest of the alphabet. 🤣
@@kabobz how lame🤮
Good information...
Thanks
import network
wireless = network.WLAN(network.STA_IF)
wireless.active(True)
networks = wireless.scan()
print(networks) ;
Traceback (most recent call last):
File "", line 5, in
RuntimeError: Wifi Unknown Error 0x0102
it gave me an error. do you have any idea about the reason?
Can we use both WiFi Station & Access Point Mode simultaneously in ESP32. Please answer my question.
I think no. Just try ut
what if we dont want to keep a password for access point
bro this type of error occured connecting wifi, AttributeError: module 'network' has no attribute 'WLAN'
How to use ESP32-CAM as QR code reader?
nice idea, Will work on It soon...
Can you please make a home automation project using Alexa, manual switches and ir remote
need video with e-Paper disp and micropython
Will try that out in future episodes
please sir esp32 as i2c slave
Please make a video on esp32 cam micropython
sure
Content starts at 2:04
what can you do with urequests?
requesting websites or APIs
@@techiesms in what situation would you want to request a app/url?
@@taranagnew436we can use python or api tools to do the same
1st 😆
bevkuf mana raha hai bhai
esa koi API hai hi nahi