22- ADC and LCD with MPLAB Code Configurator | MPLAB XC8 for Beginners Tutorial

preview_player
Показать описание
Learn how to use an LCD and read data from PIC ADC super easy with MPLAB Code Configurator (MCC).

Have questions, need assistance or looking for source code? Engage with us and please do not forget to support us with any donation:

#LCD #ADC #MPLABCodeConfigurator #MCC #MicrocontrollersTutorials #MPLABTutorials #StudentCompanionElectronics #PICmicrocontrollerTutorial #GettingStartedMPLABXC8 #MPLABXC8BeginnersTutorial
Рекомендации по теме
Комментарии
Автор

If you found this video useful, please give it a thumbs up 👍 and subscribe to the channel. Also, let me know what topics you want me to cover in future videos by commenting below.
By simply liking the video or a short comment like Thanks, helps this video in YouTube algorithm to be found by others. It helps us a lot.

StudentCompanion
Автор

I can't believe how awesome this video is! Quick, to the point, and complete. Thank you!

dirk
Автор

You sir are truly an amazing educator. Your content is amazing and so helpful, please keep up the good work!

georget
Автор

Very well done. I found this upload in the suggested content that YouTube posted under the official Microchip MPLAB - MCC - ADC setup video using YT mobile app.

Your content is well worth subscribing to, thanks. I hope to get this example working on a little PIC16F1508 development board I etched a few days ago. You've got the easiest tutorial to understand and the best description I've seen of the dozen or so that I have watched about using MCC so far. I added this to my MPLab IDE playlist.

BTW I try to mention I'm not monotized and don't plan to be. As a simple hobbyist, I watch a lot of YT to learn and for interesting educational entertainment. I keep my subscription list public so anyone can see all the sources I've subscribed to over the last few years. It's there if anyone wants to find new sources they may not know about.
I also use my playlists as a form of reference notes instead of personal content promotion. Every time I find something helpful or interesting about a subject here on YT I put it in a categorized Playlist for the general subject. These are publicly listed as well. These lists are mostly intended for my personal reference but they are listed publicly if someone is looking for info about a subject. Sometimes it seems like YouTube search results are heavily biased towards newer monotized content instead of the best reference materials available on any given subject. I don't have anything to gain here, and I only add videos I have watched and truely found helpful. I'm simply trying to make it easier for the next person that might be learning the same stuff that I am.
Thanks for this upload and reference. Happy Friday ;)
-Jake

UpcycleElectronics
Автор

Great tutorial. I was waiting for it. Thanks a lot guys

keshenanaidu
Автор

Gained a lot of knowledge from your video for my final project! Thanks

alanyoung
Автор

We appreciate all your feedback guys. Thank you.

StudentCompanion
Автор

We appreciate all your feedback guys. Keep commenting with your suggestions for future tutorials. Thank you!

StudentCompanion
Автор

Please note: PIC18F26K20 operates with 3.3V even though in this simulation we used 5V. In your calculation and hardware 3.3V should be used

StudentCompanion
Автор

Hello, I can't seem to implement the LCD onto a PIC18F45K22.

I have already re-configured the code configurator (I use the internal oscillator of the 45k22).

Were there any further considerations I had to take when using this particular chip with the LCD Library you provide?

In addition, I get some interesting results when using Proteus to simulate the circuit. The code does not work when using the 18F45k22 component, however it does work when using the 18F2620. I wonder should if that be possible, considering the hex file has been compiled for the k22?

ireadWikipedia
Автор

Hello! Is there a way to use Peripheral libraries with the current version of XC8? (V1.41). I want to make use of XLCD and PWM libraries but I can't. I solved the initial "INCLUDE" problems when I put "#INCLUDE <plib/xlcd.h>" instead of "#INCLUDE <xlcd.h> ", but then when I start using the functions like "OpenLCD()", ecc, in my main code, it gives an error again. The same happens with PWM functions. The PDF User Guide that comes with the peripheral libraries seems to be "out of date", so it is even more confusing. Thanks for your feedback!

DMDSync
Автор

sprint Comand is not working in my code. It gives error. I want to display float variable on LCD but LCD Print Asci COde for that Number.

Please suggest any solution regarding this. Is there any Library which I need to add to make this work?. Or any Other Command to do the same?

mhn
Автор

HI, thanks for video.
I have installed LCD library but I can not find these 2 files, how should i add them?

islombekmamatov
Автор

when i run this code it has numerous complaints i just want a hello world lcd example for my pic16f690
here are some of the complaints
lcd.h:160: error: (372) ", " expected
lcd.h:160: warning: (349) non-prototyped function declaration for "LCDPutCmd"
lcd.h:160: error: (313) function body expected
lcd.h:218: error: (372) ", " expected
lcd.h:218: error: (278) argument "uint8_t" redeclared


please what do you suggest

jaguarpaw
Автор

Hello Sir, I'm trying to simulate your example in this video with the same code and scheme, but for some reason when i simulate the lcd glows but it doens't show any characters. What could be the problem?

huntexamv
Автор

1:33 I don't have the option to link the peripheral libraries ..tried reading the comments didn't find anyone with a similar case

NgceboZuluYCSR
Автор

Hi thanks for the video, really helpful. I'm not being able to display decimals on the LCD. I am running my project with a real HD44780 display and a PIC18F45K22. I've tried changing the "%.3g" for "%.3f" in the sprintf() function to see what happens and just got .000 all the time, with one digit on the left of the comma varying from 0 to 5 depending on the input to ADC. Could you please help me with this?

albertoc
Автор

Hello, thanks for your video. I have a question, I'm using the XC16 compiler, do I have to install the peripherals plugin still? If so, do I have to follow the video to obtain those same results? Thanks in advance. Pd: I'm using the PIC24FJ64GB002.

sergioarango
Автор

hello Student Companion, i want to tell you as first thank you very much for all your tutorial. it´s very helfull.so i have a Problem: i want to programming my 2x16 LCD with PIC16F1937 used MCC please can you help me how i can do that? course in you tutorial you used another pic and installed a new library (PIC18F Legacy Peripheral Libraries v2.0 - Windows)i thank you in advance for your help.great

hosanalove
Автор

Hello, I'm glad you have did everything in MCC Code Compiler. So, I am new in MPLAB X and since one week until now I've tried to simulate that, but in the "Device Resources" menu ADC I am not able to Generate (button) and I cannot install that old version of CodeComp. The software called me to install the last version of MPLAB X when I try to use older versions of MPLAB X and try to Download it. Should you help, or the MCC Generated Files is something I cannot create in the new versions?

firecasts
welcome to shbcf.ru