Circuit Book

I2C or SPI Serial Communication ?

I2C or SPI Serial Communication ?

Before adding serial communication to your design, let’s say adding a serial eeprom, you should have an understanding of the different types of serial communication that you can use. There are two main protocols to consider, SPI protocol and I2C protocol. Both systems have their unique advantages and disadvantages which make them more or less suitable for a given application.

General purpose infrared remote control receiver with RS232 output

General purpose infrared remote control receiver with RS232 output

I have done a simple infrared remote control receiver with RS232 ascii output. It can be used for developing remote controls on a PC using the serial port. In practice, the infrared bursts are converted in ascii characters and sent to the RS232 port. The downloadable ZIP file contains the schematic diagram , the printed circuit board, the components disposition and the object file to write into the ATMEL ATtiny2313 microcontroller.

GPS-based universal clock generator

GPS-based universal clock generator

Almost all commercially available GPS OEM modules provide a 1pps output, synchronized with GPS time. This pulse could be used as a reference to generate accurate high-frequency clocks, but special design has to address the short-term jitter affecting the 1pps signal. As a general guideline, an oven-stabilized crystal oscillator who guarantees the short-term stability is synchronized with the GPS 1pps for the long-term accuracy.

Triangle LED Animation

Triangle LED Animation

This project uses the Simple LED Animation Kit (SLAK post) with red/green LEDs arranged in a triangle.

The three sides of the triangle are connected in parallel. Even though there are 18 bicolor LEDs (36 individual LED elements), the PIC16f628A is controlling only 6 bicolor LEDs (12 individual elements) and these are duplicated around the triangle.

Arduino Sound Part 2: Hello World

Arduino Sound Part 2: Hello World

This is the second in a series of articles about generating sound with an Arduino [First Part here]. The first article covered the various methods available for sound generation with an Arduino. In this article we take a small step; “Hello World” for Arduino sound. We prepare for our future experiments by hooking up a PC or powered speaker so we can hear the Arduino sing.

Class A Ultra Linear (UL) 6SL7 SRPP / KT77 SIPP Tube Amp

Class A Ultra Linear (UL) 6SL7 SRPP / KT77 SIPP Tube Amp

This is a very well documented DIY audio project that goes through the steps of building a Hi-Fi Tube Amplifier. The project is not cheap (about $400) and is geared towards audio hobbyists that have some experience with high voltage electronics and electronics. The tube amplifier measures very well and instructions are provided on how to scale this circuit for use with other tubes.

20W Audio Amplifier using LM1875

20W Audio Amplifier using LM1875

20W Audio Amplifier kit is based on LM1875 IC. * Power supply - 48 VDC * Output - 20 W, 4 Ω * Very low distortion (THD - 0.015%), good channel separation and ripple rejection * IC built-in thermal, short circuit protections * Internal output protection diodes * Terminal pins for connecting input * Power Battery Terminal (PBT) for easy power supply and speaker connection * Power-On LED indicator * Heatsink for IC * Four mounting holes of 3.2 mm each with nut and stud * PCB dimensions 48 mm x 60 mm

DIY - GPS Camera attachment

DIY - GPS Camera attachment

This is a great how-to on building a GPS system for your DSLR camera. The pictures are tagged with the exact GPS coordinates for later reference. Nice work! This version eliminates the need for the expensive MC-35 and even the special 10-pin connector. I’ve opted for a quick GPS receiver and encased everything in a small black box with a flash shoe mount. Because it is powered through the camera’s power source, a switch on the side of the box turns off the GPS. Version 3 should include a battery, rechargeable through a USB connection. [via]

AVR butterfly Mp3: a diy mp3 player

AVR butterfly Mp3: a diy mp3 player

The design is based around the AVR Butterfly from Atmel. The use of this module greatly simplifies the hardware design and constrution and packs plenty of punch for $19.99 USD. The remaining hardware can be easily placed on a single sided PCB ($10-$20). The MP3 decoding is handled by a VS1001K decoder chip from VLSI Solution Oy ($20). This chip also has an onboard DAC with enough power to drive headphones, simplifying the board design even further. [via]

Electronic synthesizer

Electronic synthesizer

The heart of the synthesizer is a set of 2 Analog Devices AD9850 direct digital synthesis (DDS) chips. These provide 2 channels of sinewave output which may differ in frequency and relative phase. The output stage of the synthesizer also includes separate variable attenuators for the 2 channels. These attenuators have a range of 0.0 - 63.9 dB of attenuation, in 0.1 dB steps. The user therefore has control over five parameters: 2 output frequencies, 2 output attenuations, and relative phase between the 2 channels.

 

 


Categories

 
 
 


CircuitBook.com (C) 2009
Any logo, trademark and project represented here are property of their respective owner