USB to USB flash Drive File Copier


Closed Thread
Results 1 to 40 of 223

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    ive been connecting that pin(rs#) to the ground using a push button. still nothing happend...no lights from the LEDs.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by newbie View Post
    ive been connecting that pin(rs#) to the ground using a push button. still nothing happend...no lights from the LEDs.
    And it gets to high state by . . . a Pullup ? WPU ? Fear ? Which is to ask, can it get there ? Or is it locked to reset in perpetuity ?
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    And it gets to high state by . . . a Pullup ? WPU ? Fear ? Which is to ask, can it get there ? Or is it locked to reset in perpetuity ?
    are you suggesting to try pullup instead of pull down? done that...didn't work..

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by newbie View Post
    are you suggesting to try pullup instead of pull down? done that...didn't work..
    If I understood you correctly, and I am not sure I did, your push button switches ground the ports. If that is true, then yes, a pull up resistor, either internal (wpu) or external would seem to be in order. If your push buttons make the ports go high, then a pull down resistor would be required.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The VDIP2 might be different but on the VDIP1 the reset pin is left floating when not in use. Seems strange yes but....

    Sounds like a bad conection or the magic smoke got out.
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    i tried what joe said and used a pull up resistor,. still nothing happend.. that made me hopeless about my module and began thinking that mackrackit was right..may be magic smoke did got out. so i ordered another vdip2 module and its on its way here..

    for the mean time, i'm in the middle of programming the push buttons for browsing the files. how do i program the buttons to execute the command only after releasing the button from being pressed. the reason i want it that way is because if i execute the command(e.g. scrolling the lcd with the file names) while the button is being pressed,some files names would be skipped due to very quick execution.

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    If the button pin is pulled LOW in an idle state ,active HIGH. You could use WHILE/WEND.
    Code:
    WHILE
    BUTTON  = 1
    DO SOMETHING
    WEND
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  4. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 22:40
  5. PICs and USB Flash Drives
    By The Master in forum USB
    Replies: 2
    Last Post: - 23rd October 2007, 10:23

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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