Jump to content

olegator

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by olegator

  1. Wow! Really time is big spiral 

    10 years ago, i've created the map software with tile engine for popular in that times Symbian phones - http://my-symbian.com/forum/viewtopic.php?t=22983&postdays=0&postorder=asc&start=0

    There was CPU arm9 with 150-200Mhz clock freq, and it was enough for smooth decoding png/jpg tiles, then rendering them in real time and smooth scrolling. Therefore, your project have good chances too success - STM32F469i has a better performance and more RAM, than that old smartphones.

    So, if you have any questions about tile map engine - you are welcome to ask it here, i'll try to help 

     

     

  2. Unfortunately i've broke my board with ST7735, and right now can't continue test it. Last time, when i seen it, driver was working fine and stable and seems usefull for 99% cases.

    But pixel reading and power control still not implemented   So, i can make right now pull request with current version.  When i'll repair board, i can make additional request with pixel reading and power control.

  3. Hi Joel,

    Thank you for feedback. I am also happy to hear it :)

    Yes, i am planning to selling hardware, and even already started production of first small test batch. My manufacturer is promising, what it will be ready in ~4 weeks. Pls be patient  
    Right now there few prototype boards, which i have assembled myself.

    IoT is just modern word, which actually can be replaced with classic "embedded device with internet connectivity". 

    8 hours ago, Joel Bodenmann said:

    May I ask what your considerations were to choose this microcontroller at the end? As far as I know there are Cortex-M4 based STM32F4 versions available with the same package. Just a tiny bit more expensive but with two or three times the performance (depending on the application).

    You right, STM32F405RGT6 is in the same package (and even probably can be used without pcb changes)  - but it's more expensive. The price difference between STM32F105 and STM32F405 is $5. $5 is ~%15 of total device cost. It is pretty significant.
    Yes, Cortex M4 is 3x more powerful, and have more memory, but in my device architecture the STM32 is co-processor, which role is handle peripherals and audio encoding/decoding. Cortex M3 performance is enough for this tasks.

    Btw, user applications and uGFX are running on ESP8266, which is 160Mhz clocked (~200DMIPS - which is near with STM32F405 performance), and have 4Mb of flash. 

    9 hours ago, Joel Bodenmann said:

    This is amazing! I didn't know that the µGFX-Studio would already be advanced enough to use it for something like this.

    Main difficult is in environment setup, and planning application architecture. So, if uGFX studio will offer some applications templates (e.g. like my sample), then it will be easy for any users to do that )

     

    9 hours ago, Joel Bodenmann said:

    Too bad that the current version is still somewhat limiting and doesn't offer all available widgets. We need to get the new µGFX-Studio v0.2 out as soon as possible!

    Agree! I am wating for it :)

     

  4. Hi,

    At the end of 2014, then esp8266 has been just arrived, i decided to make universal IoT device with speech recognition, speaker, screen and set of another useful peripherals
    It's core is esp8266 - very cheap SoC with built-in WiFi and very strong community support. I hope, you knows about it. Unfortunately esp8266 has few pins and ports, so it's need an companion MCU for peripherals handling, and i got stm32f105rbt8 for this purposes.
    As final stage of development i looked to GUI library. I have tried big set of alternatives, but finally found, that uGFX is the best one ;) 

    Here is some videos.

    All GUI of sample was created and edited with uGFX studio, and is working in Arduino-esp8266 environment without any "hands" editing of uGFX Studio generated c/h files. It's big advantage: Possible to edit GUI at any time in uGFX studio, then just press "Generate" button in uGFX studio, then simple rebuild&deploy project, and see GUI changes. True WYSWYG :) 

    Here is github repo with sample project.
    https://github.com/wiieva/examples/tree/master/wiieva-intro

    Schematics are here:

    https://github.com/wiieva/schematics

     

     

  5. Here is some suggestion:

    1. SDL Driver requires os preinitialization staff. So:
    1.1 Check, that makefile contains: GFX_OS_PRE_INIT_FUNCTION=sdl_driver_init
    1.2 Make sure, that function sdl_driver_init really called. Just add fprintf to stderr in begining of sdl_driver_init
     
    I do not have beaglebone, and can't test it myself. BTW, Google find next topics:
    http://forums.libsdl.org/viewtopic.php?p=43982&sid=c7877958a1b5e386fdaabcec36f6b8da
    http://forums.libsdl.org/viewtopic.php?p=43940&sid=05d81b018757f5170e952f34c2e7cf2a
    There are posts there, that SDL2 does not support BBB. Can't confirm or disconfirm this.
    It's sad. For example SDL2 and uGFX SDL2 driver is working very well on RPI 2.

  6. sdl-config is tool which prints CFLAGS needed by project for building and linking on host environment. It's working only for host build.

    For cross compiling you have to replace sdl-config with
    CFLAGS += `<platform-tripple>-pkg-config sdl2 --cflags --libs`

    Or just manually add necessary flags
    CFLAGS += D_THREAD_SAFE -I<bb_userland_path>/include/SDL2 -L<bb_userland>/lib -lSDL2

    All paths are for local machine, do not carry about files placement on target machine, while building. Just give compiler chance to find them to build binary

    On target machine only.so files needed. Usually can be located in  /usr/lib or /usr/local/lib

  7. Hi Joel,

    Of course i understand, that GUI editing requires GUI :)  I talk just about action "Generate".
    Tool would convert .ugfx project file and resources to set of .c and .h files. So it will do exactly that work, which do button "Generate" in uGFX studio. It assumes, that .ugfx file is already created by uGFX studio.

    For example it can be called with arguments:
    ugfx-codegen <ugfx_file_name>.ugfx -o <output dir> 

  8. Hi

    I am developing GUI for my application with uGFX studio for few weeks, and have some thoughts for next version of studio. Here they are:

    1. Dedicated command line tool for code generation. Will be great, if this tool will be opensource. I think, that this is is serious step to use uGFX in production projects, because it helps remove auto generated files from source tree, and enable users do project specific customization autogenerated code.
    1.1 Relative path to bitmap and other resource files. Currently uGFX studio stores absolute path to files in ugfx file. 
    2. Setting size/position/parent for each GUI page.  Example use case: 
    - Main page: application frame with common controls (e.g. status bar, navigation bar) with size of screen and position 0,0. 
    - Other pages are nested containers to main frame
    3. Option to convert and store bitmap images in device friendly RGB565 format with 32 bit alignment. This allows blit images directly from ROM to screen with hardware DMA or FIFO acceleration without expensive intermediate converting. (Of course this format requires support from uGFX library, but it seems it can be simple implemented)

  9. Actually current problem was - the flicker. When i look to the display from some angles - image is flickering.

    Finally found the solution - increase refresh rate in normal mode. It seems - flicker is disappeared. 


  10. Right now i just copied init sequence from adafruit, and i am not very happy with image quality.
    Of course display is cheap, but may be it is possible to improve it (e.g. refresh rate, voltage settings, or smth else). Will deep read st7735 datasheet ;)

     

×
×
  • Create New...