Giter Site home page Giter Site logo

microchip-pic-avr-examples / avr128db48-getting-started-with-opamp-studio-start Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 541 KB

These Atmel Studio 7 START examples in Getting Started with Analog Signal Conditioning (OPAMP) (TB3286), show how the OPAMP can be used on the AVR DB family of microcontrollers. The OPAMP peripheral features up to three internal operational amplifiers.

C 78.83% C++ 19.45% Assembly 1.72%
getting-started-with-opamp avr-db

avr128db48-getting-started-with-opamp-studio-start's Introduction

MCHP

Getting Started with Analog Signal Conditioning (OPAMP)

The Analog Signal Conditioning (OPAMP) peripheral features up to three internal operational amplifiers (op amps). The op amps can be configured to a multitude of different operations using internal multiplexers and resistor laders

The main purpose of op amps is to condition the analog signals before acquisition in a microcontroller or to provide the necessary output drive in control applications

These examples show the following configurations of the OPAMP peripheral on the AVR DB family of microcontrollers:

  • Voltage Follower: OP0 is configured as an voltage follower
  • Non-Inverting PGA: OP0 is configured as a non-inverting PGA
  • Differential Amplifier: OP0 and OP1 are combined to create a differential amplifier
  • Instrumentation Amplifier: OP0, OP1 and OP2 are combined to create an instrumentation amplifier

Related Documentation

Software Used

  • Atmel Studio 7.0.2397 or later
  • Atmel Start v1.1.14 or later
  • Atmel Studio AVR-Dx_DFP version 1.3.67 or later
  • For the MPLAB® Code Configurator version of these projects, please go to this repository

Hardware Used

Setup

All examples can be completed using the AVR128DB48 Curiosity Nano without any extra components

Operation

  • Connect the AVR128DB48 Curiosity Nano to a computer using a USB cable
  • Clone the repository or download the zip to get the source code
  • Open the .atsln file with Atmel Studio
  • In Solution Explorer, right-click the project you want to run and select Set as StartUp Project
  • Press Start Without Debugging (CTRL+ALT+F5) to run the example
  • To reconfigure the project press Reconfigure Atmel Start Project

Conclusion

After going through these examples you should have a better understanding of how to configure the the OPAMP peripheral to achieve different modes of operation.

avr128db48-getting-started-with-opamp-studio-start's People

Contributors

egilro avatar martin-mchp avatar

Stargazers

 avatar

Watchers

 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.