USB to LCD converter with STM32F0

A great electronic, Marko, did a nice project to show, how STM32F070 in 20-pin footprint can be used with USB and LCD. For 20-pin this MCU is very powerful with his 48MHz and USB with some other peripherals.

PCB for LCD converter

For hardware specification, including schematics and PCB top layer for toner transfer, you can check an original link, posted at the end of this post.

Software part includes some my libraries and a CubeMX based implementation for USB CDC mode which can be used as Virtual COM Port on your computer. Data sent to this port are later displayed on LCD.


For more info and all download links, check original post.



Owner of this site. Also electronic enthusiasts, web developer, 3D printer fan, handball player and more. Big fan of STM32F4 devices. In anticipation of the new Discovery board for STM32F7 lines.

You may also like...

Read before commenting!

Before you make a new comment, make sure you agree with things listed below:

  • - Read post to make sure if it is already posted what you are asking for,
  • - Make sure you have the latest version of libraries used in your project,
  • - Make a clean and grammatically correct written message,
  • - Report as many details as possible, including what have you done so far,
  • - Do NOT post any code here. Use Pastebin,
  • - Do NOT post any error codes here. Use Pastebin,
  • - Specify STM32Fxxx family and used Discovery/EVAL/Nucleo or custom made board,
  • - Make sure your clock is set correct for PLL,
  • - If you are using my HAL drivers, please check this post how to start.
Comment will be deleted on breaking these rules without notification!
  • Murtaz Naqvi

    Are you planing to make a library for esp8266?

    • Currently not. But you can do it 🙂

      • Murtaz Naqvi

        Thanks for replay

        • What about “you can do it” part? 😉

          • Murtaz Naqvi

            I will try can u plz give me some basic idea

  • Brent

    I am new ST microcontrollers but have used others in the past. I see you used a crystal for the microcontroller? Was that necessary. Could you have used no crystal at all? I’m looking to make a hobby project with an STM32 using USB and am wondering if I can get away without stuffing any crystal at all.


    • YOu can use it without cystal if you want, but keep in mind. Internal RC oscillator is not accurate and may be less or greater than expected value. This leads to incorrect PLL setup and incorrect USB clock and your device won’t be recognized by PC or it will be and enumeration will fail.