Hi! Basic questions about PIC18F2550-I/SP


Closed Thread
Results 1 to 6 of 6
  1. #1
    LuuMu's Avatar
    LuuMu Guest

    Question Hi! Basic questions about PIC18F2550-I/SP

    Hi!

    I'm very new to using pics and I'm doing a school work about this, the idea of my work is this: that I can in windows press a button and then it will use USB to communicate with PIC18F2550-I/SP and then it will but a red LED on and when I press other button other led will go on and when I press other button the leds will both blink on and off.. and so on.. (I hope you understand what the point of my work is anyhow..) i have problems;

    1. I don't know how I can make the buttons,
    what programs? what code? in Win XP?

    2. Does PIC18F2550-I/SP use what code?
    what hardware I need so I can upload the code in it?

    I have been looking information for a long time but for some reason I cant find those, I think the reason for it may be the fact I'm a Newbie.

    I thank all of you hwo are willing to help me.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185

    Default

    Hi LuuMu,


    1. Why do you need to use PIC18F2550-I/SP ? just because of USB port?
    2. Can you not use RS232? Your PC has Com1, Com2 etc. serial ports as you know. Would be a lot easier.
    3. Did you check Bruce's WEB site for PC Comm.. examples with PICs? etc.


    Regards.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Jan 2006
    Location
    Ottawa, Canada
    Posts
    11

    Default

    There is a neat USB data acquisition project using the PIC 18F4550. The project details can be found at: http://www.sixca.com/eng/articles/usbdaq/index.html

    - 8 Digital output
    - 8 Digital input
    - 8 Analog output
    - Firmware examples with source for C18 Compiler
    - Delphi 6 example with source

    Hope this helps,

    Marc

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    1. Get a PIC compiler : Melabs PicBasic Pro if you want to have our support
    2. Get a PIC programmer : Microchip ICD-2 (or else) or build your-own freebies like Ic-Prog, WinPicProg...
    3. Grab a code editor like Mecanique Microcode Studio (it comes with PBP anyway)
    4. Use Mecanique EasyHid to create the USB PBP template and PC-Software template
    5. Get a Pc-Software compatible with Mecanique EasyHid
    6. Begin small project, get familiar with PIC, get familiar with PC-Software
    7. Enjoy and have fun!

    What i use most of the time.
    1. Compiler : Melabs PicBasic Pro v2.47
    2. PIC Programmer : Bk Precision BK844a
    3. Code Editor : Mecanique MicroCode Studio Plus
    4. Mecanique EasyHid
    5. Visual Basic 6

    HTH
    Last edited by mister_e; - 12th September 2006 at 21:51.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    LuuMu's Avatar
    LuuMu Guest

    Thumbs up Thanks!

    I thank you all for you help but I need to talk whit my teacher about this RS 232 thing and the pic and after that I think I will have couple more questions so I hope you are ready to help me more and I havent got a change to talk whit my teacher so thats why I havent reply to this thread untill now I hope you still have the str to help me more and thanks again!

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    Yes we will be ready. We are here for that after all
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Basic USB question(s)
    By muddy0409 in forum USB
    Replies: 1
    Last Post: - 20th May 2009, 21:19
  2. Indexer not indexing...a basic PBP problem??
    By jellis00 in forum General
    Replies: 8
    Last Post: - 24th March 2009, 16:53
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. using AND as an IF statement
    By dw_pic in forum mel PIC BASIC
    Replies: 27
    Last Post: - 8th June 2006, 18:05
  5. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts