Microchip Technology Inc

AN2548

Title:
AVR42779: Core Independent Ultrasonic Distance Measurement with the tinyAVR 1-series
Name:
AN2548
Date:
09/29/2017
Description:
This application note describes a core-independent method of measuring distance using an AVR device and an ultrasonic transceiver. The implementation is centered around the AVR Configurable Custom Logic module, takes advantage of timer/counter PWM generation, and uses timer/counter waveform generation for synchronized masking signals used for the transmit and receive lines of the ultrasonic transducer. The analog comparator (AC) and digital to analog converter (DAC) are used to handle reception of the attenuated reflected signal. Timer capture is used to measure the ultrasonic burst's "time of flight" in order to measure proximity to a barrier.
Keywords:
DS00002548, Microchip, Atmel, core, independent, cip, ccl, custom, configurable, logic, timer, ultrasonic, transceiver, distance, measurement, AVR, 417, 814, 816, 817, ATtiny417, ATtiny814, ATtiny816, ATtiny817
 
 Application Notes & Source Code
 Last Updated
Size
 
  AN2548
  09/29/2017
  346KB
 Silicon Products
Last Updated
  ATtiny102
  12/04/2016
  ATtiny13A
  12/04/2016
  ATTINY1614
  03/17/2017
  ATTINY1616
  03/17/2017
  ATtiny1634
  12/04/2016
  ATtiny167
  12/04/2016
  ATTINY167-AUTOMOTIVE
  06/05/2017
  ATtiny24
  12/04/2016
  ATTINY24-AUTOMOTIVE
  06/05/2017
  ATtiny28L
  12/04/2016
  ATTINY3214
  06/26/2017
  ATTINY3216
  06/26/2017
  ATTINY417
  10/17/2016
  ATtiny4313
  12/04/2016
  ATtiny43U
  12/04/2016
  ATtiny44
  12/04/2016
  ATTINY44-AUTOMOTIVE
  06/05/2017
  ATtiny45
  12/04/2016
  ATTINY45-AUTOMOTIVE
  06/05/2017
  ATtiny461
  12/04/2016
  ATTINY461-AUTOMOTIVE
  06/05/2017
  ATtiny48
  12/04/2016
  ATtiny5
  12/04/2016
  ATTINY814
  10/17/2016
  ATTINY816
  10/16/2016
  ATTINY817
  09/15/2016
  ATtiny828
  12/04/2016
  ATtiny84
  12/04/2016
  ATTINY84-AUTOMOTIVE
  06/05/2017
  ATtiny87
  12/04/2016
  ATTINY87-AUTOMOTIVE
  06/05/2017
  ATtiny9
  12/04/2016