Saturday, October 3, 2015

Cross Platform USB I/O Board With PWM in Qt5 , I/O Board V2

Quite a some time ago i published a USB I/O board PIC18F4550 which has total 16 I/O line and 5 analog input. The interface was written with Microsoft .net framework. Of course of being in .net we were bound to with windows only. so after many requests now here it is the next version of the good old USB I/O board.

The new version has complete change in the hardware. the are few feature addition like now it is possible to set the direction of individual I/O line instead in ground 8 I/O line each. the new Hardware has capability to generate PWM output with frequency range of 3Khz to 200 Khz with duty cycle from 0% to near 100 %. 

   The this version of hardware is based on PIC18F14K50 which is a 20 pin device. With this small microcontroller we now have Total 8 I/O lines , 3 Analog input , 1 PWM output. now the update rate of the interface is way much faster and and analog reading will automatically updated with the whole display.

  The USB interface is  still Standard Raw USB HID , you can sniffer the data with any host application of you choice or any programming library which support Raw HID. with help of some library you can interface the I/O Board with all sorts of automated testing and scientific calculation software like Matlab  or eve LABVIEW. almost all the these type application support raw USB HID.

The Hardware 

Friday, April 24, 2015

Lowest Cost RF Control 4 channel Relay Board

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


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.