Raspberry Pi Pico gets WiFi via an ESP01 and UART

  Рет қаралды 48,500

Tinker Tech Trove

Tinker Tech Trove

Күн бұрын

Пікірлер: 89
@paulgeare6035
@paulgeare6035 3 жыл бұрын
THANK YOU! Your video answers pretty much every question I had about how to integrate my Pico to become a REALLY useful IOT device. Terrific video. Great information, clear, concise delivery. Very professional. My mind is racing with all kinds of ideas now that you've demolished the wall between Pico and WWW.
@matteocassino3172
@matteocassino3172 3 жыл бұрын
The Maker Pi Pico breakout board is very feasible for this setup. Worked for me as well. Many thx for this excellent intro!
@Dygear
@Dygear 3 жыл бұрын
30 second hot take - Your voice is awesome and presentation style is already very, very good. Clean audio is a huge thing that most KZbinr’s miss right out the gate but you’ve nailed it here. If you fix the color temperature issue, everything looks washed out and cold, you can easily make video that will stand up to the test of time. Already excellent, going to watch the rest of this now.
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
Thanks for the feedback, very much appreciated 👍
@davidkempton2894
@davidkempton2894 3 жыл бұрын
Thanks for this. I got it working using one of the new Cytron breakout boards where there is actually a slot to plug in an ESP-01. It uses GP16 and GP17 for TX and RX. It seemed to work using the 3V3 from the Pico, but maybe I just got lucky...
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
Interesting, thanks for the info 👍 powering it from the Pico would be much more convenient
@alexdominguess
@alexdominguess 2 жыл бұрын
@@tinkertechtrove2910 Mine worked etting the 3.3v from pico too, however I have to connect the 3.3v after the pico start running, It does not work if it is already connected to the power when pico starts to runnig. Not sure why. I will try get the 3.3v from some pin after 1 sec pico is running by turning this pin to high.
@martinlake000
@martinlake000 3 жыл бұрын
Great video, definitely could of used this a month back. I actually wrote a Reddit article on this exact same subject after figuring this out. Included code for a simple webserver in my post. But good to know I'm not the only one who was intrested in this solution ;)
@happyzax
@happyzax 2 жыл бұрын
Great video! I had the idea myself when the Pico came out and you brilliantly illustrated what I was thinking... thank you so much! Now that the Pico W is here there will probably be less interest in actually doing this... oh well... I still think it is a solid idea. I am working on an alternative approach to the MicroPython interface, though... basically build a Pico UF2 that supports the NETWORK library for a specific ESP+Firmware+Connection configuration...
@eezees9306
@eezees9306 3 жыл бұрын
Thank you. Your presentation is very clear and well paced. I thought I had a problem with my ESP01 as I could not get it to blink with the initial test example. In fact the program was running but my module's inbuilt LED is not attached to the "LED_BUILTIN" pin. When I replaced all references to LED_BUILTIN with "1" it worked.
@etiennesafa9710
@etiennesafa9710 3 жыл бұрын
That's such a GREAT video!! Thanks for your very clear and detailed explanation, as well as for the pace of the informations (often I find tutorials skip interesting stuff and tend to speed up the process in order to kepp being on the clock). All of this could be a good part of the answer I'm looking for regarding my project : I'd like to build a small, minimalist device with e-ink screen to send and display a message every now and then to my daughters :-)
@rungeon83
@rungeon83 3 жыл бұрын
Tim this has freaked me out! I bought 4 ESP-01s last week, and struggled to find decent help for pico. So instead I learned how to make my arduino uno work instead with blynk. I'm soooo happy you worked this out as I'm still a total newb with electronics! And I also prefer raspberry pi and pico over arduino as a preference, I love them both though. I did manage to make my ESP-01s module act as an "access point" aka AP, maybe you could work out how to make the pico work as a wifi extender though I think that might be a firm update on the ESP01s from my research so maybe a more advanced tut! Keep the videos going, I'm always excited to see when you post.
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
Glad your enjoying the uploads 🙂 good luck with your ESP01s. Making a WiFi extender would definitely be an interesting project, or maybe even a mesh network from several nodes spread around
@rungeon83
@rungeon83 3 жыл бұрын
@@tinkertechtrove2910 Worried you have something place inside my brain, maybe a pico relying information haha but also was thinking of a Mesh Network, considering I have 4 of them to play with (just £12!) Hey do you know in your video if you version is EPS01 or ESP01s? I don't really know the difference myself, I teach just software on youtube with Godot, I'm hoping to interface pico or arduino with it though for some entertaining situations
@rungeon83
@rungeon83 3 жыл бұрын
I'm really sorry Tim, I have just one last question, I LOVE that this channel so far is raspberry pi pico, I think it's gonna be huge and 100% the right direction to go. But will you feature Arduinos in the future? Even if it's only how to interface with a Pico in some way, it's exciting for me.
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
Of course, the Arduino is also an excellent board. I have used it with Grbl for DIY CnC projects, probably going to be doing some uploads around that at some point.
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
You may also want to check out kzbin.info/www/bejne/jZzOYpSEjM9pqbM on interfacing Arduino and Pico boards 👍
@karlmatthias2698
@karlmatthias2698 2 жыл бұрын
Another solution that may be simpler would be to just run the native firmware from the ESP-01 and drive it from the Pico with AT commands. Just plug them together and write code on the Pico.
@alexdominguess
@alexdominguess 2 жыл бұрын
Do you know if we add a script to ESP01 like the example in the video, which I did, the original firmware is deleted? BCS I spent 2 days just trying to send an AT command to get the OK back but I had no success. That is why I tried the approach of the video. I tried to see some videos on how to install a firmware, but it seems very complicated. I think, when we add some script in the esp, the firmware stops working, BCS it only runs the script
@karlmatthias2698
@karlmatthias2698 2 жыл бұрын
@@alexdominguess Yes it wipes it out. You will have to download again and reflash.
@מנשהפלגפיזיותרפיסט
@מנשהפלגפיזיותרפיסט 2 жыл бұрын
A fine and Fun tutorial. Thanks !
@rungeon83
@rungeon83 3 жыл бұрын
Hey Tim, would you cover NRF24L01 the transmitter, I figure since you've did a mini series on the ESP01 ;) plus I've bought some haha.
@aqheelmohamedshiam73
@aqheelmohamedshiam73 2 ай бұрын
hey.....i am new to raspberry pi......i had a question....can we use ESP12 D1 wifi module for interfacing it with wifi?
@alexdominguess
@alexdominguess 2 жыл бұрын
thanks for the video. It shows how to send data to pico, but, do you also have any video that shows how to send data from pico to the ASP01?
@MaxMax-wy7bi
@MaxMax-wy7bi 3 жыл бұрын
Can you please do a Video how todo this but with the esp in AP mode?
@cuttawayproductions3438
@cuttawayproductions3438 3 жыл бұрын
Great video, thank you!!
@letrainavapeur
@letrainavapeur 3 жыл бұрын
For the Pico to be of any use it just needs WiFi built in. The ESP8266-01S is perfectly capable of running MQTT and transmitting sensor data on it's own
@edwarddotson3626
@edwarddotson3626 3 жыл бұрын
Can this project be done with the Feather RP 2040?
@hughaskew6550
@hughaskew6550 3 жыл бұрын
Thanks! This would have been somewhat better if the camera had been zoomed in closer to the work bench.
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
Thanks for the feedback, I am trying to improve that. 👍
@thomsip1990
@thomsip1990 3 жыл бұрын
Awesome, really helped me a lot. Thanks!
@TalkingGIJoe
@TalkingGIJoe 3 жыл бұрын
go get 'em Tim!
@andrewbrooker2486
@andrewbrooker2486 3 жыл бұрын
Great video, well explained. I have a pico in my greenhouse with a Bosch temperature gauge connected to measure the temperate. I have added an HS06 bluetooth module so I can connect to it from an app on my phone. I would prefer to have wifi if possible. I have a 3 * battery pack powering the pico. Would it be possible to power the ESP01 by battery as well ? Thanks again Andy
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
So long as you use a voltage regulator, buck converter, or something else to make sure the voltage is 3.3v then it should be fine. I will be exploring ESP01 low power modes soon as well.
@andrewbrooker2486
@andrewbrooker2486 3 жыл бұрын
@@tinkertechtrove2910 Ok thanks Tim. I am new to electronics. The battery pack works well, tried using a usb power bank which turns off after a few seconds. I guess the pico is not drawing enough power. The bluetooth module only works when when pico is connected to my notebook. If I can get the EPS01 powered by battery I will be there ! Thanks again Tim.
@TheDarkelvenangel
@TheDarkelvenangel 3 жыл бұрын
I was just wondering I don't have a programmer for my esp-01 board is there a way to make one with the Pico?
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
That's probably possible, though I have not tried. You can use an Arduino as well, there are tutorials for that online
@yes_man_lol
@yes_man_lol Жыл бұрын
Does the link and coding apply to esp01s too?
@j3disweden89
@j3disweden89 3 жыл бұрын
Great video, but just one thought: Isn't it possible to run Micropython on ESP8266 now? So you don't need to use C to program the ESP01? Or is perhaps the storage space on the ESP too small?
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
I have not tried, would be interesting though
@andresvivanco1758
@andresvivanco1758 3 жыл бұрын
So I'm trying this with a Pi 4, and plugging the programing stick with the esp8266 directly to the usb's of the Pi. The esp8266 give me a red light as soon as its plugged in and when running the blink program its gives me this error: the selected serial port serial utils serial.serialutil.serialtimeoutexception write timeout... I have a feeling I'm not doing something right here.... help please
@sedatalizevit51
@sedatalizevit51 3 жыл бұрын
Nice video!!
@seanchallenge
@seanchallenge 2 жыл бұрын
Excellent
@bullygram
@bullygram 3 жыл бұрын
Hey how about a video with nRF24
@rungeon83
@rungeon83 3 жыл бұрын
Damn I didn't see this comment, I just posted it myself, I'd LOVE to see this.
@ZurDiestroShas
@ZurDiestroShas 3 жыл бұрын
pretty useful, thx!
@yes_man_lol
@yes_man_lol Жыл бұрын
Do you have all in micropython?
@ManVersusWilderness
@ManVersusWilderness 3 жыл бұрын
How would one convert that micropython code for the arduino IDE to upload to the pico?
@biswasbikas
@biswasbikas 2 жыл бұрын
You could use either ESP8266 or ESP32 instead
@PhG1961
@PhG1961 3 жыл бұрын
Awesome !!
@torfinnsrnes6232
@torfinnsrnes6232 3 жыл бұрын
Wouldnt it be easier to use an esp32?
@letrainavapeur
@letrainavapeur 3 жыл бұрын
Yep
@ericbwertz
@ericbwertz 2 жыл бұрын
Yes but the ESP8266 is smaller and cheaper, especially as an ESP-01, which is probably the cheapest ESP-Anything that you can buy that's not just a bare chip. I also suspect that the ESP32 uses more power also, although theoretically (with the right firmware), you'd get access to the latter's Bluetooth functionality also. The new ESP32-C3 is intended to be a new-and-improved replacement for the ESP8266 and has already started to be made incorporated into ESP01-compatible boards, so that's another potential path to Pico Wi-Fi happiness. And as of a few days ago, there's the Pico W which provides similar functionality, but may not be widely and reliably available for a few months.
@drkgld
@drkgld 9 ай бұрын
Only one problem. I'm not a Python user. Could someone please translate the Pico code to an Arduino IDE sketch?
@bra1nsen
@bra1nsen 2 жыл бұрын
Could i connect multiple picos to one wifi module
@aloissajo1763
@aloissajo1763 2 жыл бұрын
Can we do the same thing to pi zero rather then pico?
@lionelreesable
@lionelreesable 3 жыл бұрын
Hi, thank you for the informative video. I still have one problem relating to the decoding of the data stream. The line, print(rxData.decode('utf-8'), end=' ') returns a unicode error. Do you have a solution to this problem? Any help would be great. Best wishes.
@tinkertechtrove2910
@tinkertechtrove2910 3 жыл бұрын
Seems you have some data in the buffer (rxData) that can not be decoded using utf-8. You could try waiting a bit before reading data as the ESP-01 sends some binary on startup, or better yet check out part 2 for a much better way to do this kzbin.info/www/bejne/rJC3npJ_nMeFesU
@lionelreesable
@lionelreesable 3 жыл бұрын
@@tinkertechtrove2910 Thanks. I love your video. These videos are extremely helpful. Best wishes.
@kshitijkumar9398
@kshitijkumar9398 2 жыл бұрын
Hi bro I want to add wifi to I don't have to use my pc for mining with pi...... please help me with code with it !
@ericbwertz
@ericbwertz 2 жыл бұрын
Trying to mine with an RP2040 is not useful, unless you want to be able to show your children in 10 years how you're just about to complete mining your first rupee's worth of BTC.
@electrohub9100
@electrohub9100 3 жыл бұрын
Can you please zoom this coading screen.
@gorannikolic5004
@gorannikolic5004 3 жыл бұрын
Do you know why I get an UnicodeDecodeError at line 12?
@bennyweigner3726
@bennyweigner3726 2 жыл бұрын
same problem :(
@Kattoe
@Kattoe Жыл бұрын
3:32 i was scared you were gonan tell me that i needed another component i dont have yet
@greengenlk
@greengenlk 3 жыл бұрын
Explanation is great!. The video is too far away. Couldn't see the boards properly.
@jyvben1520
@jyvben1520 Жыл бұрын
sadly not using micropython/circuitpython with pio embedded.
@edwardviviescasduran5789
@edwardviviescasduran5789 3 жыл бұрын
It didn't work for me, nothing appears on Thonny's console when I turn on the ESP-01 after programming it.
@lambert0259
@lambert0259 3 жыл бұрын
Make sure the TX of the ESP01 connects to the RX on the Pico and RX of the ESP01 connects to the TX on the Pico, if this dont work try another ESP01, you can also check the ESP01 is working as per the video above.
@frankjimenez9407
@frankjimenez9407 3 жыл бұрын
@@lambert0259 I tried this but I get lots of small squares filling up the shell screen. No characters. Any thoughts? Everything is plugged as it should (inc tx (esp) -> rx (pico) & rx (esp) -> tx (pico)
@lambert0259
@lambert0259 3 жыл бұрын
@@frankjimenez9407 the baud rate from the ESP01 is usually 115200 baud if the baud rate on the pico is set to anything else you will get garbage on the screen, hope this helps
@frankjimenez9407
@frankjimenez9407 3 жыл бұрын
@@lambert0259 yeah, I set the same baud rate. I tested it before using the esp01 usb adapter (like the video) and works as it should in the Arduino Serial Monitor. But when connected to Pico, I do not see anything but gibberish.
@lambert0259
@lambert0259 3 жыл бұрын
@@frankjimenez9407 if the ESP01 is working correctly( try it in the Arduino IDE monitor to confirm) the only other thing is try the other UART on the pico UART1 pins gp4(tx) and gp5(rx). these devices need quit a bit of power as indicated in the video. not enough power causes brownout, (reseting).
@davidsavitt4954
@davidsavitt4954 3 жыл бұрын
Is that quote of the day server still functioning?
@林宜宏-m4e
@林宜宏-m4e 3 жыл бұрын
it is not easy to use by connect to 8266-01 !
@kevjames9441
@kevjames9441 2 жыл бұрын
This is not really giving WiFi to the Pico, it's using the pico as a dumb terminal to the ESP01 which is running the code that does something over WiFi. Good presentation style, though
@_W1L_
@_W1L_ 2 ай бұрын
Olha a Palma na sua MÃOO e veja o M de 28!
@Mr.Leeroy
@Mr.Leeroy 3 жыл бұрын
IMO, it's a bad idea to mix 2 languages in a tutorial on such basic topic. Probably confuses the hell out of noobs. If they are not the target audience, then it is much to simplistic. I'd stick with C for embedded programming, even for noob tutorials. Python is a niche thing here.
@jmgacousticmusic
@jmgacousticmusic 2 жыл бұрын
Not knocking the Pico, but don't know why you wouldn't just go for an esp32 if you want wifi in your project
@hstrinzel
@hstrinzel 2 жыл бұрын
WOW, that's DIFFICULT! I would rather use an ESP32 or a Raspberry Pi Zero W or something. That Pico by itself seems rather worthless without WIFI.
@redxtreme2598
@redxtreme2598 2 жыл бұрын
Super helpful! Thank you
Raspberry Pi Pico: WiFi part 2, Deep Sleep!
23:13
Tinker Tech Trove
Рет қаралды 15 М.
Raspberry Pi Pico: nRF24L01 over SPI
19:05
Tinker Tech Trove
Рет қаралды 30 М.
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 10 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 38 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
Raspberry Pi Pico Stepper Motors via PIO
25:17
Tinker Tech Trove
Рет қаралды 61 М.
Pi Pico W with the Arduino IDE | Using WiFi
49:26
DroneBot Workshop
Рет қаралды 157 М.
Ox64 SBC - Connecting, Flashing and Booting Linux! ($8 from Pine64)
15:41
The Petabyte Pi Project
22:27
Jeff Geerling
Рет қаралды 2,2 МЛН
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 299 М.
PicoMite: Running BASIC on a Raspberry Pi Pico
19:29
ExplainingComputers
Рет қаралды 147 М.
Raspberry Pi Pico and Arduino Uno chat via I2C
26:14
Tinker Tech Trove
Рет қаралды 10 М.
CircuitPython with Raspberry Pi Pico - Getting Started
42:47
DroneBot Workshop
Рет қаралды 200 М.
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 10 МЛН