Friday, January 23, 2015

TLV320AIC23B Audio Codec Breakout Board

to get audio capability to my Raspberry pi / beaglebone / Aduio DSP(TMS320) projects i found my self making this little breakout board i hope you find useful.

PIC18F14K50 USB Breakout Board with RS232

 quite a some time ago i worked on this little pcb for PIC18F14K50 microcontroller , the good thing about this microcontroller is that it has  USB capability so i did this tiny pcb to utilize USB. the board made out of two kid of separate  sections as shown in the 3D rending blow, you can use this board a proper USB to RS232 converter or cut through the black line and it become simple USB I/O board.


Wednesday, January 7, 2015

12 Channel Relay + 2 Channel Dimmer control by IR Remote and keyboard

as extension to IR(infrared) Remote Control Relay Board with PIC 12F675 Microcontroller i have done this quite a useful project after too many requests. by using this hardware user have option to turn up to 12 relay on and off and two loads (like fan or motor) can be controlled with adjustable speed in case of motor , or adjustable intensity in case of a bulb.


this project is directly involved with high voltage AC which may cause sever damage. proceed with caution.
i will not be responsible for any risk involved,  you are on you own.








IR protocol 

IR protocol is same as previous projects . we use NEC protocol please refer to this link to know more about NEC protocol

Hardware


Friday, January 2, 2015

Measuring True RMS Mains Voltage and Frequency using MSP430 microcontroller

To practice DSP algorithm on MSP430 microcontroller, i am working on a project "Mains Monitor" which is basically a spectrum analyser which will monitor AC mains voltage using Fast Fourier Transform (FFT) and show spectrum frequency domain on a graphical LCD , the spectrum can be used to view if any harmonics present in the mains voltage which will ultimately determines the quality of the supply.

measuring True RMS voltage and frequency is part of that project, alongside of spectrum the LCD screen will display True RMS Voltage and frequency of AC mains line. most of the normal AC mains voltage meter measure average/peak voltage and then adjust the voltage a little considering sine wave input waveform. average measurement technique works well till input is pure sine wave but as soon as you input other waveform  like square wave from backup UPS, normal meter will not read them correctly. so if you want real effective voltage level you have to calculate true RMS voltage. but calculating true RMS is not very easy it need a decent amount of calculation to be performed. small microcontroller are not generally meant for these calculation but MSP430 is mixed signal microcontroller , it has few very advanced peripherals to support some light weight DSP operations. we will see in a minute how to calculate True RMS of a signal and what are the challenges doing this on a small microcontroller.

Wednesday, January 1, 2014

Pratham: Breadboardable PIC32 Breakout/Development Board With USB OTG , USB/SDCard/UART Bootloader

Pratham:  Breadboardable PIC32 board 
      doing random projects with Microcontroller i always come into position when i need to have a bit more power and Peripherals  then regular 8-bit micro or Arduino has to offer, but most of the powerful micro usually come in non-DIY Friendly SMD package or else they have very less pins like DIP-28.

    so what i was need is a fairly small breakout board kind of things which should be easy to handle and should contain few necessary peripherals like bunch of LED ,few switches , USB , EEPROM , VReference for ADC ,Oscillator and Voltage regulators too. and the board also need to be low cost so that i can leave in that in the application as it is. and most important things is the board should be breadboard compatible.  
so here is the solution with all of the features i can think off. 


Sunday, September 8, 2013

NEC Protocol IR (Infrared) Remote Control With a Microcontroller

Introduction          

        This little project will demonstrate how you can build NEC protocol based Infrared Remote Control to use with 
various NEC Protocol IR receivers.

        actually there are lots of projects out there to accomplish this task but i have to write my own code because of too many requests on this IR(infrared) Remote Control Relay Board with PIC 12F675 Microcontroller   people keep asking "Where is the Transmitter for this" although you can use any NEC protocol based remote ,but i just wanted to build one by my self. so here it is.



Monday, September 2, 2013

Rotary Encoder Interfacing With MSP430 LaunchPad

       This a a follow up to the Roatary Encoder with PIC micro in this demo we will use Texas Instrument MSP430G2211 with MSP430 LaunchPad 

Incremental Rotary Encoder
first of all i would like to tell you , these type of rotary encoder is totally digital component so you can't directly replace these  with you conventional pots. so lets start what are Incremental Rotary Encoder , Incremental rotary encoders by the looks of it just like a general purpose pot looks like but output is quite different they  provide a pair of digital signals that allow a microcontroller to determine the direction of a shaft’s rotation. They can be used to monitor motors and mechanisms, or to provide a control-knob user interface.

   for a quick look here is a typical incremental rotary encoder