In this chapter of the Pico Workshop, we are diving into the wireless capabilities of the Pico W and WH. With this chapter, we are no longer bound by having data stored locally and we can now send and receive data through networks. While there are many methods we can use to achieve these things, we will be learning how to do so using web pages being served by the pico.

Transcript

So far, our precious data has only been sent and received through physical wired connections, but in this chapter, we'll be taking a look at how to use some of the wireless abilities of the Pico W to do some really cool things. Things like connecting the Pico to the internet and controlling it with a computer over a Wi-Fi connection.

Now, this world of microcontrollers and wireless connectivity may be a little bit different from what you're expecting. We aren't going to be able to watch YouTube videos on the Pico at all. Not even close, this hardware will not let us. Instead, we can use wireless networks and the internet to send or receive text-based data. Think more along the lines of using the Pico to make a smart Wi-Fi controlled light or a wireless mailbox sensor, or connecting the Pico to the internet to get real-time coordinates of the International Space Station.

This might sound a little difficult, and we have definitely moved from beginner-level skills to more intermediate, but thanks to the use of libraries, even these really cool complex tasks are easy to do on our Pico. It's amazing how much we can do with so little and simple code.

This chapter is like one big video that we've split up into smaller ones. Each video builds on the last one as stepping stones to reach an end goal. We'll start by connecting the Pico to a local wireless network, then we'll use the internet to connect to some sites and pull useful data from specific websites. After that, we'll learn how to host a page on the Pico itself, which we can interact with through a phone or a computer to control the Pico. Finally, we'll learn how to set up a Wi-Fi access point on the Pico itself, which we can use to host that page.

All you'll need to follow along with this chapter is a Pico W or WH and a Wi-Fi network to connect to, which can be your home network or even a mobile hotspot from your phone. Let's get into it!

Comments


Loading...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.