CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2010

    Bill Acceptor Program

    Hi There

    I am brand new to the community and was hoping if someone on here could help me out with a program that I am trying to develop. Since I am pretty new to all of this and am having a hard time understanding how to go about completing this project.

    I am trying to interface with a Bill Acceptor via Serial Port. The bill acceptor sends a pulse through the serial port every time a dollar is inserted into the bill acceptor. For example, if $1 is inserted one pulse is sent, if a $5 bill is inserted 5 pulses are sent.

    I need to write a program that can update a simple text file with the number of bills that have been inserted into the machine.

    I was wondering if there would be anyway if anyone on here would be able to help me out. I have a photobooth that that I am putting into a restaurant later this week and I need to get my bill acceptor to interface before Thursday. Below is a link to a youtube video that someone has posted of the same type of Bill Acceptor program I need. Please let me know what you think as soon as possible.


    Thank you in advance for you help.
    Edit by admin: no contact info permitted on the forum, thank you
    Thank you


  2. #2
    Join Date
    Sep 2004
    Holland (land of the dope)

    Re: Bill Acceptor Program

    I need to write a program that can update a simple text file with the number of bills that have been inserted into the machine.
    How far are your with the program and what is the missing part you need help with ?

  3. #3
    Join Date
    Jul 2010

    Re: Bill Acceptor Program

    Not far at all. I'm pretty new at this and it seems that I need some help. Could someone provide what type of code would be used for a program like this?

  4. #4
    Join Date
    Oct 2006

    Re: Bill Acceptor Program

    Sending pulses via serial port? Are you meaning characters or are you meaning regular of pulses? If so I guess the signalling is thru using DTR or similar. What timing are the pulses? If they are short you would probably need to write some driver code (and not even that is 100% safe).
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here

    Get your free MS compiler here

  5. #5
    Join Date
    Mar 2011

    Re: Bill Acceptor Program

    Have your query got solved, please let me know because i have the same query and i'm having JCM DBV-302-SD bill acceptor actually i'm missing some part of the connection, i m having one cable i.e. connected to the PC through serial port. can you tell what are the requirements so that i can connect the bill acceptor to the PC. Please answer the query

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.