This example demonstrates a digital sound recorder using ADC for sampling and DAC for playback. Samples timed at a defined frequency, controlled by a timer and event system. SPI used to store on a dataflash, driver included. This example uses START peripheral drivers.
The example is explained in more details in the application note AN2547.
- AN2547 - Digital Sound Recorder using DAC
- Parrot (Voice Recorder) with ATtiny817 Hardware Users Guide
- ATtiny817 Product Page
- MPLAB X IDE v6.25 or later
- XC8 (v3.00) alternatively AVR/GNU C Compiler 5.4.0 can be used
- ATtiny_DFP 3.3.272 or later
- Connect usb power
- Connect a debugger of your choice
- Download the zip file or clone the example to get the source code.
- Open
attiny817-digital-sound-recorder-with-parrot-mplab.X
in MPLAB. - Connect the usb power and the debugger with your computer.
- Make sure the kit is selected as the tool to be programmed under project settings.
- Press the make and program button to program the device.
- Use the buttons on the board to start recording, erase or start playback.
We have here shown how you can use a ATtiny817 as a digital sound recorder with the parrot board.