Search Engine

Pwm And Adc

Add Question

Are you looking for?:
adc pwm , pwm adc , pwm adc , adc pwm
99 Threads found on Pwm And Adc
You can generate variable pwm using one timer and one pot also. 1.make port pin ON. start timer with ON time period 2.when it expires load OFF time period to timing registers. and make port pin off Whenever adc value gets changed calculate new ON, OFF values for timer registers
Hi! I want to use a microcontroller for my inverter, is it enough to only check for the adc resolution and pwm capabilities of the microcontroller?
Can some explain alternate dead time ALTDTR value calculation Given code and comment is from Microchip reference codes uController dsPIC33FJ06GS101 Few parameters adc and pwm clock is 117.92MHz ((FRC * 16) / APSTSCLR ) = (7.37 * 16) / 1 = 117.92MHz pwm output is complimentary with center (...)
Hello, I'm new to this forum and programming microcontrollers. I have programmed some however I'm not an expert, in fact I consider my programming quite dirt. Anyway I have this problem with a PIC16F1718 (I almost know the datasheet from top to bottom) I'm producing a pwm signal for converters. We were asked to control frequency and duty (...)
I have problems reading adc value, I have left justified result and need to read the bit 7 & 6 from ADRESL and save the value into CCP1X and CCP1Y to control the lowest bits of my pwm duty cycle. I have searched in my header file, but cannot find there how I can read the bits from ADRESL, I have been (...)
Hello there could you please help me to handle the variation of pwm signal duty cycle using a potentiometer on RA0 of the 16F1936,I am using assembly and tried multiple time but I failed.please could you help? I want to vary the pwm singal for CCP1,CCP2 and CCP3 of this microcontroller,I want to control (...)
HELLO i make one program in mikroc with 2 undlessloop one for pwm one for adc the program is blocked in 1st loop how can i correct this bug read two undlessloop at the end thanks a lot
I am using LTC1799 IC to generate a sys_clock signal of 1.83200 MHz for my project. In my project i have to use all channels of TIMER 1 and TIMER3 and TIMER0 to generate pwm cycles. Now i need to interface adc128s102 to my microcontroller. This adc runs on SPI protocol and my goal is to (...)
An analog signal generated by pwm at a digital pin can also carry multiple frequencies.
I have to read 8 adc channels. For this I selected simultaneous sampling of 4 channels. But I got the reading greater than the expected value for all channels. Almost 100 digit difference are observed. If I change to sequential sampling by selecting SIMSAM bit 0, I got the correct value. The adc settings are given below adcON1bits.A
If you consider a pwm driver like DRV10x , you can simply drive a transistor switch directly from MCU and get rid of the redundant D/A/D conversion. DRV10x or a direct processor controlled pwm don't provide constant current control, there should be a current feedback. I don't get the particular purpose of the coarse/fine control. (...)
i wrote this code to control proportional solenoid valve with analog input 0-5 v . i made ramp by multiply the input signal by constant k to change the input signal slightly to the final value. but if the signal changed after running the program it can't go into the for loop so i put a condition while (r!=rold) // check if the input changed .but i
I can help with mikroC code because it has pwm library.
hello all, recently i am working on a project that is variable frequency drive. i have to control the speed of a single phase AC induction motor. inverter design which i am following in a full H-bridge circuit containing power mosfets. now i have to generate variable frequency pwm signles using MCU, for that purpose i am using pic18f4431. here is t
I have succesfully done pwm and adc in the past 2 days and now wanted to do pwm interrupts. I have also successfully done external interrupts using INT0. I wrote the following code for pwm duty cycle control and doing A to D conversions within the pwm1 (...)
thanks for that it helps a lot :D and now the motor is running CW and CCW but another problem is that how can i limit the speed of the motor ? i see some people that use arduino uses POT to limit it but how can i use it in PIC ? thanks Speed of bldc is depend on current or voltage of windings. You can cont
Hi, I'd like to build a 3-phase DC to AC inverter that can regulate its output around 230V and frequency 50Hz and can be connected to the grid. I'd like to hear from professional people what is the most powerful microcontroller that can be used ? I am using PIC micro and have been advised to use PIC18F2331 as it contains many (...)
Hi everybody I'm facing some problems with the following code. I'm using dsPIC 30F2010 and clocking it at 128MHz (overclocking 8MHz crystal and 16x PLL). I'm generating a pwm of 100kHz. I want to make the AD conversion start with the special event trigger from the pwm module. The AD conversion is supposed to start when (...)
So I have been looking for the easiest way of going about sending analog signals via an fiber optic cable and one of the ways is to go from analog signal to digital to pwm. I need to have a sampling >= 10 MHz and >= 12bits of precision (Cost is also an issue/ >$1000). So I found this Fiber Link Evaluation board: Part number = 516-2318-ND (...)
micro controller : pic16f7x software : mikro c pic pro my problem is pwm library of mikro c pic do not support low frequency & phase shift but i need 2 pwm pulses of 50hz with 180 degree phase shift with respect to each other . please suggest the simplest idea how to achieve this task ??? i have achieved a single pwm pulse of (...)