Microchip PIC18F25K42 Bedienungsanleitung


Lesen Sie kostenlos die đź“– deutsche Bedienungsanleitung fĂĽr Microchip PIC18F25K42 (40 Seiten) in der Kategorie Nicht kategorisiert. Dieser Bedienungsanleitung war fĂĽr 2 Personen hilfreich und wurde von 2 Benutzern mit durchschnittlich 4.5 Sternen bewertet

Seite 1/40
User's Guide
Interfacing the MikroElektronika Weather Click Board™
with the PIC18F25K42
Preface
Important:  Notice to customers:
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs and/or
tool descriptions may differ from those in this document. Please refer to our website
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB ® IDE online help.
Select the Help menu, and then Topics to open a list of available online help files.
Introduction
This document describes how to use the device as a development tool to emulate and debug firmware on
a target board, as well as how to program devices.
The MikroElektronika Weather Click module contains the Bosch BME280 Environmental Sensor that is
used to detect humidity, barometric pressure, and temperature. This user's guide explains how to connect
the Weather Click to the PIC18F25K42 microcontroller, send and receive commands and raw weather
data, and convert the data into a usable format.
Recommended Reading
For the latest information on using the device, read the “ ” file (an HTMLReadme for Device #.htm
file) in the Readmes subdirectory of the MPLAB® IDE installation directory. The release notes (Readme)
contain update information and known issues that may not be included in this user’s guide.
Hardware/Software Requirements
This demonstration uses the following hardware and software components:
Hardware:
• Curiosity High Pin Count (HPC) Development Board (DM164136)
• PIC18F25K42 Microcontroller (PIC18F25K42-I/SP)
© 2018 Microchip Technology Inc. User Guide DS40002073A-page 1
• MikroElektronika Weather Click Board™ (MIKROE-1978)
• MCP2200 USB-to-UART Breakout Module (ADM00393)
• USB Micro-B 5-pin cable (Curiosity to PC for programming/USB power)
• USB Mini-B 5-pin cable (MCP2200 to PC for displaying data)
• Jumper wires
Software:
• MPLABX® IDE v4.15 or higher
• XC8 Compiler v1.45 or higher
• Tera Term or equivalent PC terminal program
Other Relevant Documents:
• Bosch Data Sheet"BME280 Combined Humidity and Pressure Sensor"
•"PIC18(L)F24/25K42 28-Pin, Low-Power High-Performance Microcontrollers with XLP Technology"
Data Sheet (DS40001869)
•TB3192, "Using the SPI module on 8-bit PIC® Microcontrollers" Technical Brief (90003192)
User's Guide
© 2018 Microchip Technology Inc. User Guide DS40002073A-page 2
Table of Contents
Preface............................................................................................................................ 1
Hardware/Software Requirements.................................................................................. 1
1. Application Overview................................................................................................. 4
1.1. BME280 Environmental Sensor................................................................................................... 4
2. Application Configuration...........................................................................................9
2.1. Hardware Configuration............................................................................................................... 9
2.2. Software Configuration............................................................................................................... 11
3. Conclusion...............................................................................................................36
The Microchip Web Site................................................................................................ 37
Customer Change Notification Service..........................................................................37
Customer Support......................................................................................................... 37
Microchip Devices Code Protection Feature................................................................. 37
Legal Notice...................................................................................................................38
Trademarks................................................................................................................... 38
Quality Management System Certified by DNV.............................................................39
Worldwide Sales and Service........................................................................................40
© 2018 Microchip Technology Inc. User Guide DS40002073A-page 3


Produktspezifikationen

Marke: Microchip
Kategorie: Nicht kategorisiert
Modell: PIC18F25K42

Brauchst du Hilfe?

Wenn Sie Hilfe mit Microchip PIC18F25K42 benötigen, stellen Sie unten eine Frage und andere Benutzer werden Ihnen antworten




Bedienungsanleitung Nicht kategorisiert Microchip

Bedienungsanleitung Nicht kategorisiert

Neueste Bedienungsanleitung fĂĽr -Kategorien-