STM32 HAL with CubeMX: Tutorial 11 - LCD16x2 - Updated 2020

Поделиться
HTML-код
  • Опубликовано: 25 июн 2020
  • Library files:
    github.com/MYaqoobEmbedded/ST...

Комментарии • 90

  • @Engineer_Valat
    @Engineer_Valat 4 года назад +7

    Welcome back brother Muhammad, we miss your nice voice and projects..
    But we expect a more professional projects like IoT, Bluetooth, PID etc.

    • @mutexembedded2206
      @mutexembedded2206  4 года назад +1

      I am getting back to RUclips again. Starting with cleaning up some of the mostly reported videos.

    • @Engineer_Valat
      @Engineer_Valat 4 года назад

      @@mutexembedded2206 النظافة من الايمان :-)

  • @Sandeep-li2mn
    @Sandeep-li2mn 4 года назад +2

    nice to see you again thank you for coming back

  • @mohdtanveer9552
    @mohdtanveer9552 4 года назад +2

    Welcome Back to RUclips Mohamed Yaqoob brother!
    Always a pleasure learning from your videos and listening to your wonderful voice.
    It's a humble request to start some professional projects like WiFi, Bluetooth, GSM, Ethernet, CAN, Camera, PID, Interfacing Pressure sensors etc. this time around.
    Thanks a lot!

    • @mohdtanveer9552
      @mohdtanveer9552 3 года назад

      Hello,
      Please make video on STM32 External Memory Control.
      Thanks!!

  • @GodsOnlyMonster
    @GodsOnlyMonster Год назад +1

    Thanks brother, this worked for me, I followed everything exactly as you instructed.

  • @divanbessinger6899
    @divanbessinger6899 2 года назад +1

    I really appreciate this video. I struggled a long time scavenging libraries. Im using a 20x4 display so had some issues but got everything working. Thanks again!

  • @gaborrepasi2729
    @gaborrepasi2729 3 года назад +1

    Finally it works! I've been struggling with this display for a while but the updated driver just works fine. Thank you so much for sharing!!

  • @francoisbotha5211
    @francoisbotha5211 3 года назад +1

    You do amazing work. The best teacher I ever had. Keep up the great work.

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      Thanks for the nice words. Enjoy

    • @heretixseven7732
      @heretixseven7732 3 года назад

      @@mutexembedded2206 Can you do SDADC 16-bit too? For the STM32 F3-series.

  • @swathik.s9115
    @swathik.s9115 3 года назад +1

    Thankyou so much sir. This video helped a lot. Keep going...

  • @eduardodelarosaferrer2205
    @eduardodelarosaferrer2205 4 года назад +3

    Awesome as usual

  • @dineshsundarschannel5317
    @dineshsundarschannel5317 4 года назад +1

    Awesome brother, Thank you

  • @hariharank3161
    @hariharank3161 2 года назад +1

    Hello Mohammed ... Is it possible to make a tutorial on Camera module like OV7670 ...

  • @abdulkadiratik5168
    @abdulkadiratik5168 3 года назад

    Which pin do we connect the rw end on the lcd screen to the stm32?

  • @tomas-crisol
    @tomas-crisol Год назад

    Thanks man! It works great for me!!

  • @techdreamer7754
    @techdreamer7754 2 года назад

    Would lcd work without potentio meter

  • @dreamit2b
    @dreamit2b 2 года назад

    Brilliant tutorial. Thank you.

  • @jaydeepshah2026
    @jaydeepshah2026 3 года назад +1

    Hi, Can you please point to common LCD library ? because it is ok for 16 *2 but what about 20*4 ???

  • @adityabidwai1695
    @adityabidwai1695 3 года назад +1

    How to go in project properties in Keil UVision v4 ?

  • @JSC-4
    @JSC-4 3 года назад +1

    Thank you for this!

  • @luisbmalave
    @luisbmalave 3 года назад

    HI..! How can I use this library to use it on a 20x4 LCD? Please!

  • @dogukanbekirbozdogan7173
    @dogukanbekirbozdogan7173 3 года назад

    Hi, I have done everything you did. Same board, same pinout and same code. But it never writes on 2nd line whats the problem i dont know can you help me? Thanks.

  • @nidhalhaddad9175
    @nidhalhaddad9175 3 года назад +1

    Dear MYaqoop can you teach as how to create a web server using stm32f4 to work on some iot project plzz

  • @srj4555
    @srj4555 4 года назад +3

    DCMI Tutorial please

  • @360digitalgrowth6
    @360digitalgrowth6 3 года назад

    can you please make a video on GUI with stm32

  • @MohamadSayadiFars
    @MohamadSayadiFars 2 года назад +1

    Hello Yagoob. Thank you for the smooth lessening. I have configured the library on my STM Blue Pill exactly as you said but there are not any pulses on the LCD's pins. I need your warm feedback.
    thank you.

    • @mutexembedded2206
      @mutexembedded2206  2 года назад +1

      Hi Moh
      Look at the library .c file, you might need to change TIM2 with another timer, like TIM6

    • @MohamadSayadiFars
      @MohamadSayadiFars 2 года назад +1

      @@mutexembedded2206 Thank you, dear Yaqoob. I owe to you. I finally set up the LCD. you are a great man. You are a generous man.

    • @mutexembedded2206
      @mutexembedded2206  2 года назад

      @@MohamadSayadiFars
      :)

  • @mohamadkhaleel6139
    @mohamadkhaleel6139 2 года назад

    Hello Mohammad
    Many thanks for your effort. very helpful!!!. I believe and have a request that if you make a tutorial for a whole project for us, it will be very good and useful. e.g. an analog sensor, a digital sensor, an I2C sensor... and where you can store the data for 5 minutes on e.g. an EPROM. It's so important because it teaches you how to deal with a lot of sensors. How to organize that. Write individual drivers for each sensor and then use all of them in main.c.
    Please let us know if you would like to do something like this

  • @hann2.033
    @hann2.033 3 года назад +1

    hi sir, may i ask how to send data value to be display on the lcd? for example, i want to take value from my sensor and be display to the lcd instead of directly enter the value from the printf. thank you

  • @parsafaraj8580
    @parsafaraj8580 2 года назад +1

    Hi, would you please tell me how can I download this library from Github? it doesn't have any download link on that website.

  • @ahmetgokhangurbuzer1985
    @ahmetgokhangurbuzer1985 3 года назад +1

    Hello Muhammad Thanks for videos, Could you please provide LIN Bus?

  • @nishkarnaraindath7264
    @nishkarnaraindath7264 4 года назад +2

    Hi, could you please make an iot tutorial on Stm32F4 and esp8266 esp-01? Whereby you can send data from a server or app that can be stored in a variable.

    • @mutexembedded2206
      @mutexembedded2206  4 года назад +1

      Certainly, I am going to share tutorials on that.

    • @nishkarnaraindath7264
      @nishkarnaraindath7264 4 года назад

      MYaqoobEmbedded Thank you for your willingness. It is much appreciated.

  • @mithileshbarasara6031
    @mithileshbarasara6031 3 года назад +1

    Hello brother, i need help...
    When i am using updated lcd lib, my mc is not able to call HAL_GPIO_EXTI_Callback (uint16_t GPIO_Pin) function
    i am using blue pill and cube ide as software

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      What's the link between library and interrupt

    • @mithileshbarasara6031
      @mithileshbarasara6031 3 года назад

      @@mutexembedded2206 please provide me some contact info so that I can send more details about problem

    • @mithileshbarasara6031
      @mithileshbarasara6031 3 года назад

      @@mutexembedded2206 hello, brother I finally found solutions to problem discussed we have to set priorities to external interrupt while using delay..👍

  • @vikasbodake5524
    @vikasbodake5524 3 года назад +1

    Hi
    i am Vikas and now i am learning keil for using stm32 microcontoller. i want to create a function for convert he value in to decimal like
    0x15 will give 21
    0x01 0x65 will give 357
    0x01 0x50 will give 336

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      Use Union:
      Typedef struct nameX
      {
      union
      {
      Uint16 fullValue;
      Uint8 array[2];
      }
      }

  • @kiausiniukova2842
    @kiausiniukova2842 3 года назад

    Hello, I am using STM32G081GBUx mcu and your code seems not to work. I get quite a lot of errors at this function DWT_Delay_Init, errors are that CoreDebug, DWT and DWT_CTRL_CYCCNTENA_Msk are undeclared. Can you help me resolve this problem?

  • @minou0060
    @minou0060 4 года назад +1

    Hello MYaqoobEmbedded
    I love all your videos and explanations on the STM32.
    Your tutorials are great.
    I currently own the STM32F746G Discovery and I program with CubeMX and Keil 5.
    Currently I am stuck on a MIDI-USB project.
    I can't communicate with my computer via the USB port to send and receive MIDI data.
    Can you light my lantern please ?
    I saw that I had to use USB FS and the Audio class.
    But after that, I can't continue my project.
    Thank you for your help.

    • @mutexembedded2206
      @mutexembedded2206  4 года назад

      Hi, this is Mohamed
      Glad you're finding my videos helpful.
      You generally wanna use FS or HS depending on your bandwidth requirement. Then, adjust the USB middleware layer to use Audio.
      This might be a long process.. I haven't done such application before, but I will do it when I try.
      For the time being, do some more USB practice to familiarize yourself with the middleware.

    • @minou0060
      @minou0060 4 года назад

      @@mutexembedded2206 Great.
      But I don't understand to adjust the USB middleware layer to use Audio.
      For now the bandwidth is not too important at the moment (unless I make a sound card a little later).
      In fact, I would like to make my STM32 a MIDI controller to drive a DJ deck like on the link of this video: ruclips.net/video/00E6kYt_Sxk/видео.html&feature=emb_logo
      I have the CDJ deck that I will plug in SPI on the STM32.
      Thanks.

    • @minou0060
      @minou0060 4 года назад

      I found the Github link here: github.com/keshikan/CureMIDI
      But it is for a SMT32F4. As soon as I compile for my STM32F7 I get errors.
      I'm not good with .h and .c files to embed.
      Can you help me see my problem? Either with SW4STM32 or Keil5.
      Thank you.

  • @willyturing1803
    @willyturing1803 3 года назад

    Hi,it's so strange that my comment is disappeared.I thought i'd post it here one more time,i'm here intend to seek for some advice from you professional opinion,my problem is the data is written to the data register corresponding to the pins i connected to the LCD,why there's nothing shows up on LCD?
    Your reply would be really appreciated.Thanks in advance.
    The best.
    --Willy

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      HI Willy,
      I am not too sure, but if you have the correct hardware wiring and clock settings, you should be ok. I suggest you switch to the I2C LCD, I have a video on that too. It is less troublesome with interface

  • @brijeshkhokhar
    @brijeshkhokhar 3 года назад +2

    It works on STM32F103C8, and I changed 4bit mode driver to work with any pin in controller, no need to use same port for data pins.

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      Great!

    • @swathik.s9115
      @swathik.s9115 3 года назад

      Could you please share the code for stm32f103c8 or tell about the changes in the code you did to make it work for this board?

    • @brijeshkhokhar
      @brijeshkhokhar 3 года назад

      @@swathik.s9115 I can share code.

  • @parthshinde5966
    @parthshinde5966 3 года назад +1

    Hello Sir, your series is very helpful for beginner. I'm from India and I want to go ahead in embedded systems , I have been learning STM32F4 Discovery since lockdown. But you have said - Don't use CubeMx, so what should I use to get upto respectable position in Embedded programming.

    • @mutexembedded2206
      @mutexembedded2206  3 года назад +2

      Hi Parth,
      Need to get started without CubeMx if you are looking for long-term success in STM32 programming.
      I will be publishing some Advanced getting started courses with Register Level and HAL, no CubeMX, towards end of December. You can join

    • @parthshinde5966
      @parthshinde5966 3 года назад

      @@mutexembedded2206 Thank you sir. Respect 👍

  • @sadk9390
    @sadk9390 4 года назад +2

    please make tutorial for esp01 web server

  • @farazkhan9665
    @farazkhan9665 4 года назад +1

    sir, can you tell me how to learn embedded system , just like you.

    • @mutexembedded2206
      @mutexembedded2206  4 года назад

      Hi Faraz,
      Program STM32 daily for at least 2 years + Take on the most challenging projects, start getting used to reading very long datasheets and library manuals. Most important of all, Do not use CubeMX!

  • @te1760
    @te1760 3 года назад +2

    hi,it work well. But maybe after a minute, letters shiftng left and letters and numbers mixing each other. How we can solve this?
    thanks in advance

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      Hi Tolga,
      Try increasing write Time Constant.
      You will find it in the library h or c files I believe. Double this number. This stretches LCD pulses, and should fix your problem.

    • @te1760
      @te1760 3 года назад +1

      @@mutexembedded2206 if you mean T_CONST value, i tried many value .But it doesnt help

  • @swathip1461
    @swathip1461 3 года назад

    Where do I find your getting started courses, sir?

    • @mutexembedded2206
      @mutexembedded2206  3 года назад +1

      Hi,
      I have 3 getting started courses, will be released by end of December.
      1) CubeMX based - will be Free on RUclips. 2) HAL library only no CubeMX - on Udemy
      3) Registers level (No HAL nor CubeMX) - on Udemy too.

    • @swathip1461
      @swathip1461 3 года назад

      @@mutexembedded2206 Okay, thank you sir.

    • @swathip1461
      @swathip1461 3 года назад

      Also, Sir, are the courses taught using CubeIDE?

    • @mutexembedded2206
      @mutexembedded2206  3 года назад

      @@swathip1461 yup

    • @swathip1461
      @swathip1461 3 года назад

      @@mutexembedded2206 Sounds great, will surely enroll to your courses. Thank you sir!!!

  • @excite236
    @excite236 2 года назад

    why didnt u use fmc

  • @eldora7908
    @eldora7908 4 года назад +1

    Hi, there is any way to contact you? like an email address? Thank you

    • @mutexembedded2206
      @mutexembedded2206  4 года назад

      Hi,
      You can write me here if it is some question.

    • @eldora7908
      @eldora7908 4 года назад

      @@mutexembedded2206 its about How to implement in a decent way a external interrupt button with debounce, because all I have found is by delying with a loop but I need something non blocking

    • @mutexembedded2206
      @mutexembedded2206  4 года назад

      @@eldora7908 good one, a good way is to mask the interrupt once arrived, then set a flag to be checked by your main, then you can put a little delay in main and re-check input status, by this time denounce will settle and you will get correct reading.
      Then unmask the interrupt and repeat.

  • @Moha20008
    @Moha20008 3 года назад

    Please translate videos to Arabic

  • @Hector-ts2dw
    @Hector-ts2dw 3 года назад

    El pepino estaba bien pero a partir del minuto 2:22 pierde fuerza i argumentos la verdad