Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

25. How to Interface an LCD to an ARM Microcontroller Tutorial – Part 12

6.5K views on YouTube

Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1

I recommend using the STM32CubeIDE:
https://www.st.com/en/development-tools/stm32cubeide.html

You can still download the CoIDE here:
https://sourceforge.net/projects/coide/

Please watch: “Buildyourcnc CNC Router on Love Yurts”
https://www.youtube.com/watch?v=90KkIO-67Qk –~–

In this video, a look at the timing of the LCD is done so we can make sure the LCD is ready for characters to be delivered by the STM32 microcontroller. How to interface an LCD requires that you respect the time the LCD takes to do it’s work internally. The ARM Microcontroller is much faster than the LCD display.

In this video, I am programming for a 16×2 LCD, but an LCD with more lines and characters per line is ok.

● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

You can find the Character Displays on Amazon at the following links (all with the HD44780 controller necessary to use with the tutorial):
16×2 LCD: http://amzn.to/2rbQmvX
20×4 LCD: http://amzn.to/2t0ocFw

These display are also available at http://www.newbiehack.com

● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●

Please consider contributing subtitles in your language to this video: LCD to Arduino
https://www.youtube.com/timedtext_cs_queue

Visit the Newbiehack.com website where you can find the Arduino ARM microcontroller:
http://www.newbiehack.com

Purchase the tools necessary to complete these tutorials:
ARM (STM32) Microcontroller Kits

Equipment that I use to make videos:
Canon EOS Rebel: http://amzn.to/2rJSeh0
Macro Lens: http://amzn.to/2qaSKmK
Microphone: http://amzn.to/2qO2RB4
3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): http://amzn.to/2ruFnSn
The drafting pencil I use on these videos: http://amzn.to/2qioYg2
The cheap oscilloscope that I use (because it’s cheap and will work all of the projects in these tutorials): http://amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: http://amzn.to/2qizK5M
The brand of multimeter that I use and the one I recommend: http://amzn.to/2qicUez

Want to have your own Patreon campaign? https://patreon.com/invite/wpllxz

The way I teach is to understand the fundamentals of production, not Arduino style one-off projects. I urge all Arduino fans that want to develop projects that will be offered to consumers to be production oriented and use the Arduino bare chip to learn how to develop rather than using the Sketch environment and the Arduino boards that contain many passive components that need to be removed during the production development phases.