Archives

All Posts Tagged Tag: ‘pwm’

L298N Dual-Channel 2A Motor Driver

L298 Banner

I’m working on a new project which has two 12V DC Geared motors. Below are their specifications. Its’ rated current is 410mA but if it is stalled, it requires a whopping 1.8A. Stall current is the highest current that the motor will consume when the load is too much (causing the motor shaft to stop turning). When choosing a suitable …

Read More

Microchip PIC16 / PIC18 PWM Mode

Pic Pwm Banner

This article explains how to set up and use the PWM module on almost all PIC 16 and PIC 18 devices. Depending on the specifications, some PICs may not even have a PWM module at all and some may have 1 or 2 pins that are PWM capable. For this example, I’m using a PIC16F876A which has two PWM modules …

Read More

Arduino + Visual Basic : PWM Control

Vb Pwm Banner

Pulse Width Modulation or PWM allows the microcontroller to mimic analog control by turning the voltage on and off very quickly. The Arduino has an 8 bit PWM built-in, which means it has up to 256 levels of control. ( 2^8 = 256 ). These 256 levels of control actually determines the percentage of the ON duty cycle over the …

Read More