CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2024
    Posts
    3

    Post How to get coin acceptor pulses from serial port?

    Can someone help me how to get coin acceptor pulses from serial port (RS232 to be exact)
    I dont know what pin to put the signal wire of the coin acceptor to the serial port.
    I want is a simple program to display an exact value of coin inserted from the acceptor and shows the same value to the text box

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,857

    Re: How to get coin acceptor pulses from serial port?

    You'll probably receive more replies if you post on this site's sister site:
    https://www.vbforums.com/forumdispla...-6-and-Earlier
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  3. #3
    Join Date
    Nov 2018
    Posts
    140

    Re: How to get coin acceptor pulses from serial port?

    > Can someone help me how to get coin acceptor pulses from serial port (RS232 to be exact)
    > I dont know what pin to put the signal wire of the coin acceptor to the serial port.
    RS232 needs a minimum of 3 wires connected - or possibly 2 if it's purely one-way traffic.

    Post the URL of the manual from the manufacturer of the coin acceptor.

  4. #4
    Join Date
    Jul 2024
    Posts
    3

    Re: How to get coin acceptor pulses from serial port?

    Quote Originally Posted by salem_c View Post
    > Can someone help me how to get coin acceptor pulses from serial port (RS232 to be exact)
    > I dont know what pin to put the signal wire of the coin acceptor to the serial port.
    RS232 needs a minimum of 3 wires connected - or possibly 2 if it's purely one-way traffic.

    Post the URL of the manual from the manufacturer of the coin acceptor.
    I dont have see any manual from the manufacturer. But as far as I know, some are using the same coin acceptor connected to RS232 and show pulses on VB6

  5. #5
    Join Date
    Jul 2024
    Posts
    3

    Re: How to get coin acceptor pulses from serial port?

    Quote Originally Posted by salem_c View Post
    > Can someone help me how to get coin acceptor pulses from serial port (RS232 to be exact)
    > I dont know what pin to put the signal wire of the coin acceptor to the serial port.
    RS232 needs a minimum of 3 wires connected - or possibly 2 if it's purely one-way traffic.

    Post the URL of the manual from the manufacturer of the coin acceptor.

    https://www.arcadexpress.com/documen...al%20CH926.pdf

    CH-9260 user manual

  6. #6
    Join Date
    Nov 2018
    Posts
    140

    Re: How to get coin acceptor pulses from serial port?

    > But as far as I know, some are using the same coin acceptor connected to RS232
    Well they're not plugging it directly into RS-232, that's for sure.

    There is no mention of RS-232 (or connection to PC) in that manual.

    There might be other coin acceptors that have a digital output like RS-232, but this isn't one of them.

  7. #7
    Join Date
    Jul 2024
    Posts
    1

    Re: How to get coin acceptor pulses from serial port?

    You'll need to connect the coin acceptor's signal wire to the RX (receive) pin of your RS232 serial port.

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
  •  





Click Here to Expand Forum to Full Width

Featured