Skip to content

microchip-pic-avr-examples/attiny817-digital-sound-recorder-mplab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCHP

ATtiny817 Digital Sound Recorder using DAC with evaluation kit

This example demonstrates a digital sound recorder using ADC for sampling and DAC for playback. Samples are timed at a defined frequency, controlled by a timer and event system. SPI is used to store raw data on an SD card, driver included. This example demonstrates direct register read and write operations for peripheral initialization, and therefore does not use peripheral drivers.

The example is explained in more details in the application note AN2547.

Related Documentation

Software Used

Hardware Used

Setup

  • Connect I/O1 Xplained Pro to EXT1
  • Connect OLED1 Xplained Pro to EXT3
  • Connect a microphone to ADC_IN7 (PA7)
  • Connect a speaker to DAC_OUT (PA6)

Operation

  1. Download the zip file or clone the example to get the source code.
  2. Open attiny817-digital-sound-recorder-mplab.X in MPLAB.
  3. Connect the ATtiny817 Xplained Pro with your computer.
  4. Make sure the kit is selected as the tool to be programmed under project settings.
  5. Press the make and program button to program the device.
  6. Use the buttons on the OLED display to start recording, erase or start playback.

Conclusion

We have here shown how you can use a ATtiny817 as a digital sound recorder.

About

A digital sound recorder with a attiny817

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •