PWM Archives - electroSome https://electrosome.com/topic-tag/pwm/ You Inspire.....We Create..... Sun, 02 Apr 2017 15:39:43 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 Using Keypad to Control the Speed and Direction of DC Motor https://electrosome.com/topic/keypad-control-speed-direction-dc-motor/ Wed, 15 Mar 2017 04:26:21 +0000 https://electrosome.com/topic/using-keypad-to-control-the-speed-and-direction-of-dc-motor/ Hi, I’m presently working on a project based on tutorials Interfacing DC Motor with PIC Microcontroller and DC Motor Speed Control using PWM. I need some help to modify the code so that a keypad can control both the speed and direction of the DC Motor. Thanks for always helping. Hammed.

The post Using Keypad to Control the Speed and Direction of DC Motor appeared first on electroSome.

]]>
Using Capture and Compare mode together – PIC 12F1840 https://electrosome.com/topic/capture-compare-pwm-pic-12f1840/ Thu, 02 Feb 2017 10:37:04 +0000 https://electrosome.com/topic/use-capture-and-compare-mode-in-pic12f1840/ Hello, I am working on PIC 12F1840 and MPLABX IDE 3.35 . I have written a code for reading PWM pulse width at one pin and writing that value to another PWM pin. But, at the time of simulation in logic analyzer output PWM pulse is not continuous. Is it a correct way to use […]

The post Using Capture and Compare mode together – PIC 12F1840 appeared first on electroSome.

]]>
PWM width controlling on PIC12F1840 according to ADC input https://electrosome.com/topic/pwm-width-controlling-on-pic12f1840-according-to-adc-input/ Tue, 27 Dec 2016 11:29:03 +0000 https://electrosome.com/topic/pwm-width-controlling-on-pic12f1840-according-to-adc-input/ Hello, I am new to PIC programming. I am trying to read 2 ADC inputs and according to that controlling the width of PWM (20kHz) using PIC12F1840 (internal oscillator with 4MHz freq). My code is not working, it is attached. can anyone guide me? thanks, Gitanjali  

The post PWM width controlling on PIC12F1840 according to ADC input appeared first on electroSome.

]]>
DC Motor PWM Speed Control with Ultrasonic Distance https://electrosome.com/topic/dc-motor-speed-ultrasonic-distance-hc-sr04-pic/ Tue, 15 Mar 2016 03:28:16 +0000 https://electrosome.com/topic/ultrasonic-control-dc-motor-by-using-pwm-and-trigger-by-switch-with-pic16f877a/ hi and good day to you, i am working on pic16f877a , have interfaced push-button to trigger the ultrasonic sensor hc-sr04 and the range will control the motor speed by using the pwm function. i am very new to the programming mikroC and i really hope you can guide me. As now i just learn […]

The post DC Motor PWM Speed Control with Ultrasonic Distance appeared first on electroSome.

]]>
DC Motor speed control using PWM with PIC https://electrosome.com/topic/dc-motor-speed-control-using-pwm-with-pic/ Thu, 04 Feb 2016 17:49:49 +0000 https://electrosome.com/topic/dc-motor-speed-control-using-pwm-with-pic/ I wondered if you can please assist me with something. I came upon your article about the dc motor speed control. I am trying to do the same but what i want to achieve is when the push button is pressed the motor must turn clockwise but at a speed of 1000 rpm and when […]

The post DC Motor speed control using PWM with PIC appeared first on electroSome.

]]>
PWM using PIC12F1572 https://electrosome.com/topic/pwm-using-pic12f1572/ Fri, 13 Nov 2015 19:51:49 +0000 https://electrosome.com/topic/pic12f1572/ I’m newbie in using PIC , I want to use PWM’s  of PIC12F1572. Can anyone help me out in knowing programming software used to program this pic controller?? Also,any source you can provide for its programming in c

The post PWM using PIC12F1572 appeared first on electroSome.

]]>
Using PWM and ADC at the same time https://electrosome.com/topic/using-pwm-and-adc-at-the-same-time/ Tue, 15 Sep 2015 09:35:36 +0000 https://electrosome.com/topic/using-pwm-and-adc-at-the-same-time/ Hello, I am new to PIC Microcontrollers, but have gone through all the tutorials.  I can write codes on my own for PWM and ADC seperately. But when I try to use both at the same time I don’t get any output signal at CCP1 *checked with Proteus also* I am trying to use 2 […]

The post Using PWM and ADC at the same time appeared first on electroSome.

]]>
Delay in PWM https://electrosome.com/topic/delay-in-pwm/ Thu, 09 Jul 2015 05:33:57 +0000 https://electrosome.com/topic/delay-in-pwm/ Hi, I wanted to generate two PWM waves using PIC16f877A. the second wave should have a delay of 10uS from the first one. can you tell me how to do this. Also can we generate 4 waves simultaneously using PIC 16f877A?

The post Delay in PWM appeared first on electroSome.

]]>
PWM LED Chaser Programming with PIC Microcontroller https://electrosome.com/topic/pwm-led-chaser-pic/ Sat, 04 Jul 2015 03:22:45 +0000 https://electrosome.com/topic/i-want-to-shift-to-ab-port-with-pwm-night-rider-shadow-led-programe/ I would like to make a PWM LED light system, with PORTA & PORTB of 16F628A. I want to shift to A+B Port with pwm night rider shadow LED program void main() { CMCON = 0x07; // To turn off comparators ADCON1 =0x06; //Turne off adc TRISB = 0x00; // Sets all pins in PORTB as […]

The post PWM LED Chaser Programming with PIC Microcontroller appeared first on electroSome.

]]>
Microsecond variable Delay in MikroC https://electrosome.com/topic/microsecond-variable-delay-in-mikroc/ Fri, 17 Apr 2015 10:15:25 +0000 https://electrosome.com/topic/microsecond-variable-delay-in-mikroc/ How to create “us” variable delay in MikroC

The post Microsecond variable Delay in MikroC appeared first on electroSome.

]]>