Posts

220V LED Light Circuit Diagram

Image
At present most of people like to use LEDs because LEDs save electricity.Today I'm going to give you a simple 220V LED light circuit diagram.I think you all know Free Circuit Diagram always give useful circuit diagrams.We hope to give a circuit with more LEDs soon Note:              1)  Build this circuit on a PCB              2) If you are a kid don't try this circuit because 230V is dangerous    

Stereo audio player using the PIC32, MCP4822, microSD card and the MDDFS library

Image
Oscilloscope screen capture of output from the audio player Top - left channel Bottom - right channel Using the PIC32MX250F128B, I decided to make a simple audio player. I wanted to play back good quality audio from a large memory space - a microSD card. So, I made this WAV player that can play back 16-bit 44.1kHz WAV files with 12-bit stereo audio output. Of course that's not all it can play back. It is programmed for automatic period configuration so that the period is set on the fly based on the song sample rate. It can play back both 8-bit and 16-bit mono and stereo audio files and I have tested from 8kHz 8-bit mono to 44.1kHz 16-bit stereo. The player itself does not include an audio amplifier to drive speakers but can drive earphones. I've used an external stereo speaker for testing. The hardware is fairly simple! Using the Microchip Memory Disk Drive File System (MDDFS) library, and my previous work using the MCP4822 dual 12-bit DAC, integrating these components to...

Simple Christmas chaser

Image
Today Free Circuit Diagrams 4U is  going to give you a useful circuit diagram.This circuit is mainly operated by two ICs.One is NE555 and IC 4017.When you  build this circuit use a  PCB.If you use blue colour LEDs it would be so attractive. Note:-  # Don't supple over 9V  # Build this circuit on a PCB

230 V Christmas lamp with 8 modes

Image
Today Free circuit Diagrams 4U is going to give you a 8 mode 230V Christmas lamp circuit .This circuit is operated with UTC 8156.When you use bulbs use 40W bulbs.Build this circuit on a PCB. Note:- IF you are a underage guy Don't try this circuitBecause 230V  is dangerous

Christmas Light Circuit Diagram

Image
  Today i'm going to give you a Christmas light circuit diagram.This circuit is called chaser circuit diagramYou all know FREE CIRCUIT DIAGRAMS 4U has given many Christmas circuit diagrams.This circuit is operated with IC 4017 .This circuit can be operated with 9V power supply.If you used blue color LED it would be so attractive The list of item is mentioned below. 1- IC-CD4017          Decade Counter Divider with 10 Decoded  1- IC-NE555           Timer IC  2- C-10uF 16V        Electrolytic capacitors  1 -R-2.7K                Resistors         1/4 W 5%  1- R-470 ohms         Resistors         1/4 W 5%  1 -R_1K       ...

Interfacing a color TFT display with the PIC32MX250F128B

Image
I have been working on interfacing the PIC32MX250F128B with a small 2.2" TFT display from Adafruit. It's a nice little display that is fairly easy to communicate with, using SPI communication. The display I'm using is: http://www.adafruit.com/product/1480 Adafruit provides nice open-source libraries for their products. However, they are for Arduino and thus cannot be directly reused for the PIC32. I went through the library and ported it over for the PIC32, in C. I have attached my project file as a .zip file and you can download it to go through the library header and source files, as well as the demo code. I've tried heavily commenting the code so that it is self-explanatory. As far as hardware goes, with the demo code, the pin connections for the display are: BL (backlight): I left it unconnected, but you can connect it to 3.3V for backlight. SCK: connected to RB14 on the PIC MISO: left unconnected, since I'm not reading anything from the screen MOSI: connected ...

PIC32 DMA+SPI+DAC : Analog output synthesis with zero CPU overhead

Image
I have previously shown how to use the PIC32 SPI module to use the 12-bit DAC MCP4822: http://tahmidmc.blogspot.com/2014/10/pic32-spi-using-mcp4822-12-bit-serial.html . While that does allow you to generate analog outputs as desired, it requires you to use CPU cycles to process the timer interrupt and accordingly drive the SPI module. Since the PIC32 contains DMA channels, the process can be completely offloaded from the CPU. For an idea of the PIC32 DMA module, refer to my previously written article: http://tahmidmc.blogspot.com/2014/05/simple-pic32-dma-example.html Fig. 1 - The generated sine wave at fpwm = 400kHz and 32 elements in the sine table So, the simple way of offloading the SPI update to the DMA module would be to let the DMA channel transfer data to the SPI buffer. The SPI module is configured for 16-bit data transfer (since the MCP4822 write command requires 2 bytes). This means that the cell size for the DMA channel has been set to 2 (2 bytes to transfer once triggered)....