Page 10 of 13 FirstFirst ... 789101112 ... LastLast
Results 91 to 100 of 122
  1. #91

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550


    Quote Originally Posted by red_horse View Post
    Gagamit lang na ug ethernet module (ENC28j60) sir.
    Maka save ug small na webpage sa PIC.
    You can then control your PIC gamit sa browser sa PC, laptop, android, iphone, etc.. through LAN, WIFI or Internet!
    Dali lang if maggamit ug MikroC kay sayon lang iya ethernet libraries.
    If only pwedi gam-on nako usob ako thesis, gamit jud unta ko ug ethernet module.
    bro, ato nya nang i-business... hehehe.. Home Automation.. ^_^

  2. #92

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    ^ Kulang pa sa capital bossing.
    Need pa ug source of income para ma supportahan ang hobby sa PIC microcontrollers.

  3. #93

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Quote Originally Posted by timzk701 View Post
    bai, patabang tiwas,

    @bro red_horse, bai maglisud ko simulate kay wla man mi data cable na naa RS232 ang tumoy, unya, ako lang sah g.combine ang duha nmu ka code na ghatag, with ATcommands na, basig mudagan na xa ba,


    ang Specific project jud namu kay,


    :> some of the PORTD kay switching on/off (max 3sec) mao ra jud na, dayun ang CP sa PIC, if mkarecieve ug "1 on" it will turn on for 3seconds, dayun off napud, same sa other ports, ang hardware namu ok na tanan, naa mi gisuwayan na code but we are using USART but sa ghatag ni red_horse UART mao galibog ko, but anyway, kung kinsa lang mkahelp nko ani nga problem please help me, here is our working code nga ang CP sa PIC mutext sa akoang CP,



    ---------------------------------------------------------------------------------------------------

    void init_sms();
    void init_sms_send();
    void set_ME();
    void delete_sms();
    void send_sms();

    void main(){

    ADCON1 = 0X06; //Analog to Digital Conversion

    TRISC.F6 = 0; //set direction of PORTC6 as output -- TX -- transmitter
    TRISC.F7 = 1; //set direction of PORTC7 as input -- RX -- reciever

    TRISD = 0; //Set PORTD as Output
    TRISE = 0; //Set PORTE as Output
    Usart_Init(9600);

    while(1){
    PORTD=0 ;
    delay_ms(2000);
    PORTD=1 ;
    init_sms();
    init_sms_send();
    set_ME() ;
    send_sms();

    delete_sms();
    delay_ms(5000);
    }


    }

    void init_sms(){
    Usart_Write('A');
    Usart_Write('T');
    Usart_Write(0x0D);
    Delay_ms(500);
    Usart_Write('A');
    Usart_Write('T');
    Usart_Write('+');
    Usart_Write('C');
    Usart_Write('M');
    Usart_Write('G');
    Usart_Write('F');
    Usart_Write('=');
    Usart_Write('1');
    Usart_Write(0x0D);
    Delay_ms(500);
    }
    void init_sms_send(){
    Usart_Write('A');
    Usart_Write('T');
    Usart_Write(0x0D);
    Usart_Write(0x0A);
    Delay_ms(1000);

    Usart_Write('A');
    Usart_Write('T');
    Usart_Write('+');
    Usart_Write('C');
    Usart_Write('M');
    Usart_Write('G');
    Usart_Write('F');
    Usart_Write('=');
    Usart_Write('1');
    Usart_Write(0x0D);
    Usart_Write(0x0A);
    Delay_ms(1000);
    }


    void set_ME(){
    Usart_Write('A');
    Usart_Write('T');
    Usart_Write('+');
    Usart_Write('C');
    Usart_Write('P');
    Usart_Write('M');
    Usart_Write('S');
    Usart_Write('=');
    Usart_Write('"');
    Usart_Write('M');
    Usart_Write('E');
    Usart_Write('"');
    Usart_Write(0x0D);
    Delay_ms(1000);
    }


    void delete_sms(){
    Usart_Write('A');
    Usart_Write('T');
    Usart_Write('+');
    Usart_Write('C');
    Usart_Write('M');
    Usart_Write('G');
    Usart_Write('D');
    Usart_Write('=');
    Usart_Write('1');
    Usart_Write(0x0D);
    }


    void send_sms(){

    Usart_Write('A');
    Usart_Write('T');
    Usart_Write('+');
    Usart_Write('C');
    Usart_Write('M');
    Usart_Write('G');
    Usart_Write('S');
    Usart_Write('=');
    Usart_Write('"');
    Usart_Write('0');
    Usart_Write('9');
    Usart_Write('3');
    Usart_Write('2');
    Usart_Write('6');
    Usart_Write('4');
    Usart_Write('1');
    Usart_Write('8');
    Usart_Write('5');
    Usart_Write('3');
    Usart_Write('1');
    Usart_Write('"');
    Usart_Write(0x0D);
    Usart_Write(0x0A);
    Delay_ms(1000);

    Usart_Write('O');
    Usart_Write('K');
    Usart_Write('!');

    Usart_Write(0x1A);
    Usart_Write(0x0D);
    Usart_Write(0x0A);
    }
    -----------------------------------------------------------------------------
    imu ta ni gibuhatan ug function ang tanan usart_Write. arun limpyo2 ang code. hehehe

  4. #94

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    asa diay ka skwela TS?

  5. #95

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Quote Originally Posted by jekjek.rubi View Post
    imu ta ni gibuhatan ug function ang tanan usart_Write. arun limpyo2 ang code. hehehe
    wala nako naka-huna2 ana bai. gadali2 naman gud ko aning mga tayma. clutch kaau pagkahimu sa amo thesis. hahaha
    nakahinumdom nuon ko sa mga walang-tulugan-nights ani da. wew =)

  6. #96

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Quote Originally Posted by krisaquino12345 View Post
    asa diay ka skwela TS?
    sa usc-tc ko bai. batch 2012 =)
    ikaw bai? ece pud ka?

  7. #97

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Naapani..? kay mo help unta ko gamay.... kutob sa makaya...

  8. #98

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Quote Originally Posted by homermike View Post
    Naapani..? kay mo help unta ko gamay.... kutob sa makaya...
    Ni graduate na si TS bro. hehe

  9. #99

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Quote Originally Posted by red_horse View Post
    ^ PIC18F46K20 ako gamit ana sir.
    Ridiculously large jud ang RAM/ROM.

    PIC18F46K20 specs

    But much cheaper sa 877A.




    Gagamit lang na ug ethernet module (ENC28j60) sir.
    Maka save ug small na webpage sa PIC.
    You can then control your PIC gamit sa browser sa PC, laptop, android, iphone, etc.. through LAN, WIFI or Internet!
    Dali lang if maggamit ug MikroC kay sayon lang iya ethernet libraries.
    If only pwedi gam-on nako usob ako thesis, gamit jud unta ko ug ethernet module.
    boss pilay palit nimo aning ENC28j60 module?

    daghang salamat

  10. #100

    Default Re: Need help: MikroC/MikroC Pro Compiler + PIC18F4550

    Quote Originally Posted by blaklist25 View Post
    boss pilay palit nimo aning ENC28j60 module?

    daghang salamat
    https://www.istorya.net/forums/everyt...ng-thesis.html

  11.    Advertisement

Page 10 of 13 FirstFirst ... 789101112 ... LastLast

Similar Threads

 
  1. NEED HELP: Suzuki Raider J Pro-Modifications
    By PEDR0 in forum Automotive
    Replies: 21
    Last Post: 07-19-2011, 01:42 PM
  2. Replies: 15
    Last Post: 07-17-2010, 04:58 PM
  3. Need help from the pros..
    By lingkwyz in forum Programming
    Replies: 5
    Last Post: 10-06-2009, 03:55 PM
  4. Need help with XP pro
    By tracktrix in forum Software & Games (Old)
    Replies: 3
    Last Post: 06-20-2007, 11:11 AM
  5. mga WIN xp pros, i need help..:)
    By clarkhkent in forum Computer Hardware
    Replies: 10
    Last Post: 05-17-2006, 12:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top