Giter Club home page Giter Club logo

microchip_curiosity_nano_examples's Introduction

Microchip Curiosity Nano Examples

PIC16F15376 Curiosity Nano

My experiments, snippets and documents about some Microchip Curiosity Nano boards I use for my projects or for learning.

Powering Curiosity Nano

Running at 5 or 3.3V

By default Curiosity nano runs at 3.3V when powered from USB: there is a software controlled variable regulator on board that generates the VTG (V Target). If you want to run the board @5V when you power it from USB you must change a parameter in the project configuration:

  • Right click on project in Projects tree and select Properties
  • in Categories box on the left, select PKOB Nano
  • in Option Categories dropdown box, on the right, select Power
  • check the Power target circuit checkbox
  • write 5 in the blank field Voltage level
  • press OK

The project property will be changed and will be active the next time you'll program the board. Voltage change is permanent, so there is no need to keep this setting every-time for every project: be careful. This setting, obviously, only affect the V Target when you power the board from USB. Following picture illustrates where this setting is located:

VTG modification

Powering from external

If you want to power the board from the external instead of USB, you must tie to GND the pin VOFF: it's the second pin on the right, starting from top, having the USB connector on top: this will disable the on board regulator. After you've tied VOFF to GND you can power the board on the pin VTG: it's the sixth pin on the right, starting from top, having the USB connector on top. The voltage you apply will not be affected by the modification explained above. 5V is the maximum allowed.

Curiosity Nano Debugger Pinout

WARNING: if you use the old PIC16F18446 revision (Called MPLAB Xpress PIC16F18446) there is no VOFF pin (notice that the debug header has fewer pins) and you must cut some traces below the board for powering from external, please refer to old documents in the assets folder

Usage of certain pins

Following infos are for the PIC16F15376 Curiosity Nano.

  • RCO and RC1: Normally, those pins are not routed from edge connector to PIC MCU, so if you would to use them, put a solder blob on pads on the bottom of the board marked as RC0 - RC1. They're not connected since you can choose to use them for the Secondary Oscillator (SOSC) soldering a 32768Hz Crystal on top.
  • RB6 and RB7: Those pins are not shown on the silkscreen. They are used by the debugger (DBG1/ICSPCLK and DBG0/ICSPDAT respectively), maybe is safe to use if you disconnect them first than programming
  • RD0 and RD1: are shared with USB CDC and used by debugger, they appears on the silkscreen. EUSART2 can use those pins, so if you want to redirect serial communication over USB configure the EUSART2 for using UART TX on RD0 and UART RX on RD1.
  • RE0: is connected to LED anode (pin low = led ON).
  • RE2: is connected to DGB2 Debugger pin and shared with SW0. RE2 marking does not appear on silkscreen
  • RE3: this pin is shared with MCLR and is connected with DBG3 debugger pin. RE3 marking does not appear on silkscreen

Links

microchip_curiosity_nano_examples's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.