Microchip logo
Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

AN2548

Title:
AVR42779: Core Independent Ultrasonic Distance Measurement with the tinyAVR 1-series
Name:
AN2548
Date:
02/23/2018
Description:
This application note describes a core-independent method of measuring distance using an Atmel® 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, core, independent, cip, ccl, custom, configurable, logic, timer, ultrasonic, transceiver, distance, measurement, AVR, tinyAVR, megaAVR, 0-series, 1-series
 
 Application Notes & Source Code
 Last Updated
Size
 
  AN2548
  02/23/2018
  350KB
 Silicon Products
Last Updated
  ATMEGA1608
  10/08/2018
  ATMEGA1609
  10/08/2018
  ATMEGA3208
  02/27/2018
  ATMEGA3209
  02/27/2018
  ATMEGA4808
  12/14/2017
  ATMEGA4809
  02/27/2018
  ATMEGA808
  10/08/2018
  ATMEGA809
  10/08/2018
  ATtiny102
  12/04/2016
  ATtiny13A
  12/04/2016
  ATTINY1604
  04/03/2018
  ATTINY1606
  04/03/2018
  ATTINY1607
  04/03/2018
  ATTINY1614
  03/17/2017
  ATTINY1616
  03/17/2017
  ATTINY1617
  03/17/2017
  ATtiny1634
  12/04/2016
  ATtiny167
  12/04/2016
  ATTINY167-AUTOMOTIVE
  06/05/2017
  ATTINY202
  10/31/2017
  ATTINY204
  08/29/2017
  ATTINY212
  08/29/2017
  ATTINY214
  08/29/2017
  ATtiny24
  12/04/2016
  ATTINY24-AUTOMOTIVE
  06/05/2017
  ATtiny28L
  12/04/2016
  ATTINY3214
  06/26/2017
  ATTINY3216
  06/26/2017
  ATTINY402
  08/29/2017
  ATTINY404
  08/29/2017
  ATTINY406
  08/29/2017
  ATTINY412
  08/29/2017
  ATTINY414
  08/29/2017
  ATTINY416
  10/16/2016
  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
  ATTINY804
  04/03/2018
  ATTINY806
  04/03/2018
  ATTINY807
  04/03/2018
  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