ADC register configuration for PIC16F877A microcontroller

  Рет қаралды 9,939

SM training academy

SM training academy

Күн бұрын

Пікірлер: 15
@Toturials
@Toturials 2 жыл бұрын
Hi thanks for the nice videos, I have A question Please, in this Microcontroller Controller Analog Output Can be Configure? for example if need to open a actuator valve 0-100% with respect to(0-5V) how to achieve this. Thanks
@SMtrainingacademy
@SMtrainingacademy 2 жыл бұрын
No analog output is not available in this microcontroller you can use external analog output ic's like mcp4921 (DAC IC) with this microcontroller for achieving the voltage what you want
@KamranKhan-co6ox
@KamranKhan-co6ox 3 жыл бұрын
Sir I followed the video and coded the ADC module without using interrupt, that is using the go/done bit. In Proteus software I used potentiometer (5v and GND) to get values from 0 to 1023. But I've a problem, it works fine till 1023 but then when I decrease the resistance it starts showing 9990 instead of 999 and so on. An extra 0 is getting added to all valued below 1000. Any idead why that could be happening?
@SMtrainingacademy
@SMtrainingacademy 3 жыл бұрын
Can you check the printing section code on lcd
@KamranKhan-co6ox
@KamranKhan-co6ox 3 жыл бұрын
@@SMtrainingacademy I followed your method to get adresh:adresl value to an integer variable. Then I send that value to a function which separates the variable bit by bit using modulo/divide and display it to the LCD. I know there's a minor issue in printing but it happens only when the value goes below 1000. For eg it shows proper from 0-1023 full range but when I decrease below 1000 it adds an extra zero.
@SMtrainingacademy
@SMtrainingacademy 3 жыл бұрын
@@KamranKhan-co6ox can you share me the code to smtrainingacademy@gmail.com i will check and tell
@KamranKhan-co6ox
@KamranKhan-co6ox 3 жыл бұрын
@@SMtrainingacademy I've sent you the mail sir. Thank you for your efforts sir...🙏🙏
@SMtrainingacademy
@SMtrainingacademy 3 жыл бұрын
@@KamranKhan-co6ox No probs man
@jaikrish50
@jaikrish50 2 жыл бұрын
Sir ccs compiler hum use panunga sir
@SMtrainingacademy
@SMtrainingacademy 2 жыл бұрын
is there any difficulty in mplab x ide ..? sorry for late reply
@jaikrish50
@jaikrish50 2 жыл бұрын
@@SMtrainingacademy no sir but im started learn in ccs compiler in a year ago so im little bit confused which compiler should i go to learn in depth either ccs or mplab or hi tech c.
@SMtrainingacademy
@SMtrainingacademy 2 жыл бұрын
@@jaikrish50 you can learn anyone but according to my suggestion mplab x would be more advanced one as it is the latest one from the microchip although i have thought you almost everything you need in mplab xc8 and hitech C
@jaikrish50
@jaikrish50 2 жыл бұрын
@@SMtrainingacademy okay sir here after i will start learn hitech c compiler, thanks a lot sir for your replay.
@kaushikjames5623
@kaushikjames5623 2 жыл бұрын
useful
@SMtrainingacademy
@SMtrainingacademy 2 жыл бұрын
😊
Building digital thermometer (LM35) using PIC16F877A microcontroller
14:25
SM training academy
Рет қаралды 7 М.
Interfacing 16x2 LCD with PIC16F877A microcontroller
15:01
SM training academy
Рет қаралды 27 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 49 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 31 МЛН
Eclairage Commandé à Distance et Centralisé
22:17
Felix la Débrouille
Рет қаралды 2
PWM Register configuration for  PIC16F877A microcontroller
6:07
SM training academy
Рет қаралды 12 М.
ADC module working principle explained
12:35
SM training academy
Рет қаралды 12 М.
GPIO Register Configuration for PIC16F877A microcontroller
8:19
SM training academy
Рет қаралды 20 М.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 664 М.
What Actually is Embedded C/C++? Is it different from C/C++?
11:05
Jacob Sorber
Рет қаралды 152 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 49 МЛН