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
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
@@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.
@@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
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 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.
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
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
Sir ccs compiler hum use panunga sir
is there any difficulty in mplab x ide
..? sorry for late reply
@@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.
@@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
@@SMtrainingacademy okay sir here after i will start learn hitech c compiler, thanks a lot sir for your replay.
useful
😊
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?
Can you check the printing section code on lcd
@@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.
@@KamranKhan-co6ox can you share me the code to smtrainingacademy@gmail.com
i will check and tell
@@SMtrainingacademy I've sent you the mail sir. Thank you for your efforts sir...🙏🙏
@@KamranKhan-co6ox No probs man