Table of Contents
Arduino met Waveshield
De basishardware bestaat uit een Arduino Duemilanove (2009) en een Waveshield van Adafruit.
Arduino Duemilanove
- Algemene info: Arduino Website
- Website: Duemilanove
- pcb: Eagle cad data
Waveshield
- algemene info: Ada Fruit
- website product: Waveshield
- schema: Waveshiel11schem.png
- pcb:
Format the SD card
While using linux you need to formmt the SD card as a regular FAT16 card. If the card is too large, use fdisk to make the first partition with a size of 400 Mb. Change the type of the partition to: 6 (FAT16)
Use the debian package “dosfstools”
find the corresponding device using: mount
format the drive with: mkfs.msdos /dev/mmcblk0p1
sudo mkdir /mnt/tmp_img
mount the SD drive separately with: sudo mount /dev/mmcblk0p1 -t msdos /mnt/tmp_img
check the listing on the SD card.
Convert the audio file
The audio file for the waveshield must have the following properties:
- 16 bit
- mono
- PCM WAV
The command “sox” can convert to the desired wav format. Unfortunately only wav and ogg formats are recognized. Sox does not recognize mp3's. convert them with mpg123 or equivalent.
sox --show-progress \ INFILE.{wav,ogg} \ -b 16 -t wav --endian little -c 1 -r 22050 \ OUTFILE.wav \ polyphase
Protoshiel v5
- algemene info: Ada Fruit
- website product: ProtoShield
- schema: protoshield_v5_circ.png
- pcb: