Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 27564

Pulse-Width Modulation (PWM) is a technique used for controlling the power given to electrical devices. The average power supplied is controlled by rapidly turning the supply on and off. Questions here concern driving PWM outputs from the Raspberry Pi.

3 votes

Lighting a LED slowly with GPIO

To achieve slow dimming or brightening of your LED you will require (as others have posted before) PWM. Introduction to PWM There are primarily two types of modulation software and hardware. … Solution to your query (without having to buy or install anything) The finer your application the more advanced the PWM you need to use, for your purpose (LEDs) the precision required is not too great …
Vishaal Devanaboyina's user avatar
3 votes
1 answer
16k views

How to use pigpio to control a servo motor with a keyboard?

I'm using an RPi 2, a tower Pro Micro servo SG90 and have connected it to the PWM enabled pin 13 (BCM denotation). My servo has not been modified for continuous rotation. …
Vishaal Devanaboyina's user avatar