USB to send ASCII characters to PC


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1

    Default Re: USB to send ASCII characters to PC

    Do a search for USB keyboard emulator, there are a couple of threads - here is one http://www.picbasic.co.uk/forum/showthread.php?t=8291, once you get the keyboard working you can the take the data from RFID and put it into a modified keyboard routine.

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172

    Default Re: USB to send ASCII characters to PC

    Thank you both. Those info are enough to get me started.

    Ioannis

  3. #3

    Default Re: USB to send ASCII characters to PC

    Perhaps you could use one of the three 1 bit outputs NumLock, CapsLock and ScrollLock to implement flow control for your hardware.
    George

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172

    Default Re: USB to send ASCII characters to PC

    George,
    I do not understand where flow control is needed.

    Ioannis

  5. #5

    Default Re: USB to send ASCII characters to PC

    As you will be creating another keyboard, any output will be sent to what ever window has focus.
    George

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172

    Default Re: USB to send ASCII characters to PC

    Yes, the focus is a thing that bothers me and I wish I knew a way to deal with it.

    If for any reason (and windows has a lot, I am sure) the focus is lost, data entry is lost too...

  7. #7

    Default Re: USB to send ASCII characters to PC

    Are you writing a windows app? If so you can use those control lines to allow your hardware to tx. BTW hope I'm not teaching you to suck eggs but although you might assume that pressing CapsLock etc. turn on the LED on the keyboard, in fact all it does is set a modifier bit and the keyboard driver sends a signal to operate the LED.
    George

Similar Threads

  1. Replies: 4
    Last Post: - 1st December 2016, 13:32
  2. Search needs to allow fewer than 4 characters
    By J. Mark Wolf in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st March 2011, 02:33
  3. Send data to PC USB
    By konter in forum Off Topic
    Replies: 2
    Last Post: - 18th December 2009, 22:57
  4. Only the first 8 characters.
    By timseven in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd September 2009, 02:43
  5. ascii characters to hex
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 26th January 2006, 05:06

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