PIC18xxx to USB device ?


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170

    Default

    Why not read the smart card directly? Don't use a reader at all?

    I've seen an example by Myke Predko (sorry on spelling if wrong), but he used his own BASIC language. He has one example using FAT16, and another just doing generic access.

    I'm still looking for an example using PIC Basic Pro though. I wanted to do this myself.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,170

    Default

    Or, an acrobatic way around the PIC limitation of being only a slave:

    - connect PIC to PC as USB slave.
    - connect card reader to PC as USB slave.
    - have PIC tell PC to access card reader and send info back to PIC.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Sep 2004
    Location
    Tallinn, Estonia
    Posts
    42

    Default

    Can't read it directly because ia wanted to have an industrial reader (nice look etc, you know). One option is of course replacing industrial readers electronics with mine (i developed code that reads ID-card directly) but ... i was just wondering if there are easier ways.

Similar Threads

  1. USB Bootloader.
    By HenrikOlsson in forum USB
    Replies: 22
    Last Post: - 2nd May 2013, 02:46
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. Replies: 0
    Last Post: - 6th March 2009, 07:52
  4. USB Device Not Recognized ???
    By keymuu in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th October 2008, 00:53
  5. usb - device not recognised
    By mpardinho in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th January 2007, 17:47

Members who have read this thread : 0

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