Giter Site home page Giter Site logo

microchip-pic-avr-examples / avr128db48-using-opamp-as-a-regulated-power-supply Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 60 KB

This Atmel Studio 7 bare metal example in Using the Internal OPAMP as Regulated Power Supply for MVIO (AN3636) shows how to use the OPAMP as a regulated power supply for a second voltage domain. This removes the need for a second external power supply. The regulated power supply features is showcased by acting as the second power supply for the Multi-Voltage I/O (MVIO)

C 100.00%
avr-db use-opamp-regulated-power-supply

avr128db48-using-opamp-as-a-regulated-power-supply's Introduction

MCHP

AVR128DB48 Using the Internal Opamp as Regulated Power Supply for MVIO

A new feature introduced in the AVR® DB family is the Analog Signal Conditioning (OPAMP) peripheral. In this example, the OPAMP is used as an adjustable power supply. This eliminates the need for an external power supply for a second voltage domain. One op amp is configured as a voltage follower and code examples for four scenarios are presented:

  1. Voltage reference using the internal resistor ladder.
  2. Voltage reference using an external resistor.
  3. Voltage reference using the internal DAC.
  4. Monitoring voltage level with the internal ADC.

Related Documentation

Software Used

  • Atmel Studio 7.0.2397 or later
  • Atmel Studio AVR-DB_DFP version 1.3.67 or later
  • For the MPLAB® X version of these projects, please go to this repository

Hardware Used

Setup

  • Enable MVIO powered by internal op-amps on the development board, see application note for each respective scenario
  • Enable Dual Supply mode in the System Configuration 1 (SYSCFG1) fuse

Operation

  • Connect the AVR128DB48 Curiosity Nano to a computer using a USB cable
  • Download the zip file or clone the example to get the source code
  • Open the .atsln with Atmel Studio
  • Press Start without debugging or use CTRL+ALT+F5 hotkeys to run the application

Conclusion

After going through this example you should have a better understanding of how to set up the OPAMP peripheral as a regulated power supply.

avr128db48-using-opamp-as-a-regulated-power-supply's People

Contributors

aku-work avatar egilro avatar martin-mchp avatar

Stargazers

 avatar  avatar

Watchers

 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.