У нас вы можете посмотреть бесплатно Raspberry Pi Pico Web Server или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
I am updating projects for the Raspberry Pi Pico. It been a couple of years since I did my last projects & videos with it and this month I explore Pico V2 WH, blocky IDEs for Pico, using Pico on CrowPi 3 and wireless coms. I will cover these projects in separate videos. In this video I examine using the Raspberry Pi Pico WH as a web server to remotely control a LED over the web. A client on the web gets the IP address of the server and connects. To turn the LED on issue the command "/light/on" after the web IP address and turn it off with "/light/off". The client could be a web browser or a node-red flow. I start with the documentation from Raspberry Pi "Connecting to the Internet with Raspberry Pi Pico W-series" (ref 2)and the Pico has the correct firmware for wireless support using micropython. The project from the documentation is "3.9.2 Controlling an LED via a web server". The code is also available on github - Ref 1. I load the code into Thonny on my Windows PC and downloaded it into the Pico but it failed on execution with the error message " OSError: [Errno 98] EADDRINUSE" returned to the Thonny python shell. I thought the examples on Raspberry Pi websites & documentation should be rock solid! I could not see any obvious solution so I sought help from Microsoft Copilot. The prompt and dialogue with Copilot is contained in the video and eventually Copilot came up with a fix and it worked. Instead of using a breadboard and individual components I simplify hardware construction using Seeed Studio Grove components including a Grove Pico shield. I also changed the port number in the documentation from GPIO15 to GPIO16 - D16 on the Grove Pico shield. This arrangement is quite for STEM instructors and also for their students compared to spending a further 15 minutes on hardware checking. I also tested Pico2 WH on the same grove hardware and everything also worked. As long as you install the correct Micropython for your Pico (V1 or V2 with or without W) - Ref 5. I extend this project to using node-red & MQTT and everything worked. This project is only suitable for more advanced STEM students that want experience with a variety of software implementations and different microcontrollers. References: 1 raspberrypi pico-micropython-examples ( https://github.com/raspberrypi/pico-m...) 2 Connecting to the Internet with Raspberry Pi Pico W-series (https://datasheets.raspberrypi.com/pi...) 3 Grove Pio Shield ( https://www.seeedstudio.com/Grove-Shi... ) 4 Grove LED (https://www.seeedstudio.com/Grove-LED... ) 5 Firmware for Pico (https://www.raspberrypi.com/documenta... ) 5 Lego Carrier for Grove ( https://www.seeedstudio.com/Grove-Blu... )