ADC Archives - electroSome https://electrosome.com/topic-tag/adc/ You Inspire.....We Create..... Fri, 21 Dec 2018 11:46:24 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 adc not working on hardware but works on proteus https://electrosome.com/topic/adc-not-working-on-hardware-but-works-on-proteus/ Thu, 20 Dec 2018 12:31:32 +0000 https://electrosome.com/topic/adc-not-working-on-hardware-but-works-on-proteus/ I’m doing ADC with PIC 18F46K22, 16×2 lcd, LM3 temperature sensor, 20 MHz oscillator, MPLAB XC8 and PicKit3 programmer. I can do the generate the hex file and simulate it on Proteus and it works fine, but on hardware it doesn’t work. The LCD is switched on, but doesn’t display the analog value. I wrote a small […]

The post adc not working on hardware but works on proteus appeared first on electroSome.

]]>
Convert an analog audio signal to digital with a PIC https://electrosome.com/topic/convert-an-analog-audio-signal-to-digital-with-a-pic/ Mon, 10 Apr 2017 14:09:02 +0000 https://electrosome.com/topic/convert-an-analog-audio-signal-to-digital-with-a-pic/ Convert an analog audio signal to digital with a PIC and send the data through serial to a blutooth Module HC05 or HC06 I want to convert an analog audio signal to digital signal and send it to serial input in blutooth Module. How can I do this? Microcontroller used: PIC18f452 regard

The post Convert an analog audio signal to digital with a PIC 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.

]]>
Handling interrupts – ADC https://electrosome.com/topic/adc-handling-interrupts/ Thu, 14 Jan 2016 10:53:44 +0000 https://electrosome.com/topic/handling-interrupts/ Dear Sir, My requirement is that, adc program should run all the time giving result without the intervention of the main program and if adc value goes below a particular limit, some action should be performed in background. At the same time uart sending, receiving and other tasks should run as main program ie. at the […]

The post Handling interrupts – ADC 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.

]]>