Record+play fast 1bit sound on a PIC!

BTc "Binary Time constant" algorithm. A system to record and/or play sound in a bitstream format using just one digital output pin. This is a sound playback system for a PIC or any other microcontroller. It uses a clever encoding system to mathematically model the actual performance of the RC filter when the signal is encoded. This allows playback of good quality sound with the absolute minimum software and ...

Read more

An S/PDIF Sound Card Using The PCM2906

When S/PDIF became available in the Teensy Audio Library I thought this might be the solution to ground loop problems I’d been having when interfacing projects to my PC. However, I quickly realized I didn’t have any sound cards with an S/PDIF interface. In the belief that I’d rather build than buy I decided to update one of my previous projects, a PCM2904 based sound card, to include an S/PDIF interface. Th ...

Read more

Staff with Click Sound and Obstacle Alarm

People who are visually impaired usually use a staff to guide them as they walk. They tap with their staff to know if an obstacle is present around. Others use the echolocation technique. They produce a clicking sound through their tongue, foot, and fingers and through this they detect objects from their surrounding by sensing the echoes produced. The design above is a simple project that aims to assist vis ...

Read more

SD/SDHC CARD SOUND RECORDER

Updated on 30.6.2015 The PIC16F876A's ADC digitizes the sound and store it in the SD or SDHC card. The firmware works for SD or SDHC cards only, for old SD (before 2009) use ver1 firmware. Do not use SDXC cards with this project because some of them work on 1.8V drive. The code detects whether the card is SD or SDHC and selects the proper addressing system for the card. The PIC's CCP is used as a DAC to con ...

Read more

A PIC-based Alarm clock system

This project is aimed to design a ‘Sleep and Wake-up Assistant’. Different from a normal alarm clocks which can only make noise, this alarm clock is designed to wake up a person in a comfortable and effective way by involving sound, light stimulation, motion detection and vibration. The functions of this alarm system are: ( i ). This system has an LED light. Before the user sleep in the night, the LED can b ...

Read more

USB Audio Streamer A Microchip PIC based USB sound card

INTRODUCTION The idea for creating a USB sound card based on a PIC came from discussions of other people creating one on the Microchip USB forum. The hardware of the card is based on all Microchip products. The software uses a modified version of the Microchip USB framework which is interrupt driven instead of the traditional polling. The device is a USB composite device. The first device is an implementati ...

Read more

Cheap C-Media (?) sound card

This USB sound card that presents itself as C-Media is one of the cheapest sound cards available with price $1.1-$2 depending on vendor. Device markings: HX2010-0705, production date 40th week of 2013 (or later?). Device enumerates as composite device: sound card + HID input. HID input part is used for audio volume and mute control and it functionality is slightly broken - same as with multimedia keyboard i ...

Read more

Hee Haw Sound

This experiment creates a Hee Haw sound for an alarm. The diagram shows the number of cycles for the HEE and the time taken for each cycle, equates to a certain length of time. The frequency of the HAW is lower and the number of cycles must be worked out so that the time for the HAW is equal to the time for the HEE. This is simple when writing the program. The values loaded into the two files for the HEE ar ...

Read more

How to Generate Sound using PWM with PIC Microcontroller

Pulse Width Modulation (PWM) is a technique in which the width of a pulse is modulated keeping the time period of the wave constant. The ON time and OFF time can have any different values in the wave cycles, but the sum of the ON time and OFF time remains same for the entire cycles. PWM is a digital wave that can be generated using digital circuits which are not capable of generating analog voltages. With t ...

Read more
Scroll to top