current control via microcontroller
I have a micro-controller which calculates and decides about the current each minute. Then for one minute the circuit must hold that current constant. Then it should control the current via a buck...
View Articlehow to design high power LED light circuit,
I am new to electronics, want to prototype a LED light with 3 red led, 3 blue led and 3 white led. All the led are 1W high power LED. Each group of color can be controllable respectively and I want to...
View ArticleChange RGB leds intensity?
Sorry if this is too basic but I don’t understand this issue. Right now, using an MCU, I change the RGB colours of an LED strip with 3 PWM signals. All colours works great . The thing is, when I am...
View ArticleWhat's the relationship between ESC pwm input and output?
I’m using ESC(Electronic speed controller) to control outrunner brushless dc motor. As you know ESC detects ppm signal between 1ms and 2 ms approximately. So my ESC detects signal between 4% and 9%...
View ArticlePWM bahaving OPPOSITELY as expected on dsPIC33EP256MC506
The PWM module on my dsPIC33EP256MC506 is behaving opposite as it should. When I set the duty cycle equal to the PWM period i.e. 100%, the duty cycle is treated as 0%. Now I have checked it against the...
View ArticlePWM output pulse variation is not showing in proteus
I want to generate the pulse based on analog input giving to ADC and convert ADC value to PWM signal using LPC2138 ARM processor. I am able to dubug in Keil software in which it works perfectly as I...
View ArticleLED driving with Constant current PWM [closed]
I want to drive 2W LED with constant current PWM . How to do duty cycle calculation to drive 3A current to the load. please help, with regards, Shnakar
View ArticleHow do I tell if my amplifier is voltage-to-voltage, voltage-to-current, etc
I have an amplifier, which is essentially an amplifier and a motor driver in one (link to data sheet), and I’m having an embarrasingly hard time trying to figure out what/how much it is amplifying. I...
View ArticleDriving 5 RGB LEDs using a microcontroller
I need to run 5 differnet rgb LEDs from a microcontroller. All the LEDs will be producing the same color so there will only be 3 separate PWMs (1 for each channel of rgb.) My problem is most...
View ArticlePWM in 8051 with PCA counter
I read in documentation of AT89C51RC2, that I can make one of 5 ports to generate PWM signal if I set properly some registers. Some things I don’t understand. I don’t know what PCA counter is and how...
View ArticleWhat the output isn't correct when I use a switching power supply?
I have a circuit that it is a STM32F103RET6(Reference Manual) board and one LCD. everything work very well just one thing! PWM! when I use my J-Link debugger to supply the circuit(or USB connector),...
View ArticleMotor noise interfering with I2C
I built a robot using the Arduino Due with all the sensors running at 5V over I2C. There is a level shifter on both I2C lines. The motors are controlled using a VNH5019 motor driver carrier from Polulu...
View ArticleNoise with PWM Motor Driving Circuit
I’m using the circuit of this question: Problem with PWM motor driver The problem of the past question is solved using a 1200k resistor and lowering the frequency to 4 Khz: now I have noticed, using an...
View ArticleIntegral cycle (PWM) control of AC voltage input to heater
I’m designing an open loop voltage controller for my water heater element. I’m planning on using a triac and controlling it using integral cycle control. There is no temperature sensor feedback , just...
View ArticleHow do I use 5V PWM from PIC to control 12V fan?
I’m not sure if that title explains it well enough, but I have a 12V PWM PC fan which I want to drive using a 5V PIC. The fan has 4 pins, GND, +12V, PWM and TACH. The TACH is a speed sense pulse from a...
View ArticleProblems with IGBT driving
this is my first question, so please be patient with me The problem is with IGBT we are using, IRG4PC40S datasheet available here> link It has to control a 1kW heat block to keep a temperature at...
View ArticleControlling a servo motor on an LPC2103 microcontroller
I’m still a beginner on deep embedded systems development. I would like to know how to control a servo motor without using PWM, since I didn’t actually learn anything about it on my classes and I’m not...
View ArticleATTiny 841 PWM at 450kHz
I have managed to output 500kHz PWM at 50% duty cycle on PA2 TOCC1 of ATTiny841. DDRA = (1 << PA2);//PA2 pin as an output TOCPMSA0 = (1 << TOCC1S0);//TOCC1 linkage TOCPMCOE = (1 <<...
View ArticleAVR/Arduino: Output 2 pwm waveforms with 90 degree phase shift
So far, I was able to get two outputs at the correct resolution (35kHz-75kHz at a resolution no worse than 0.7 kHz) using the code below. I’m wondering, now, how I can get a phase shift between the two...
View ArticlePIC reset with PWM
I’m using a PIC18F4550 to control a DC motor with PWM. When I use a PWM of above 50% it works well, but when it starts to go below 50% the PIC resets. I have separated supplies for the PIC and the DC...
View Article