Page 11 of 13 FirstFirst ... 8910111213 LastLast
Results 101 to 110 of 122
  1. #101

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


    Mga master patabang ta ko....
    ako problem ba kai, naa mi project ron, amo project kay USART gamit kay PIC16f877 using Visual C# interface ug mikroC nya ang Simulation kay sa Proteus nya serial ang gamiton........ wa gyud ko Idea ani unsa-on ni pag interface...... kay kami ra pa-pangitaon
    Pero kabalo nako sa basic unasaon pag program anang PIC16f877 ug mga feature nya.... ang ako unta buhaton ba kay mag himo ko ug GUI using Visual C# nga naay button para mo Light ang LED mga duha lng ka LED gud... once mo press ko sa button1 mo Light/on ang LED... hope naa maka tabang nako mga sample gud lng.. basic rakaau cgruo ni ako Problem para ninyo mga Master.... THank you daan.... ^^,

  2. #102

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

    Quote Originally Posted by Artjan View Post
    Mga master patabang ta ko....
    ako problem ba kai, naa mi project ron, amo project kay USART gamit kay PIC16f877 using Visual C# interface ug mikroC nya ang Simulation kay sa Proteus nya serial ang gamiton........ wa gyud ko Idea ani unsa-on ni pag interface...... kay kami ra pa-pangitaon
    Pero kabalo nako sa basic unasaon pag program anang PIC16f877 ug mga feature nya.... ang ako unta buhaton ba kay mag himo ko ug GUI using Visual C# nga naay button para mo Light ang LED mga duha lng ka LED gud... once mo press ko sa button1 mo Light/on ang LED... hope naa maka tabang nako mga sample gud lng.. basic rakaau cgruo ni ako Problem para ninyo mga Master.... THank you daan.... ^^,
    si red_horse na maka tabang ana.. hehehe..

    PM red_horse bai..

  3. #103

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

    ^ Hehehe suwayan lang nato ni.

    @Artjan,
    Sayon lang na bro since from PC to PIC ra man ang communication.
    You just have to send an ascii character from your C# program then send via serial port or USB-to-serial cable sa cdr kong..
    Your serial is then connected to a max232.

    About the code, searching google would give you a lot of result. Try googling "communicating with serial port in C#".
    VB6 and VB.net pa man gud ako nagamit, I still have not tried C#.
    But a lot of people said na mas sayon ang C#.

    The programming on the PIC side is easy.
    Please take a look at this,


    Gamit nako ana is 18F887 because it is better.
    You can easily port it to the mcu you are using coz they are almost the same and C ang gamit.

  4. #104

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

    Quote Originally Posted by Artjan View Post
    Mga master patabang ta ko....
    ako problem ba kai, naa mi project ron, amo project kay USART gamit kay PIC16f877 using Visual C# interface ug mikroC nya ang Simulation kay sa Proteus nya serial ang gamiton........ wa gyud ko Idea ani unsa-on ni pag interface...... kay kami ra pa-pangitaon
    Pero kabalo nako sa basic unasaon pag program anang PIC16f877 ug mga feature nya.... ang ako unta buhaton ba kay mag himo ko ug GUI using Visual C# nga naay button para mo Light ang LED mga duha lng ka LED gud... once mo press ko sa button1 mo Light/on ang LED... hope naa maka tabang nako mga sample gud lng.. basic rakaau cgruo ni ako Problem para ninyo mga Master.... THank you daan.... ^^,


    hi bro Artjan

    using System.IO.Ports;

    --> very essential for your serial application. Don't forget to catch Exception to avoid program malfunction.

    IO.Streams lng na siya bro. Stream ka ug serial data from your serial port. Naay library ang C# anang streaming sa Serial Port.

    naa diri ang full API support for your reference. way too big to discuss here
    link---> MSDN Library

    might as well consider usb communication bro using HID profile if naa pa kay time sa project nimo. hehe

    hope naka help ko gamay. peace!


  5. #105

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

    hint lng pud bro Artjan

    // Create object, @params COMx as COM port number and the extra hardware flow control configs.
    SerialPort socket_call = new SerialPort("COM1", 9600, Parity,None, 8, StopBits.One);

    ...

    then,

    // Inside your button_Click,
    // use object to start sending data stream
    socket_call.Open();
    socket_call.Write("Led1_ON");
    socket_call.Close();

    you may want to use a simple 1~2 counter para one button imong gamit on and off or create another button to turn off the led.


  6. #106

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

    Salamat kaau tanan ni tabang mga Master....
    Ako sa ni testingan....inyo mga gipang tudlo nako......
    mangutana lng ko kung naa ko malibgan mga Master...

  7. #107

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

    naa koy na search nga tutorial mga Master ba libog lng kay deli man gud english speaker...
    naa ko pangutana ninyo mga Master unsa diay nang Vertual Serial Port Driver 6.9 by Eltima Software master kinahanglan gyud na siya pra maka simulate ka?

    Mao ni link sa Tutorial mga Master ai:
    Interfacing C# GUI, MikroC Pro, Serial Port & Proteus - YouTube

  8. #108

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

    Nakasuway na diay ka ani Master?
    Master unsa diay nang Vertual Serial Port Driver 6.9 by Eltima Software master kinahanglan gyud na siya pra maka simulate ka sa proteus? Mao ni Link ay: Interfacing C# GUI, MikroC Pro, Serial Port & Proteus - YouTube

  9. #109

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

    Dili ko master hah. Pareha lang ta newbie. Maybe nakauna lang ko nimo ug one week. Hehe. If wa jud ka hardware yah you really need it. Gamiton na sya para maka communicate imong C# program sa imo simulation sa proteus. Bali mo open na sya ug virtual na serial port. So basically mao na sya'y imo serial cable from your pc na i-connect sa padung sa PIC. naka try nako ana, very useful kaau na. Nalimot nako atong ako gigamit na virtual port SW. Di man gud laptop ako gigamit ron bossing, that is why daghan typo, hehe. Tommorow i'll give you the name sa SW ako gigamit.

  10. #110

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

    if mag PC to PIC mo. Gamit nalang mo ug DCU11 cable. 120 ra ang price sa DCU11.

  11.    Advertisement

Page 11 of 13 FirstFirst ... 8910111213 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