Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Look at these links:
ICD2 Clone [Nebadje.org]
https://www.blueroomelectronics.com (Search for Inchworm ICD2).
Also, google for "ICD2 clone" or "pickit2 clone" and also search this forum.
Good luck!
Hello israel7732,
Taking average of all the readings in half cycle worked fine for me. Only thing you have to ensure is sample the sinewave at equal and consistent intervals of time.
I elaborate this a little bit here:
Sample the sinewave at fixed slots of time, say 100us each.
Wait for zero...
Hi,
I want to interface a shaft encoder to a MCU. Now the shaft encoder operates at 12V while the MCU at 5V. The best way I thought, is to use a digital opto-coupler so the input diode is connected to shaft encoder output signals and optocoupler output is connected to MCU.
I am confused in...
Hi all,
In my inverter project, I am generating a sine wave 230V with PWM using a full bridge of MOSFETs. The feedback is to be measured with an ADC built in the MCU. I need to regulate this 230V upto a load of 800VA.
I would like to know expert opinions on what should be the method to measure...
Set a variable for command ID and initialize it to zero.
Initialize a counter to 7
As a bit comes in, if it is zero, clear bit (indicated by counter) of the commandID variable, otherwise set this bit.
Decrement counter and repeat till counter becomes zero.
So in first loop you will set / clear...
Yes but I can do multiplication in hardware with a fixed latency. But it takes definite time and adds to overhead so including P and I both is practically difficult.
FvM, Yes the problem is that necessary output voltage is not achieved at full load. If we suspect hardware, it is already proven...
Hi all,
I would like to know if there is some way to address this situation.
If I am running two programs (processes) in Linux say for e.g. a firefox and a media player. What I would like to do is connect two monitors to my machine and display the output of firefox on one monitor while media...
ljcox,
Feedback is there. The inverter output is scaled down with resistors and given to an op-amp whose output is a level shifted sinewave centered around 2.5V. This is input to the ADC of microcontroller. ADC is 8-bit.
I know about PID but this controller has no hardware multiply even. So...
Hi,
I am doing a firmware for PIC16F72 based inverter. It is a 800VA pure sinewave inverter.
PWM frequency I am using is 6.4KHz. PWM is generated totally in software using two timers T0 and T1. There are 4 branches of 3 MOSFETs each (3 MOSETS in parallel in each branch). 4 PWM ouputs drive...
luben111,
Lower speed is okay for this particular case.
What kind of hardware / circuit required to inject noise? Is noise generated from port switching and other circuitry or environment etc not sufficient?
An op-amp will be required to increase gain so I can add filtering there.
Even I was...
Yes, that really makes sense! I had overlooked that dynamic range without an amplifier.
But you mean that I should have some circuitry to switch gain of the amplifier automatically? How will I (my processor) know when to switch the gain? I think once the voltage goes below some threshold, right...
FvM, But how will it help actually? If I bias the thermistor with a 3.3V supply through a resistor, I can connect the thermistor voltage directly to ADC input. What difference it will make by adding an amplifier?
Ok, so oversampling has this "con". By the way, I am using ARM LPC1111.
Thanks all for replies.
FvM, Will it help to increase resolution by using amplifier and range switching? Will linearization (hardware or software) help in increasing the resolution?
luben111, oversampling seems really attractive option as you say. Are there any "cons" using this technique? Why...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.