1. abcmann

    Creating a PWM-signal that works properly

    Hello guys, I am currently working with a mircocontroller for the first time. My goal is to achieve a PWM-signal (1kHz). While trying to generate the signal I encountered the problem that my signal seems to be moving horizontal due to inconsistancy in time up to 100 µs. The goal was to...
  2. H

    Controlling DC Current using PWM, but no pulsed output

    Hi. I'm pretty new to this stuff and theres a good chance something like this already exists but I just don't know the name of it. I have a big power supply capable of supplying a LOT of 12V DC current, and I'm looking for a way to control the output current using a PWM signal, but the output...
  3. Younes Thabet

    Can I2C and PWM be in the same connector?

    Hello all, I have a daughter board that resides about 1m far from main board, this daughter board contains buzzer and some ICs. I am already worried that I2C won't work properly over this long distance and now that I added PWM, I am afraid that will disturb I2C and lose connection between the 2...
  4. O

    Motor control 180VDC 2HP, 9.6 AMP. Currently 1 part is being burned up. If anyone has any ideas I would be so thankful.

    For reference, I have included the full schematic as an attachment and the board layout for reference. The general theory of operation: I have a Rasberry pi to act as a UI and the pi is connected to an Arduino via USB serial connector. The Ardunio sits on the board as a hat and this works...
  5. Mariachi

    PWM using 555

    I want to make a pwm generator with variable frequency. I notice that the capacitor is charged through R1, but the discharge? I don't know with what formula the duty cycle can be calculated in this case. Thanks!
  6. E

    PWM configuration with Timer2

    i want to use pwm in my project. I am using pic16f18875 controller and xc8 compiler. i have configured the pwm and i was configuring timer 2 for that. But i am not getting the pwm output. I am trying to understand the use of register TxRST in timer.I want to understand the use of TxRST...
  7. youtubeuni

    Convert PWM to DC 12v output for LED brake lights

    My buddy and I have been working on a project for the last 2 years, its a PCB board with 79 LEDs and built-in microcontroller taillights. We can controll every aspect of them... but we've hit a snag when it comes to power. The Volvo C30 uses PWM to send signals to the taillights. This needs to...
  8. E

    MOSFET gate , offset PWM questions

    Hello! A little about me , i haven't formally studied electronics, i do not own or have access to an oscilloscope. I have been researching about MOSFETs to use an IRLZ44N as a switch in a basic boost converter, on the IRLZ44N datasheet Vgs(th) = 1v to 2v, as i undertand this Vgs(th) is the V...
  9. Prajeet Anand

    PWM read with ADC stm8

    I want to read PWM signal with an A/D converter. Is it reliable to take 100 samples of adc data and average it out.Im still seeing some spurious values in-between my captured data. What would be a reliable way to acquire precise output?
  10. P

    Duty Cycle Calculation

    I am trying to solve a numerical where the Speed of a DC motor operating at 15V was measured to be 2000 rad/sec. Now a PWM signal is applied to the same motor to get a speed of 400 rad/sec. If the voltage amplitude of the PWM signal is 5V, then what should be the value of duty cycle? I know the...
  11. J

    Designing a stable and self-regulated halogen light source

    Need Statement (Not a lot of experience with power electronics, apologies). I need to power a low-voltage halogen lamp (OSRAM 64328 HLX, 65W, Nominal voltage 9.8V, 6.6A) with a 230V AC source. Additionally, I need to have the capability to digitally control the powering of this lamp, which I...
  12. M

    LTspice - Take Voltage and Convert to PWM

    Hi, In LTspice, I have a voltage. I want to convert it to a PWM. This is only for LTspice - it doesn't have to be a something that can be realised. Tperiod is 10ms. So if the measured voltage is 2.3V, and my reference is 3.3V, then I want a PWM to have a duty of 69% (2.3V/3.3V). So Ton 6.9ms...
  13. M

    Using an Opto to Control a Current Source to Create a Voltage Input

    Hi, I am using an FL5150 IC, that has a control pin ('dim') with a 10uA current source on it. Their datasheet shows a variable resistor 0-250k which creates a voltage of 0-2.5V. I want to drive/control this using an isolated PWM signal. I've simulated many circuits using the Vdd pin...
  14. Kadav

    Is it possible to control the Output of a motor using PWM ?

    Hello i am trying to create a PID system with arduino and motor and im trying to varry the motor speed as the PV reaches the setpoint.... So the power comes from the arduino (replaced the arduino by a POT for demonstration purposes )and goes to the gate of a MOSFET , but i thaught the MOSFET...
  15. S

    5v dc to 12v dc pwm design (automotive application)

    Hi guys I hope you can help I am by no means an electrical designer but I have a problem and are looking for a solution. I am trying to convert a variable 5v pulse into a rotation of around a max 2000rpm (12v motor) I’ve done some researching and a pulse width modulator maybe the way to go...
  16. Y

    Stepper motor braking - need to understand!

    A pal of mine has cobbled together a stepper motor, motor drive controller PWM generator (MKS OSC) & st-4045-a1 stepper motor driver. He can make it go back and forth but he's unable to make it brake or freewheel. From some things I've seen, it appears (based on my probably incorrect...
  17. C

    How is PWM implemented in Field Oriented Control (FOC) ?

    Hi everyone, I am trying to understand and implement FOC algorithm in MATLAB for a PMSM. I understand we are converting the 3 phase stator currents into 2 time-invariant stator currents: (direct and quadrature currents or Id and Iq, respectively). But I do not unsderstand how PWM is applied...
  18. R

    Variable PWM generator

    I need help with setting up pwm generator with variable frequency and duty cycle from around 10 Hz to 150 kHz, with important parameter of time 20 ns or less for the shortest pulse width. What kind of IC can i use in completing such circuit (not 555).< My profesor suggested using CD4538 IC >
  19. D

    5V PWM to 12V analog for lighting control. Arduino

    Hey, so I've got to build the circuit to output the signal specified below I've currently got an Arduino UNO and I have written the code to output this. however, I can only put out 5v from my Arduino and the circuit requires 12V and 10V output, being able to switch between12 and 0v incredibly...
  20. G

    HW Interface to detect Radio Control Receiver PWM signal

    I am using an Arduino Pro Mini to detect a PWM signal from a radio control receiver. The input pin on the Arduino is supposed to be limited to 20mA current with a max current of 40mA. I plan on using a 220 ohm resistor in the circuit. Do I need a .1uF cap to ground (and what kind of cap)...