Pico-wifi-HAT

From SB-Components Wiki

Pico Wi-Fi HAT (Incomplete Wiki)

Pico Wi-Fi HAT is a compact and easy-to-use Wi-Fi HAT for the Raspberry Pi Pico that includes an ESP8266 module, IEEE 802.11b/g/n Wi-Fi Standard, 3.3 V Operating Voltage, UART Communication interface, and a 40-pin GPIO extension header that can be controlled via AT Command and supports TCP/UDP communication protocol.

Pico Wi-Fi HAT also includes a 1.14-inch display with a resolution of 240 x 135 pixels, 65K RGB colors, and a sharp and vivid exhibiting effect, designed primarily for user engagement via SPI connection by incorporating a GPIO header. The 1.14-inch LCD includes the ST7789 Driver and SPI Interface, decreasing the amount of IO pins required.

It's a simple way to enable Wi-Fi on the Raspberry Pi Pico, making it suitable for a variety of IoT communication projects. It is intended for developers of all skill levels, from the most experienced to those who are just getting started with IoT devices.

Features

  • ESP8266 module with four-layers process
  • Standard Raspberry Pi Pico 40-pin GPIO extension header
  • Supports STA, AP, and STA+AP three Wi-Fi operating modes, embedded LWIP protocol stack, supports TCP/UDP communication
  • 2x functional buttons
  • Comes with development resources and manual

Specifications

  • Operating Voltage - 3.3 V (Internally connected on Pico 3v3 pin)
  • Communication - UART Interface
  • UART BAUD RATE - 115200 bps
  • Wi-Fi Standard - IEEE 802.11b/g/n
  • Frequency Range - 2400 ~ 2483.5 MHz
  • Wi-Fi Operating Mode - Wi-Fi STA, Wi-Fi AP, Wi-Fi STA+AP
  • Protocol - TCP, UDP
  • Antenna - PCB Antenna
  • Operating Temperature - -40℃ ~ 85℃

Pinout

PICO WiFi HAT PICO Pins
ESP8266 TX GP1
ESP8266 RX GP0
LCD DIN GP11
LCD CLK GP10
LCD DC GP8
LCD CS GP9
LCD RST GP12
LCD BL GP13
JOYSTICK UP GP18
JOYSTICK DOWN GP20
JOYSTICK LEFT GP21
JOYSTICK RIGHT GP17
JOYSTICK SELECT GP19

Installation

MicroPython

TCP Server
  • Stack Pico Wi-Fi HAT with Raspberry Pi Pico.
  • Now Run Hercules Setup Utility and select tab TCP Server, enter port number as 8080 (you can choose any other port as well) and finally click on Listen button to start the TCP server on your PC/Laptop. Note down your PC/Laptop IP address to access your TCP Server.

TCP server start.PNG

  • Make sure to connect your PC/Laptop and Pico Wi-Fi HAT on same router. For example: If your Wi-Fi SSID is "TEST" and password is "test1234", then you must connect both device on TEST network.
  • Now open Wi-Fi_TCP_Client.py in thonny ide (You can find code here : https://github.com/sbcshop/Pico-WiFi-HAT ), Don't forget to change SSID, Password and TCP server IP (Laptop/PC IP on which TCP server is running), Run this file by clicking on green play button. It will make connection with TCP_Server and sent hello message, you can also sent back any message from server to WiFi HAT.

Resources