App note from Precision Microdrives teaching you ways to drive vibration motors. Link here Using a PWM signal to drive vibration motors can enable high-performance vibration control with relative ease. PWM signals are a common feature in many microcontrollers, and simple programs can adjust their frequency and Duty Cycle. These programs can be used to […]
Tag Archives: PWM
How servo motors work and how to control servos using Arduino
Dejan Nedelkovski over at HowToMechatronics shared detailed tutorial on how servo motors work and how to control servos using Arduino and PCA9685 PWM driver: There are many types of servo motors and their main feature is the ability to precisely control the position of their shaft. A servo motor is a closed-loop system that uses […]
NickelBot – Laser controller
bdring made this laser controller for his wooden nickel engraver project and wrote a post on his blog detailing its assembly: Here are some details on the custom laser controller I made for the NickelBot, wooden nickel engraving machine. I want to use Grbl to control the machine. Grbl has support for lasers that allows […]
App note: Fan speed control is cool!
App note from Maxim Integrated about their MAX6650 and MAX6651 fan controllers chip. Link here (PDF) Temperature-based fan control is a necessity in a growing number of systems, both to reduce system noise and to improve fan reliability. When fan control is augmented by fan-speed monitoring, a speed-control loop can be implemented that is independent […]
4-20 mA current output for Arduino Uno
Giovanni Carrera writes, “The purpose of this project is to provide a 4-20 mA output from a PWM signal generated by a microcontroller ATmega328 and numerous other chips, such as the PIC. One of the more interesting applications of this circuit would be to replace or to realize a smart sensor with Arduino.” More details […]
Fan controller project
Lucky Resistor has written up documentation on his fan controller project: The fan controller described on this project page, controls one or more PWM controlled 12V PC fans. It uses the input from two precise DHT22 based temperature sensors. The MCU is an Arduino Uno, which is powered using a 12V power source. On top […]
An isolated analog output for Arduino Uno
Giovanni Carrera writes: This project completes the series of my articles about the Arduino analog I/O with the aim to use it as a controller of small automation systems. In control systems of the industrial plants it is always advisable to isolate both the inputs and the outputs coming from the field. This prevents disturbances […]
Temperature controlled fan
Lukas Fassler from Soldernerd has written up documentation on his DIY fan controller project: I’m currently mainly working on my new anemometer design but once in a while I get distracted. For example when my Keysight E3645A lab power supply was making so much noise that I could hardly concentrate. That’s when the idea of this fan […]
PWM dimmer for RGB LED
Lukas Fassler has designed and built a PWM dimmer for RGB LED: In my last post I’ve described the design and construction of my LED dimmer project. This project here is similar but a bit more involved. It controls RGB LEDs so it can not only change the brightness but also the color of the light. […]
App note: LED back light driving methods
Using pulse width modulation scheme for LCD back lighting an app note from Hantronix. Link here (PDF) LED back lights on LCD modules are generally driven with a dc voltage through a current limiting resistor. This simple approach is perfectly acceptable for most applications. When the primary consideration is an extra bright display, the lowest […]
PWM dimmer for LED lighting
Lukas Fassler has published a new build, a DIY PWM dimmer for LED lighting: I have recently moved to a new apartment and was looking for a PWM dimmer to control some 12V LED strips. I thought that should be easy enough nowadays but it proved more difficult than I thought. All I found either didn’t meet […]
Generating PWM signals
KF5OBS writes, “In this video I’m showing how to generate a PWM signal that’s behaving proportionally to analog control signal.” Details at KF5OBS’ blog.
DIY PWM to PPM converter for 2.4GHz receiver using Arduino
A DIY PWM to PPM converter using an Arduino Pro Mini from Al Prettybong. Oscar wrote a post on his blog detailing how Al made it: For radio receiver, there are a few output signal formats. The traditional and also most common type of RX signal is the PWM and basically PWM requires 1 cable […]
Simple PWM generator with TR only
Ondřej Karas writes, “One year ago, I published two posts about PWM module driven by IQRF. But there is also another way, how to generate PWM signal from IQRF TR module only. Just simple use PIC peripherals. This post is based on one of Advanced examples, which is part of IQRF Startup Package.” More details […]
App note: Accurate, fast settling analog voltages from digital PWM signals
Accurate, fast settling analog voltages from digital PWM signals, app note from Linear Technology (PDF!): Pulse width modulation (PWM) is a common technique for generating analog voltages from a digital device such as a microcontroller or FPGA. Most microcontrollers have dedicated PWM generation peripherals built in, and it only takes a few lines of RTL […]
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 […]
App note: High-Precision 16-Bit PWM
Technical brief from Microchip on their high-precision 16-Bit PWM modules found on various PIC16 devices. PDF link here The high-precision 16-bit PWM available in various PIC16 devices such as the PIC16F1574, delivers advanced features beyond those found on standard PWM modules. These innovative features allow the user to easily vary phase, duty cycle and offset […]
AVR timer-based one shot explained
Josh writes: Last time, we made one-shot pulses using the AVR’s built in hardware timer module. Today we are going to dive deep into the datasheets to see how this technique is able to coax the normally free-running timer into generating a single pulse. Along the way, we will learn about the low level rules […]
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 […]
PWM Based LED Driver
A followup to the constant current driver for a high power LED post, Elmars writes: If anybody is interesed, I have posed a follow up to this original post with a simple PWM LED driver, adding an 씨벳 ATtiny85 mCU. The post includes schematic, board layout and code for the ATtiny85. I hav tested the circuit […]
