Microchip ATWINC1500-IC Manual


Læs gratis den danske manual til Microchip ATWINC1500-IC (71 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 21 personer og har en gennemsnitlig bedømmelse på 4.3 stjerner ud af 11 anmeldelser. Har du et spørgsmål om Microchip ATWINC1500-IC, eller vil du spørge andre brugere om produktet?

Side 1/71
AN5305
ATWINC15x0/ATWINC3400 Wi-Fi® Network Controller
Software Programming Guide
Introduction
This software programming guide describes the use of the ATWINC15x0/ATWINC3400 Wi-Fi Network Controller to
build state-of-the-art Internet of Things (IoT) applications.
The following topics will be covered:
How examples are organized
Target board information
Instruction for each example
Note:  All the listed examples and folder structure/files are similar for both WINC15x0 and ATWINC3400. The
diagrams and console logs in this document refer to ATWINC15x0.
Prerequisites
Hardware Prerequisites:
SAM D21 Xplained Pro Evaluation Kit
ATWINC15x0 extension (For more details, refer to ATWINC15x0 user guide)
ATWINC3400 extension (For more details, refer to ATWINC3400 user guide)
IO1 extension
Micro-USB Cable (Micro-A/Micro-B)
Software Prerequisites:
Atmel Studio 7.0 (For more details, refer to )user guide
Wi-Fi IoT Examples (for more details, refer to )application notes
Figure 1. SAM D21 XSTK Board Demo Setup
© 2020 Microchip Technology Inc. Application Note DS70005305D-page 1
Table of Contents
Introduction.....................................................................................................................................................1
Prerequisites.................................................................................................................................................. 1
1. How the Examples are Organized.......................................................................................................... 4
2. Source Organization............................................................................................................................... 5
3. Basic Operation Code............................................................................................................................. 6
3.1. Basic Examples............................................................................................................................6
4. Protocol Examples................................................................................................................................ 28
4.1. UDP Client..................................................................................................................................28
4.2. UDP Server................................................................................................................................ 29
4.3. TCP Client.................................................................................................................................. 31
4.4. TCP Server.................................................................................................................................32
4.5. NTP Time Client......................................................................................................................... 34
4.6. SMTP Send Email...................................................................................................................... 36
5. Advanced Examples............................................................................................................................. 39
5.1. Exosite Cloud............................................................................................................................. 39
5.2. Growl Notification....................................................................................................................... 43
5.3. HTTP File Downloader............................................................................................................... 45
5.4. IoT Temperature and Qtouch Sensor Demo.............................................................................. 47
5.5. MQTT Chat.................................................................................................................................49
5.6. OTA Firmware Upgrade............................................................................................................. 52
5.7. PubNub Cloud............................................................................................................................ 55
5.8. Serial Bridge...............................................................................................................................57
5.9. SSL Client Connection............................................................................................................... 57
5.10. Weather Client............................................................................................................................59
5.11. Wi-Fi Serial.................................................................................................................................61
5.12. ALPN Client Connection.............................................................................................................63
6. Reference Documentation.................................................................................................................... 66
7. Document Revision History...................................................................................................................67
The Microchip Website.................................................................................................................................68
Product Change Notification Service............................................................................................................68
Customer Support........................................................................................................................................ 68
Microchip Devices Code Protection Feature................................................................................................ 68
Legal Notice................................................................................................................................................. 69
Trademarks.................................................................................................................................................. 69
Quality Management System....................................................................................................................... 70
AN5305
© 2020 Microchip Technology Inc. Application Note DS70005305D-page 2


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: ATWINC1500-IC

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip ATWINC1500-IC stil et spørgsmål nedenfor, og andre brugere vil svare dig