The Adafruit WINC1500 PCB Antenna Breakout is a compact wireless network module that enables microcontrollers and microcomputers to connect to 802.11 b/g/n Wi-Fi networks. This breakout board integrates the Microchip WINC1500 Wi-Fi module, which is specifically designed for low-power Internet of Things (IoT) applications. The onboard PCB antenna makes this module a convenient choice for wireless data communication.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground |
2 | 3V3 | 3.3V Supply |
3 | EN | Enable Pin |
4 | RST | Reset Pin |
5 | SCK | SPI Clock |
6 | MISO | SPI MISO |
7 | MOSI | SPI MOSI |
8 | CS | SPI Chip Select |
9 | IRQ | Interrupt Request |
10 | WAKE | Wake-up Pin |
#include <SPI.h>
#include <WiFi101.h>
// Your network SSID and password
char ssid[] = "your_network_SSID";
char pass[] = "your_password";
void setup() {
Serial.begin(9600);
// Check for the presence of the shield
if (WiFi.status() == WL_NO_SHIELD) {
Serial.println("WiFi shield not present");
// Don't continue
while (true);
}
// Attempt to connect to WiFi network
while (WiFi.begin(ssid, pass) != WL_CONNECTED) {
Serial.print("Attempting to connect to SSID: ");
Serial.println(ssid);
// Wait 10 seconds before retrying
delay(10000);
}
Serial.println("Connected to wifi");
printWiFiStatus();
}
void loop() {
// Add your regular code here
}
void printWiFiStatus() {
// Print the SSID of the network you're attached to
Serial.print("SSID: ");
Serial.println(WiFi.SSID());
// Print your board's IP address
IPAddress ip = WiFi.localIP();
Serial.print("IP Address: ");
Serial.println(ip);
// Print the received signal strength
long rssi = WiFi.RSSI();
Serial.print("Signal strength (RSSI):");
Serial.print(rssi);
Serial.println(" dBm");
}
Q: Can the WINC1500 be used with a 5V microcontroller? A: Yes, but level shifters should be used on the SPI lines to protect the 3.3V logic of the WINC1500.
Q: Does the WINC1500 support over-the-air (OTA) updates? A: Yes, the WINC1500 supports OTA updates, which can be implemented through the provided library functions.
Q: How can I improve the range of the Wi-Fi connection? A: Ensure that the PCB antenna is not obstructed and consider the orientation of the breakout board for optimal signal reception. Additionally, external antennas can be used if the breakout board version supports it.