• AVR Freaks

Hot!PIC18F2550 USB Module

Author
john0bravo
Junior Member
  • Total Posts : 94
  • Reward points : 0
  • Joined: 2017/05/30 00:40:01
  • Location: 0
  • Status: offline
2019/09/21 00:53:51 (permalink)
0

PIC18F2550 USB Module

Hi, 
 
I guess PIC18F2550 belong to PIC 8 family having USB Full Speed. I need to send streaming data from PIC18F2550 to PC through USB. Is there any working example which help for implementation ? How much at max sample per second we can receive in the PC with USB Full Speed on PIC18F2550. 
#1

2 Replies Related Threads

    katela
    Super Member
    • Total Posts : 1412
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: PIC18F2550 USB Module 2019/09/21 02:52:02 (permalink)
    0
    Yes, the PIC18F2550 is an 8-bit PIC if that's what you meant by PIC8 family. It has full speed USB. But I wouldn't use it for new designs as it's too old. There are newer, cheaper and better alternative like the PIC18F25K50 among others depending on your needs.
    There ready made sample projects in MLA: https://www.microchip.com...aries-for-applications
    You may consider the USB CDC or HID examples.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
    #2
    john0bravo
    Junior Member
    • Total Posts : 94
    • Reward points : 0
    • Joined: 2017/05/30 00:40:01
    • Location: 0
    • Status: offline
    Re: PIC18F2550 USB Module 2019/09/21 06:57:20 (permalink)
    0
    I have MPLAB X IDE 5.25 version on windows 10 machine with compiler libraries for PIC XC8. Now I have downloaded and installed current version of Microchip Libraries for Applications (MLA). I also have installed MPLAB Code Configurator (MCC) through plugin. I have also downloaded the device libraries "pic10-pic12-pic16-pic18-1.77.0.mc3lib" for PIC 18. How to add them ?
     
    My project include to sample the analog data at the rate of 50 kilo samples per second and send it to PC over USB full speed with 10 character string with each sample. 
     
    12 bytes x 50 kilo = 600 kilo bytes = 6 Mega bits per second + protocol overhead  
     
    Which USB class should I consider ? 
    Do I need any additional IC with PIC 18F2550 or PIC 18F25K50 ? 
    Is there any MPLAB USB software for PC to download the PIC data ? 
     
    post edited by john0bravo - 2019/09/21 07:29:41
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5