STM32 Bits: LCDs with Ucglib (ST7735)

Sdílet
Vložit

Komentáře • 30

  • @demidontknow
    @demidontknow Před 5 lety +1

    I saw a principia video u made like 5 years ago and now ur a electronic pro. that's amazing

    • @CalebMarting
      @CalebMarting  Před 5 lety +1

      Definitely not a pro, but I try. Thank you

  • @MarkG0MGX
    @MarkG0MGX Před 4 lety +1

    Thank you :-)

  • @rompipelotas
    @rompipelotas Před 4 lety +1

    i am using a bluepill and it does not work ??

  • @tebunia
    @tebunia Před 5 lety +1

    Thank you.

  • @mvvs35
    @mvvs35 Před 3 lety

    Thank you !!!!

  • @eldontyrellcorp8084
    @eldontyrellcorp8084 Před 4 lety

    Hello ! Do you have a schematics with the pinout ?
    I cannot get my screen to work with the STM32, I just have a blank screen
    Thanks !

    • @CalebMarting
      @CalebMarting  Před 4 lety

      This worked with the Roger Clark Melbourne core, if you're using the STM32duino core this may not work, I haven't tested

  • @wegi9621
    @wegi9621 Před 5 lety

    I didn't check DS of this display but maybe instead serial data transfer would it be better do it parallely ? It could be disable interlace. Anyway great job mate. Subscribed you.
    I find tut how running any ARM from clear assembler. Very hard to find and even any eclipse doesn't have "make ASM project" option - just like it was impossible LOL

    • @CalebMarting
      @CalebMarting  Před 5 lety

      Yeah I just managed to get this working and threw it out there for others to see so it's not perfect

  • @rompipelotas
    @rompipelotas Před 4 lety

    I followed your instructions but ... when I fill in an example file .......... Error during compilation for the Generic STM32F103C series card ??? what can I do??

    • @CalebMarting
      @CalebMarting  Před 4 lety

      I'm not sure, this video is pretty old. What version of the STM32 core are you using, what version of the ucglib lib? Sorry the STM32 Arduino space has been changing pretty fast

    • @rompipelotas
      @rompipelotas Před 4 lety +1

      thanks...STM32F103 64/128k .....the last version of ucglib library ..ver 1.52..........but for now I have arranged with this library ...(github.com/cbm80amiga/Arduino_ST7735_STM)......he's a good guy!
      Good job everyone!!!

  • @brianharper9798
    @brianharper9798 Před 4 lety

    Hi Caleb, just picked up a couple of STM32's and trying to reproduce what you have done here. I seem to be having an issue compiling but I just can't see what I'm doing wrong. Coppied the instructions as above but get this error.
    C:\Users\user\Documents\Arduino\libraries\Ucglib\src\Ucglib.cpp: In function 'void ucg_com_arduino_send_8bit(ucg_t*, uint8_t)':
    C:\Users\user\Documents\Arduino\libraries\Ucglib\src\Ucglib.cpp:840:3: error: '__NOP' was not declared in this scope
    840 | __NOP;
    | ^~~~~
    exit status 1
    Error compiling for board Generic STM32F1 series.
    I've been through it a number of times but just can't see what I have wrong.
    Any help would be great. Thanks....

    • @CalebMarting
      @CalebMarting  Před 4 lety +1

      Unfortunately this video is pretty old and libraries and stuff may have changed. This was also with the Roger Clarke core and not the STM32duino core. However, library support is growing and other libraries may work out of the box with stm32duino or Roger Clarke Melbourne's core, I would shop around a little bit and let me know if you find anything! You can also join the STM32 discord for help and keeping us updated

    • @brianharper9798
      @brianharper9798 Před 4 lety

      Thanks I'll have a look around, That's a shame as I was using the Ucglib in a nano based project, would have been really easy to transfer to the Stm. Thanks again.

  • @estevaop.7855
    @estevaop.7855 Před 3 lety

    Thank you! You help me very much, in special with respect to the pinout labels... Unfortunelly, only "hello world" skecth run from the library ucglib. I getting error in compilation...

    • @CalebMarting
      @CalebMarting  Před 3 lety

      I made this video a long time ago, it's entirely possible something's changed in the code. Try to see what file/line number is causing the error and it might have an obvious fix. Let me know!

  • @bodzio_stawski187
    @bodzio_stawski187 Před 4 lety

    Hello, how to connect SD card (pinout) to STM32 and to the display at the same time?:)

    • @CalebMarting
      @CalebMarting  Před 4 lety +1

      You can use multiple spi outs or use the cs (chip select) to choose what you are sending data to. If your display is I2C though you don't have to worry

    • @bodzio_stawski187
      @bodzio_stawski187 Před 4 lety

      @@CalebMarting Thank you for the answer:) First option (multiple spi outs) sound easy, but what if we use the second option with CS? Does this mean that ywe can connect two slaves to one SPI interface in the microcontroller?

    • @CalebMarting
      @CalebMarting  Před 4 lety +1

      www.learningaboutelectronics.com/Articles/Multiple-SPI-devices-to-an-arduino-microcontroller.php yes you can connect multiple slaves to the same controller! Basically by using chip select you can turn one on and the rest off. I think that article slightly explains it.

    • @bodzio_stawski187
      @bodzio_stawski187 Před 4 lety

      @@CalebMarting Thank you!:) Now I understand that MOSI/MISO/SCK pins can be common for both slaves and that CS pin must be separate. But I can't imagine why the second pin is some other pin (D9), while the first is the nominal CS. Do you know why this happens?: C

    • @CalebMarting
      @CalebMarting  Před 4 lety +1

      I'm guessing nominal Cs is just the default. But it isn't really sending data so can be any gpio

  • @kittapojletliddacha9539

    Thank you

  • @dexodus626
    @dexodus626 Před 4 lety

    Thank you))))

    • @CalebMarting
      @CalebMarting  Před 4 lety

      No worries! I was happy that I got it working so I'm glad it is useful to someone else too