Tag Archives: PWM

Simple Infrared PWM on Arduino, Part 3


The crew from AnalysIR has written up an article on Simple Infrared PWM on Arduino. If you missed part 1 and part 2, be sure to check it out.:

In Part 1 of this series, we demonstrated how to send signals using soft or Simple Infrared PWM on Arduino. In our Part 2 post we looked at sending RAW IR signals – specifically a RAW NEC signal and a longer RAW Mitsubishi Air Conditioner signal using soft PWM. We have since improved the PWM method shown in Part 1 & Part 2 to provide better performance and improve portability. In this Part 3, we will take the signals from Part 2 and show how to send them using their binary (or Hex) representation, which can save lots of SRAM in many projects, particularly when dealing with longer AC signals.

Simple Infrared PWM on Arduino, Part 3 – [Link]

50,000V High Voltage Power Supply


by Victor8o5 @ instructables.com:

This high voltage power supply has been designed to output a fixed voltage of around 50kV, it could easily be converted to an adjustable supply by connecting a variac in case of using transformers or by adding some extra circuitry to regulate the power going in. I initially thought about a high frequency PWM to regulate the power going into the capacitors, but I abandoned the idea. I found that adjusting the frequency is enough to make the voltage vary by a significant amount, allowing some control over it, this happens because the flyback must operate at a certain frequency in order to maximize the output.

50,000V High Voltage Power Supply – [Link]

UC3844 base motor speed controller


Dilshan Jayakody writes:

UC3844 is popular current mode controller which is commonly found on DC-to-DC converter circuits and switch mode power supplies. This motor speed controller is also based on UC3844 and it is specifically design to drive 20V – 24V DC motors.

In this given configuration UC3844 produces (approx.) 50kHz to 240kHz PWM output and this range can be adjust by changing the value of C2 timing capacitor. As per the datasheet UC3844 is capable to produce PWM output frequency up to 1MHz.

UC3844 base motor speed controller – [Link]

60V LED Driver with Internal 4A Switch & PWM Generator


The LT3952 is a current mode step-up DC/DC converter with an internal 60 V, 4 A DMOS power switch. It is specifically designed by Linear Technology to drive high power LEDs in multiple configurations. It combines input and output current regulation loops with output voltage regulation to operate as a flexible current/voltage source. The LT3952’s 3 V to 42 V input voltage range makes it ideal for a wide variety of applications, including automotive, industrial and architectural lighting.

60V LED Driver with Internal 4A Switch & PWM Generator – [Link]

Simple Infrared PWM on Arduino


by analysir.com:

We are often asked on discussion boards, about conflicts between IRremote or IRLib and other Arduino Libraries. In this post, we present a sketch for ‘Simple Infrared PWM on Arduino’. This is the first part in a 3 part series of posts. Part 1 shows how to generate the simple Infrared carrier frequency on Arduino, using any available IO pin and without conflicting with other libraries. Part 2 will show how to send a RAW infrared signal using this approach and Part 3 will show how to send a common NEC signal from the binary or HEX value.

Simple Infrared PWM on Arduino – [Link]

Power playground project


Spacewrench over at Dorkbotpdx published a new build, a Power Playground project:

It’s a PMOS/NMOS H-Bridge with FETs that can handle 3 amps or so, plus a SPI current sensor, some switches & a rotary encoder (not stuffed yet), and a 7-segment display, all controlled by a Teensy-3.1 running FreeRTOS.

I made this because I’m always running into battery, power, inductor and transformer issues I don’t have any experience with. The idea is to use the H-bridge configuration and current sensors to experiment with moderate-current PWM, motor control, power-line synchronization, battery charging and discharging, etc.


Power playground project – [Link]

Rohm H-Bridge Evaluation Board

This evaluation board has been developed for ROHM’s H-Bridge driver customers evaluating the BD62x2FP series. The BD62x2FP series can operate across a wide range of power supply voltages (from 3V to 32V max), supporting output currents of up to 2A. PWM signal control (20 kHz-100 kHz) or VREF control modes are used to vary motor rotation speeds.  ROHM’s ICs are complete with over current protection (OCP), over voltage protection (OVP), thermal shutdown (TSD) and under voltage lock-out (UVLO) protection circuits while also facilitating a low-power consumption design (10μA max).

Rohm H-Bridge Evaluation Board – [Link]

Arduino MPPT Solar Charge Controller v3


by deba168 @ instructables.com:

Welcome to my solar charge controller tutorials series.I have posted two version of my PWM charge controller.If you are new to this please refer my earlier tutorial for understanding the basics of charge controller.

This instructable will cover a project build for a Arduino based Solar MPPT charge controller.

Now a days the most advance solar charge controller available in the market is Maximum Power Point Tracking (MPPT).The MPPT controller is more sophisticated and more expensive.It has several advantages over the earlier charge controller.It is 30 to 40 % more efficient at low temperature.

But making a MPPT charge controller is little bit complex in compare to PWM charge controller.It require some basic knowledge of power electronics. I put a lot of effort to make it simple, so that any one can understand it easily.If you are aware about the basics of MPPT charge controller then skip the first few steps.

Arduino MPPT Solar Charge Controller v3 – [Link]

Driving a DC motor using PWM with AVR ATmega


Davide Gironi writes:

The PWM frequency have to be selected in the way that the switch frequency is much higher than the dynamics of the motor.
To avoid noise from the motor, the choosen PWM frequency is 20Khz. Which is a know to know frequency.
So, with this one, you can drive up to 4 motors independently controlling:
*slow start / stop
Setup parameters are contained in dcmotorpwm.h

This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 8MHz.


Driving a DC motor using PWM with AVR ATmega – [Link]