Building smart control operating system for embedded world

Video created by elbeshlawy.mohammed on Mar 25, 2017

    Based on st cortex m7 kit stm32f746 discovery I started building smart operating system for embedded world design that will enable all electronic fans and non smarter to be smarter designers in few seconds and that will help people who have great ideas but with few knowledge about electronics and electricity and build smart machines and robots with maximum efficiency like big companies

    Main idea

    Is to use latest technology with simplified system and easy language and at same time use all microcontroller power

    By building all functions for internal peripherals and call them in easy way

    And add ready made graphics and visual controls and add ready made control functions like PID control and CNC interpreter

    Now

    I don’t care with display driver and visual controls and other complicated drivers for SD card USB LAN .. ect  

    Just I care with the idea I want to build

    You just imagine in ten lines you can build smart control system that read from sd card and log data and control motors and actuators

     

    // SAMPLE PROJECT 

    def a,b as single
    def c,S as integer
    def Cdata[50] as single
    def i,j,k,HBAR as byte
    Font(0,16,24,Font16_24)
    Theme(1023,0,65526,65535,31727,31727,4080)
    PBAR(0,65535,2047,2016,450,60,150,20,1)
    PBAR(1,65535,63519,63503,285,200,150,20,0)
    chart(0,10,8,65535,0,2,180,70,250,120)
    TextBox(0,0,65535,0,16,24,0,0,0,2,225,35,90,30,0)
    TextBox(1,0,65535,0,16,24,0,0,0,2,335,35,90,30,1)
    Button(0,200,195,80,25,Reset)
    Button(1,5,195,80,25,ABDALLA)
    Button(2,100,195,80,25,MOFF)
    Label(0,170,40,55,25,1,ADC)
    DialGAUGE(0,10,50,100,100,65526,65535,60026,31727)
    HSCROLL(0,150,235,250,30,0,65535,100,1000)
    j=49
    QE_ENABLE(0)
    start
    pin_SET( 2)

    ADC_READ(a)
    QE_COUNT(0,C)
    QE_SPEED(0,B)
    TB_Update(0,02.2,a)
    TB_Update(1,04.0,C)
    i=a*100/3.3
    B=B/5
    DGAUGE_UPDATE(0,B)
    PBAR_UPDATE(0,i)
    PBAR_UPDATE(1,i)
    //Print_num(63488,16,410,35,i,0)
    //for (i=0,i<<50)
    //j=i+1
    //cdata[i]=cdata[j]
    //next
    //cdata[49]=a // adc value
    cdata[j]=a
    j=j-1
    if(j<=0)
    j=49
    endif
    pin_reset( 5)
    chart_update(0,2016,50,4,0,cdata)

    b_check(0,k)
    if(k==1)
    QE_RESET(0)
    k=0
    endif

    tb_check(1,k)
    if(k==1)
    KeyPad(C)
    QE_SET(0,C) // set encoder0 value
    k=0
    endif


    b_check(1,k)
    if(k==1)
    PWM_ON(1,1,1000,10,0,0)
    k=0
    endif
    b_check(2,k)
    if(k==1)
    PWM_OFF(1)
    k=0
    endif

    HScroll_Update(0,HBAR)
    S=HBAR*30
    PWM_UPDATE(1,S,10)
    repeat

     

     

    Moh'd Beshlawy - Building smart control operating system...